Skip to content

Commit

Permalink
Bugfix: Don't treat svg's texts as independents
Browse files Browse the repository at this point in the history
When creating a PDF using SVG created in Inkscape, \includesvg makes some weird stuff with texts.

References:
- https://tex.stackexchange.com/questions/507042/latex-changing-svg-text-font
- https://tex.stackexchange.com/a/599018/305952
  • Loading branch information
yuki committed Sep 26, 2024
1 parent 8cda10a commit 706e84f
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions template/yuki.tex
Original file line number Diff line number Diff line change
Expand Up @@ -298,6 +298,7 @@
\RequirePackage{pmboxdraw} % for Systemctl's "box" unicode symbols
\RequirePackage{graphicx}
\RequirePackage{svg} % for svg images
\svgsetup{inkscapelatex=false} % don't treat text in svg as independent: https://tex.stackexchange.com/a/599018/305952

\RequirePackage[export]{adjustbox} % frames in graphics
\RequirePackage{wrapfig}
Expand Down

0 comments on commit 706e84f

Please sign in to comment.