Related to this question I am trying to generate a figure using package chemfig. Actually, my problem is that the lower part of the figure is cropped, specifically the H under the N.
This is the code:
\documentclass{standalone}
\usepackage{chemfig}
\begin{document}
\chemfig{*6(-\chembelow{\color{blue}N}{H}-(={\color{red}O})-{\color{blue}N}=(-{\color{blue}N}H_2)-=)}
\end{document}
Below, you see the figure as I got:
and as it should be:




\chemfig? e.g.\begin{chemfig}... \end{chemfig}? If so, use that and add\standaloneenv{chemfig}to the preamble. – cfr Aug 16 '15 at 14:07forest. If you are usingforest, setting\standaloneenv{foresthelpsstandaloneget the cropping etc. correct. Especially if you are usingmultibecausestandalonestarts a new page for eachstandaloneenv, which does not includeforestby default. But I don't know if there is a macro equivalent e.g.\standalonecmd{}- I've never seen this. Then again, maybe I've just not looked in the right place? – cfr Aug 16 '15 at 16:17forestso I can't compare if the problems are anywhere similar to\chembelowin this case… – cgnieder Aug 16 '15 at 16:31\chembelowso I can't either ;). This is why it was a comment rather than an answer! – cfr Aug 16 '15 at 18:57