- Notifications
You must be signed in to change notification settings - Fork12
Open
Labels
Description
Here's my SVG drawing:
I include it in my LaTeX document using thesvg
package as follows:
\documentclass{article}\usepackage{svg}\begin{document} \includesvg{idea.svg}\end{document}
Which results in the following:
Then I use thesvg-extract
package to extract it out into a PDF including the rendered LaTeX math:
\documentclass{article}\usepackage[extractformat=pdf]{svg-extract}\begin{document} \includesvg[keepaspectratio]{idea.svg}\end{document}
I runlatexmk --shell-escape idea.tex
and the resulting PDF is as follows:
It looks like the text has been moved to accomodate some smaller bounding box than that which the SVG originally intended.
How can I prevent this behavior and get back the SVG as it looked in the original PDF?