3

I'm using mathcha.io for create some figures. I exported them as svg. If I see on any browser looks perfect.

enter image description here

But, if I render this svg at tex file, all text if so thick and I can't solve this, I tried to change some properties of the file like stroke-width and others.

enter image description here

Here is example code

\documentclass{article}

\usepackage{svg}

\begin{document}

\begin{figure}[ht] \centering
\includesvg{stackoverflow.svg} \caption{Some caption.} \label{fig:initialBN} \end{figure}

\end{document}

And svg

Dragg
  • 77
  • 4
  • 1
    Better to include PDF into TeX. Do have the possibility to export to PDF instead of SVG? – Harald Lichtenstein Mar 22 '21 at 22:25
  • 1
    Package svg uses Inkscape to convert the given svg file to pdf format, so you have to either edit the stroke width manually with Inkscape or find a way to export to pdf with a reduced stroke width. LaTeX has currently no native support of svg files. – mrpiggi Mar 23 '21 at 15:25
  • I will try both options. – Dragg Mar 25 '21 at 09:07

0 Answers0