Example: Benzene ring

Published 2015-09-25 | Author: Stefan Kottwitz

In the Drawing molecules example we already saw how we can draw simple molecules.

This example uses the chemfig package for drawing the famous benzene ring. On the left side we draw it with all atoms, on the right side we draw it in a skeleton view with the name of the molecule underneath it.

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

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

Benzene ring
% Benzene ring
% Author: Stefan Kottwitz
% https://www.packtpub.com/hardware-and-creative/latex-cookbook
\documentclass[border=10pt]{standalone}
\usepackage{chemfig}
\begin{document}
\chemfig{C*6((-H)-C(-H)=C(-H)-C(-H)=C(-H)-C(-H)=)}
\hspace{2cm}
\chemname{\chemfig{*6(=-=-=-)}}{Benzene}
\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

Limited discount 50%
coupon code tDRet6Y

Creative Commons License