2

Pretty much what the title says. The molecule is not rendered if I use the pgfornament package.

Code 1:

\documentclass{standalone}

\usepackage{tikz}
\usepackage{chemfig, mhchem}

\begin{document}

\setdoublesep{3pt}
\chemfig{[:75]R-C(=[::+60]O)-[::-60]O-[::-60]C(=[::+60]O)-[::-60]R}
\hspace{3em}
\ce{H2 + O2 = 2 H2 O}

\end{document}

The figure I get is as below:

enter image description here

Code 2:

\documentclass{standalone}

\usepackage{tikz}
\usepackage[object=vectorian]{pgfornament}
\usepackage{chemfig, mhchem}

\begin{document}

\setdoublesep{3pt}
\chemfig{[:75]R-C(=[::+60]O)-[::-60]O-[::-60]C(=[::+60]O)-[::-60]R}
\hspace{3em}
\ce{H2 + O2 = 2 H2 O}

\end{document}

The figure I get is as shown:

enter image description here

I do not get any error messages when I compile. Any pointers would be helpful.

  • 1
    No problem here. Can you should your log-file? – Ulrike Fischer Apr 9 '18 at 15:07
  • I have put the log file here: pastebin.com/FtLfgtbS – mas Apr 9 '18 at 15:54
  • 1
    You have a quite old local pgfornaments.sty in /home/software/texlive/texmf-local/tex/latex/local/pgfornament. What happens if you remove this folder? – Ulrike Fischer Apr 9 '18 at 16:09
  • Thanks. That solved it. I had installed it before pgfornaments was part of main TeXLive. – mas Apr 10 '18 at 0:20
  • 4
    I'm voting to close this question as off-topic because solved by removing old local .sty file. – Troy Apr 25 '18 at 10:58

Browse other questions tagged or ask your own question.