1

I have exported a chemical structure as a SVG using MarvinSketch, and included it like so:

\documentclass{article}
\usepackage{svg}
\begin{document}

\includesvg[width=0.5\linewidth]{test.svg}

\end{document}

However, the font changed from Arial to Computer Modern, and the letters were not scaled along with the structure:

enter image description here

How do I fix this?

  • There might be an option in MarvinSketch to export text as curves/paths, or otherwise you could open the svg in Inkscape and export from there. Otherwise you could try to export as pdf and include that in your LaTeX file. – Marijn Nov 1 '18 at 12:44

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.