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