Add Example chemfig

This commit is contained in:
Hendrik Kleinwaechter
2023-11-17 12:37:02 -10:00
parent 996a6e6e47
commit c987ddfa92
3 changed files with 5 additions and 3 deletions

View File

@@ -50,14 +50,16 @@ produce a lot of \ch{CO2}.
\end{figure} \end{figure}
% Works % Works
% Generate first with: cd figures && pdflatex fig-ethanol-oxidation-external.tex
\begin{figure}[!htb] \begin{figure}[!htb]
\begin{center} \begin{center}
\includegraphics{figures/fig-ethanol-oxidation-external.tex} \includegraphics{figures/fig-ethanol-oxidation-external.pdf}
\caption[Acetic acid creation]{Oxygen is required to create acetic \caption[Acetic acid creation]{Oxygen is required to create acetic
acid~\cite{acetic+acid+production}.}% acid~\cite{acetic+acid+production}.}%
\end{center} \end{center}
\end{figure} \end{figure}
% Does not work
\begin{figure}[!htb] \begin{figure}[!htb]
\begin{center} \begin{center}
\input{figures/fig-life-planet-sourdough-timeline.tex} \input{figures/fig-life-planet-sourdough-timeline.tex}
@@ -65,8 +67,8 @@ produce a lot of \ch{CO2}.
\end{center} \end{center}
\end{figure} \end{figure}
% In this case generate the graphic with pdflatex first: pdflatex fig-life-planet-sourdough-timeline-external.pdf % Works
% Then it will show up properly. % In this case generate the graphic with pdflatex first: cd figures && pdflatex fig-life-planet-sourdough-timeline-external.pdf
\begin{figure}[!htb] \begin{figure}[!htb]
\includegraphics{figures/fig-life-planet-sourdough-timeline-external.pdf} \includegraphics{figures/fig-life-planet-sourdough-timeline-external.pdf}
\caption[Sourdough microbiology timeline]{Timeline works embedded as pdf}% \caption[Sourdough microbiology timeline]{Timeline works embedded as pdf}%