Chemfig: Bond line partly passing through atoms when shrinking
Instead of having -
outside like this -(OC\ch{H3})
, put it inside like so: (-OC\ch{H3})
.
\documentclass[12pt, norsk, a4paper]{article}
\usepackage[utf8]{inputenc}
\usepackage[norsk]{babel}
\usepackage{fullpage}
\usepackage{chemfig}
\usepackage{chemformula}
\usepackage{float}
\begin{document}
\begin{figure}[H]
\centering
\schemestart
\setchemfig{atom sep=1.22em}
\chemfig{**6(-(-OH)-(*6(-=(-OGlc)-(-**6(--(-OC\ch{H3})-(-OH)-((-OC\ch{H3}))--))=\chemabove{O}{+}-))---(-[,,,2]HO)-)}
+ \ch{H2O}
\arrow(aa--ab){<=>}
\setchemfig{atom sep=1.22em}
\chemfig{**6(-(-OH)-(*6(-=(-OGlc)-(-**6(--(-OC\ch{H3})-(-OH)-((-OC\ch{H3}))--))(-[:105,1.5,,1]OH)-O-))---(-[,,,2]HO)-)}
+ \ch{H+}
\arrow(@aa--ba){<=>}[-90]
\setchemfig{atom sep=1.22em}
\chemfig{*6(=(-OH)-(*6(=-(-OGlc)=(-**6(--(-OC\ch{H3})-(-OH)-((-OC\ch{H3}))--))-O-))-=-(=O)-)}
+ \ch{H3O+}
\schemestop
\end{figure}
\end{document}