# Import EPS from OriginLab with ChemDraw structure into LaTeX

I am using OriginLab to create my graphs for my lab report. For that I would like to add the chemical structure of the organic compound I am analyzing, e.g. Benzene, Benzaldehyde, ...

So basically I am creating the graphs in Origin which works fine and which I can export as EPS (I coulduse another format, but I would like to use a vector grahpic format for keeping the best resultion). Origin only provides (from what I understand) EPS and PDF. PDF seems to hide the atom labels (such as H) and EPS does not show the structures at all.

I have tried importing the structures as images, embedding the strucutres directly as as .cdxml (ChemDraw native format) and export the graph in Origin as PDF and EPS.

I think the problem lies within the EPS settings or sth to do with EPS that it does not show the graphics.

What it looks like in Overleaf / TeXStudio / IrfanView:

My MWE for embeddig the graphics in LaTeX:

\documentclass[12pt,a4paper]{article}
\usepackage{graphicx,float}

\begin{document}

\begin{figure}[H]
\centering
\resizebox{\textwidth}{!}{\includegraphics{Benzol_Absorbanz_V2.eps}}
\caption{Benzol Absorbanz}
\label{fig:Benzol Absorbanz}
\end{figure}

\end{document}

• The only temporary solution I found is to export it as a .png and then include it into the .tex which is far from optimal because I would like to only have vector graphics. – Martin Dagleish Nov 21 '20 at 20:20
• I am not familiar with originlab but are you able to export it to a PDF file? If yes, you will have the desired vector graphics quality. – Diaa Nov 21 '20 at 20:41
• No pdf does not work either because the H-Atoms on my structure and my axis label seem to disappear when I use PDF. So tried all sorts of embedding the font and using other fonts but that did not seem to work as wanted. I found a way around it now. I export the graph as EPS and then add my structure on top in a vector graphic editing software (such as Inkscape). That works fine for me but is quite a inconvenience. – Martin Dagleish Nov 22 '20 at 11:49