I came across an error when trying to incorporate a simple chemfig diagram in a document. Here is a minimal working example (the code for the diagram was generated using mol2chemfig):
\documentclass{article}
\usepackage{chemfig}
\begin{document}
\chemfig{
O% 2
=[:330]\mcfbelow{C}{H}% 1
-[:30,,,1]OH% 3
}
\end{document}
The error is 'Undefined control sequence: \mcfbelow'.
This compiles, producing the following diagram, which is not what I want.
What is intended is this, with the hydrogen directly below the carbon and the OH bonded directly to the carbon:
Any help would be appreciated.


Command \setbondstyle undefined.error so the above comment is not working. The same error has been reported previously: [https://tex.stackexchange.com/a/502610/]. I suggest reporting to themol2chemfigauthor. There has been a series of upgrades tochemfigover the past 12 months so they may not be playing nicely together. – Ross Jun 24 '20 at 12:52