How can I draw styrene using xymtex?

|
|
This is my first use of the package
|
|||
|
|
|
This isn't a direct answer to your question (and as such, you should accept Heiko's answer), but as R. Schumacher suggested, you can also accomplish this with the newer (and more robust) chemfig package.
|
||||
|
To complete the answer from @cfair this code will draw "exactly" your representation of the styrene molecule, including the annotation:
There is an option to control the length of the bonds
|
||||
|
|
|
XyMTeX supports the (yl) function for nested substitution.
The following examples show (1) changing font sizes,
(2) changing formula sizes, (3) changing fonts,
and (4) selection of basis skeletons ( The code adopts the PostScript mode of the XyMTeX system, which presumes the processing with dvips(k). The other modes commented out are possible to be applied.
|
|||||||||
|