TransWikia.com

Is it possible to use svg images with Overleaf

TeX - LaTeX Asked on December 27, 2020

Unfortunately I am not able to include svg images in overleaf. This is the minimal example:

documentclass{article}
usepackage{svg}
usepackage{amsmath}
begin{document}

begin{figure}[htbp]
  centering
  includesvg{image.svg}
  caption{svg image}
end{figure}

end{document}

This will give an error says

File `./image' not found

Overleaf does allow svg extensions but how can I include the file?

One Answer

This does work on the Overleaf v2 beta, where Inkscape's available. Here's the MWE above on the beta new version of the site:

documentclass{article}
usepackage{svg}
usepackage{amsmath}

title{Inkscape package on Overleaf }
begin{document}
maketitle

begin{figure}[htbp]
  centering
  includesvg{image.svg}
  caption{svg image}
end{figure}

end{document}

enter image description here

Correct answer by walszje on December 27, 2020

Add your own answers!

Ask a Question

Get help from others!

© 2024 TransWikia.com. All rights reserved. Sites we Love: PCI Database, UKBizDB, Menu Kuliner, Sharing RPP