I'm trying to write the mesomeric structures of Phenetol. Here's a short form of the code:
\documentclass[pstricks, a4paper, 14pt]{article}
\usepackage{chemfig}
\usepackage[version=4]{mhchem}
\begin{document}
\schemestart
\chemleft[
\subscheme{
\chemfig{{CH} * 6( -{CH} ={CH} -C( =[1] \charge{90=\|}{O}^{\oplus} -[7]CH2 -[1]CH3) - \charge{270=\|}{CH}^{\ominus} -{CH} =)}
\arrow{<->}
\chemfig{{CH} * 6( -{CH} ={CH} -C( =[1] \charge{90=\|}{O}^{\oplus} -[7]CH2 -[1]CH3) - \charge{270=\|}{CH}^{\ominus} -{CH} =)}
\arrow{<->}
\\ % This doesn't work :(
\chemfig{{CH} * 6( -{CH} ={CH} -C( =[1] \charge{90=\|}{O}^{\oplus} -[7]CH2 -[1]CH3) - \charge{270=\|}{CH}^{\ominus} -{CH} =)}
}
\chemright]
\schemestop
\end{document}
Apparently it looks like this:
As you can see LaTeX doesn't wrap the line. Do you have an idea how I can fix this?
14pt
is not standard font size for article, at compilation you get warning ...10pt
(default),11pt
and12pt
. Size of your formula depends on font size, You can reduce font size in formula with addng\small
or\footnotesize
after\schemestart
. However, you can increase\textwidth
by use of thegeometry
package.