1

in my document i got:

\begin{figure}[h]
\centering
\def\svgscale{0.5}
\includesvg[svgpath = pictures/]{somefile}
\caption{svg image}
\end{figure}

Which does indeed import the picture, but the pictures size does not change with values like 0.5 or 1.5.

with 0.5 i was expecting a reduction in widht and height of 50%. Is that wrong?

  • 2
    The documentation of package svg does not say anything about scaling. It supports options width and height. – Heiko Oberdiek Sep 11 '16 at 9:05
5

Youre right, this one works quite nice:

\includesvg[width = 200pt, svgpath = pictures/somepicture]

keeps the aspect ratio automatically.

Your Answer

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

Not the answer you're looking for? Browse other questions tagged or ask your own question.