I'm writing my bachelor thesis. I wanted to insert a chemical equation, but the reactant and the product are not horizontally aligned well. I found in Chemfig manual a solution to this problem but when I write \arrow(.center--.base west){<=>[\ce{H2O}]}
, TeXnicCenter returns 9 errors and in pdf document there is no equation at all. When I write only \arrow{<=>[\ce{H2O}]}
, it works well ...
I'm using TeXnicCenter, MikTeX and SumatraPDF on Windows 7. I'm a beginner with LaTeX.
Thanks for help.
\documentclass{article}
\usepackage[czech]{babel}
\usepackage{chemfig}
\begin{document}
\schemedebug{true}
\schemestart
AA
% \arrow{<=>[xxx]} % works
\arrow(.base east--.base west){<=>[xxx]}
BB
\schemestop
\end{document}
\documentclass
and ends with\end{document}
- I or someone else can copy and compile the example then as is and reproduce your issue.! LaTeX Error: File `bakalarska_prace_en.sty' not found.
because bothbakalarska_prace_en
andbakalarska_prace
are packages that aren't part of a usual TeX distribution. Are they needed for the error? If so you should provide a link where to get them. Removing them and the dots from the preamble produces the error! LaTeX Error: No \title given.
and after that! Undefined control sequence.
for\ce
... that means I have to fix quite a lot of errors before I can even try to look at your issue.babel
withczech
andchemfig
. I'll edit your example to a smaller one that reproduces the issue clearly. then your private files aren't needed any more