Example: Pentane

Published 2015-09-25 | Author: Stefan Kottwitz

In the Benzene ring example we saw a ring molecule.

Now we use the chemfig package for drawing a big molecule, while making work easier using submoles.

The code is fully explained in the LaTeX Cookbook, Chapter 11, Science and Technology, Drawing molecules.

Download as: [PDF] [TEX]  •  [Open in Overleaf]

Pentane
% Pentane
% Author: Stefan Kottwitz
% https://www.packtpub.com/hardware-and-creative/latex-cookbook
\documentclass[border=10pt]{standalone}
\usepackage{chemfig}
\begin{document}
\definesubmol{C}{-C(-[2]H)(-[6]H)}
\chemfig{H!C!C!C!C!C-H}
\end{document}

Comments

Adding comments is currently not enabled.

There are currently 0 comments on this entry.

Features
Tags
Scientific and technical areas
LaTeX Cookbook

Cookbook

LaTeX Beginners Guide

Creative Commons License