## LaTeX: Include and Scale SVG (Scalable Vector Graphics) Image

Here is a step-by-step guide on including and scaling SVG image on LaTeX.

2) Suppose, I have an svg image named “image.svg“.
Run the following command that exports your svg image to PDF and LaTeX format.

This will create two new files named image.pdf and image.pdf_tex.

3) Include the image in LaTeX:

You can see that I have defined \svgwidth which is used for scaling the SVG image. More about Scaling SVG image is written below:

Scaling SVG image

You can scale the image by defining \svgwidth or by including calc package.

You have to define \svgwidth before \input command:

If you are using calc package, then you have to include the calc package in the preamble and then define \svgscale.

More detail can be found here: How to include an SVG image in LaTeX

Get New Post by Email

Find me on