Add example for chemfig

This commit is contained in:
Hendrik Kleinwaechter
2023-11-17 12:32:52 -10:00
parent 93fb6bce30
commit 996a6e6e47
3 changed files with 20 additions and 0 deletions

View File

@@ -39,6 +39,7 @@ At around \qty{60}{\degreeCelsius} (\qty{140}{\degF}) the microbes in your
dough start to die. There are rumors that until this happens the microbes
produce a lot of \ch{CO2}.
% Does not work
\begin{figure}[!htb]
\begin{center}
\input{figures/fig-ethanol-oxidation.tex}
@@ -46,7 +47,15 @@ produce a lot of \ch{CO2}.
acid~\cite{acetic+acid+production}.}%
\label{fig:ethanol-oxidation}
\end{center}
\end{figure}
% Works
\begin{figure}[!htb]
\begin{center}
\includegraphics{figures/fig-ethanol-oxidation-external.tex}
\caption[Acetic acid creation]{Oxygen is required to create acetic
acid~\cite{acetic+acid+production}.}%
\end{center}
\end{figure}
\begin{figure}[!htb]