Math & ScienceXymTeX

Information and discussion about LaTeX's math and science related features (e.g. formulas, graphs).
Post Reply
Wintergreen
Posts: 2
Joined: Wed May 18, 2011 1:12 am

XymTeX

Post by Wintergreen »

Hi,

after few hours trying to understand syntax and find proper expression, I decided ask for help...
I need just one figure with structural formula of 2-aminofluorene (see attachment).

If anybody could help, it would be a BIG help for me. Thank you in advance!
Attachments
2-aminofluorene
2-aminofluorene
153-78-6.gif (1.23 KiB) Viewed 3025 times

Recommended reading 2024:

LaTeXguide.org • LaTeX-Cookbook.net • TikZ.org

NEW: TikZ book now 40% off at Amazon.com for a short time.

cgnieder
Site Moderator
Posts: 2000
Joined: Sat Apr 16, 2011 7:27 pm

XymTeX

Post by cgnieder »

Well, I can't help you with XyMTeX, but if you'd use ChemFig instead, then it is easily done:

Code: Select all

\documentclass[parskip=full]{scrartcl}
\usepackage{chemfig}
\begin{document}
\chemfig{*6(=-(--[::60]*6(=-(-NH_2)=-=?-))=?-=-)}

smaller,thicker lines, customized double bonds:

\setatomsep{2em}\setbondstyle{thick}\setdoublesep{3pt}
\chemfig{*6(=-(--[::60]*6(=-(-NH_2)=-=?-))=?-=-)}
\end{document}
Attachments
7-aminofluorene.jpg
7-aminofluorene.jpg (17.94 KiB) Viewed 3015 times
site moderator & package author
Wintergreen
Posts: 2
Joined: Wed May 18, 2011 1:12 am

Re: XymTeX

Post by Wintergreen »

Thank you very much, ChemFig package looks much more intuitive than XyMTeX (at first glance, at least:)
ShinsakuFujita
Posts: 2
Joined: Wed Aug 17, 2011 9:09 am

XymTeX

Post by ShinsakuFujita »

The following is the code for XyMTeX under PostScript Mode (latex --> dvips etc.), or under PDF Mode (latex --> dvipdfmx etc.):

Code: Select all

\documentclass{article}
%\usepackage{xymtexps}   % PostScript mode
\usepackage{xymtexpdf}   % PDF mode

\begin{document}
\nonaheterov[egj{b\sixfusev[bdf]{}{3==NH$_{2}$}{e}}]{}{}
\end{document}
Post Reply