Graphics, Figures & Tables ⇒ Chemical structural Formulas
Chemical structural Formulas
I was wondering if there is a package for the drawing of chemical formulas. I am currently using mhchem but this only allows the user to write the formula, but not to draw the structure of the molecule. So there is no misunderstanding I attached a picture that shows what I would like to be able to do.
Thanks for reading,
Matthias
- Attachments
-
- 4-nitrotolueen.gif (1.14 KiB) Viewed 5121 times
Learn LaTeX easily with newest books:
The LaTeX Beginner's Guide: 2nd edition and perfect for students writing a thesis
The LaTeX Cookbook: 2nd edition full of practical examples for mathematics, physics, chemistry, and more
LaTeX Graphics with TikZ: the first book about TikZ for perfect drawings in your LaTeX thesis
- localghost
- Site Moderator
- Posts: 9202
- Joined: Fri Feb 02, 2007 12:06 pm
Chemical structural Formulas
Code: Select all
\documentclass{article}
\usepackage[T1]{fontenc}
\usepackage{chemfig}
\setdoublesep{0.35700 em} % 'Bond Spacing'
\setatomsep{1.78500 em} % 'Fixed Length'
\setbondoffset{0.18265 em} % 'Margin Width'
\newcommand{\bondwidth}{0.06642 em} % 'Line Width'
\setbondstyle{line width = \bondwidth}
\begin{document}
\chemfig{*6(=(-NO_2)-=-(-CH_3)=-)}
\end{document}
Thorsten
- Attachments
-
- rtmp.png (988 Bytes) Viewed 5115 times
Board Rules
Avoidable Mistakes
¹ System: TeX Live 2025 (vanilla), TeXworks 0.6.10
Re: Chemical structural Formulas
Thanks for your help!