In the previous recipe, we already encountered formulae for molecules. Now let's see how to draw them. This means drawing a group of atoms and connecting them by lines of various kinds.
This rather complex seeming task becomes manageable using the
chemfig package. It provides a compact syntax for drawing molecules. Let's draw some:
tabularenvironment with a right-aligned column and a left-aligned one.
\chemfigcommand. Write atoms as letters and a single bond using ...