SVG, short for Scalable Vector Graphics, is a language used for describing two-dimensional vector graphics.

learn more… | top users | synonyms

3
votes
1answer
223 views

How not to extract text when using \includesvg?

When using the includesvg macro that is provided by the svg package to include an svg image, all "text components" of the image (see the manual) are separated into a pdf_tex file (which is basically a ...
24
votes
4answers
4k views

Exporting all equations from a document as individual svg files

I'm currently a presentation based on a paper originally written in Latex. Currently, I use Kile and Ubuntu for my work. What I'm finding is that I need a large number of the equations from the ...
0
votes
1answer
48 views

Using Foundation icons in LaTeX document

I have the fontawesome package in mind when asking this question? In fontawesome you can invoke the given symbol by typing its code to get it in the document. For example, \faCircleArrowDown gives the ...
2
votes
2answers
693 views

Include SVG layers as steps in beamer

I have a .svg figure (created with inkscape) with multiple layers and I would like to include them in a beamer presentation so that layers appear progressively. slide 1 -> layer 1 slide 2 -> layer 1+...
2
votes
1answer
43 views

Create Figure with subfigures from .svg files

I am trying to create a number of figures in Overleaf which consist of several subpictures. To get highly resoluted pictures, I have saved them in .svg format. I have read different posts and learned ...
0
votes
1answer
614 views

How to import SVG or EPS files with LaTeX legends on Inkscape?

I usually plot my functions using Matlab or Python (matplotlib) and set labels with LaTeX. Occasionally, the plots have some rendering problem and I edit their SVG or EPS files using Inkscape. The ...
0
votes
1answer
49 views

How to place an “Export as PDF + Latex from Inkscape”-image above a \includegraphics image (overlay) - Make centers match

When you save images as a PDF, checking the PDF + Latex option, one gets 3 files: filename.pdf filename.pdf_tex filename.svg If you'd like to include this exported image in a Tex document, this ...
0
votes
0answers
33 views

Can I expect WYSIWYG for SVG-PDFs embedded as images in LaTeX?

I embed a lot of scalable illustrations by creating them in Inkscape as SVG, then exporting them to PDF and finally including that PDF in (Xe)LaTeX. Given I am happy with the illustration-PDF ...
1
vote
0answers
19 views

Including svg images in several subdirectories

I am trying to include svg images each in a different directory. The svg package generates the corresponding .pdf and .pdf_tex files in the same subdirectories, but then tries to include the .pdf and ...
1
vote
0answers
38 views

tcolorbox and svg package shadow error/bug

There's a bug with the shadows of tcolorboxes when using tcolorbox and svg packages together. Top is with svg package not loaded while bottom one is with svg package loaded. Here's a mwe: \...
0
votes
0answers
50 views

Can't find svg file

even though i changed PDFLaTex to: pdflatex.exe --shell-escape -synctex=1 -interaction=nonstopmode %.tex i still get those error messages Zeile 16: File fig/vector' not found. } Zeile 16: ...
1
vote
0answers
26 views

Exporting all display formulas from Lyx to separate SVG files on Mac

Hi all :) This is my first question here, so here goes. I'm using Lyx on my Mac. I would like to use some sort of script which takes file.lyx as input and outputs SVGs of all of the display formulas ...
0
votes
0answers
19 views

Does svg package work on Windows?

The 2012 documentation for the svg package says "Finally, this package will not work on Windows". Is this still true?
2
votes
3answers
102 views

convert LaTeX symbols into svg files using font files directly

Is there a programmatic way of converting a set of LaTeX symbols into a set of svg files using the font files directly? In particular, I would like to create svg files for some of the symbols that are ...
1
vote
2answers
50 views

SVG filename argument to \includesvg - damned if you do, damned if you don't

I'm trying to use the svg package, for some svg files I have in a graphics/ subdirectory. My includegraphics command used to be: \includegraphics{graphics/foo.png} Now, if I write: \includesvg{...
8
votes
3answers
3k views

LibreOffice + Inkscape EPS-Latex

I'm trying to import a graphic created in LibreOffice Draw in a LaTeX document. So far I've tried the Way: Export Document to SVG file. Open with Inkscape and Export using eps+latex Including ...
0
votes
0answers
157 views

.svg image sharelatex compile error

I am trying to include a .svg image in sharelatex.com is there a way to do this? I have tried the following code but its not working, i get an compile error. svg image: svg image \documentclass{...
0
votes
0answers
37 views

How to include a pandas boxplot in my document?

Usually, I include matplotlib plots in my tex document like that: I use matplotlib to plot and save the figure as vector graphic (svg) import matplotlib.pyplot as plt plt.figure(figsize=(15, 8)) ...
17
votes
3answers
956 views

Why is SVG not supported by the TeX backend?

I've always wondered why SVG is such a problem for many document creation tools. For example MS Office can't do it, Libre Office can only use very simple SVGs afaik and even in Latex we can't use them ...
3
votes
0answers
41 views

Scale svg according to font size

Assume this example document: \documentclass[12pt,leqno,a4paper]{article} \usepackage{graphicx} \usepackage{svg} \begin{document} \begin{figure}[htbp] \centering \resizebox{0.75\textwidth}{!}{\...
2
votes
1answer
105 views

Error while importing .svg file

I want to include a .svg file into my document. I have a .svg file with the name test.svg This is the document: \documentclass[12pt,leqno,a4paper]{article} \usepackage{graphicx} \usepackage{svg} \...
5
votes
0answers
165 views

Obtain a PDF animated from SVG animated

I have read Animations in LaTeX, but my question (I think) is different. I have an SVG animated file and I want to create the same animation in LaTeX, without rewriting the code. An example is this ...
16
votes
5answers
3k views

Inkscape SVG with opacity exported to PDF in pdflatex document not displayed correctly on Mac OS X

I use Inkscape to create graphics which I export to PDFs in order to include them into a LaTeX documents (with \includegraphics and using pdflatex). I didn't notice that there is something wrong until ...
0
votes
2answers
101 views

Converting latex highlighted code listing to image

Does someone know how I could submit a paper to a journal which contains source code highlighting with minted https://github.com/gpoore/minted ? I really like the highlighting and don't want to go ...
2
votes
1answer
105 views

Load custom TikZ nodes from an SVG file?

I want to use custom nodes in TikZ, with shapes loaded (or otherwise converted) from an SVG file because I don't have enough time to learn pgf to draw the shapes I want. How can I do that?
2
votes
1answer
106 views

Latex generated PDF is extremely slow with rendering images

I have a small issue. I have generated a PDF file with some images generated from R. However the images render extremely slow, this might be due to the fact that the PDF needs to render an insane ...
0
votes
0answers
231 views

How can I change the converter for SVGs previews in LyX?

I've been using SVG files in my LyX documents, on Arch Linux (LyX 2.1.1), but found that when converting to PDF, the default rsvg-convert does a poor job, with many artifacts (e.g. lost text, lost ...
4
votes
0answers
108 views

svg export from inkscape to latex ruins typesetting

I would like to use the .pdf_tex option for my SVG images exported from Inkscape because it's an amazing feature but it doesn't work as intended. What I do: Export image from Inkscape Integrate ...
4
votes
0answers
282 views

svg package failing to find svg files

I am trying to get the svg package working on an OSX system. If I use inkscape to save the *.svg files as *.pdf and *.pdf_tex, then the sample file from this question works fine: \documentclass{...
14
votes
1answer
177 views

How to correct bug in svg.path library?

The svg command from svg.path library can display an svg <path> in TikZ. But in one particular situation the coordinate calculation fails. This happens when part of the path is closed by z (or ...
5
votes
1answer
146 views

How to create non-outlined SVG files from LaTeX formulae

Are there any ways of generating SVG files from LaTeX math formulae, that are not built from outlined glyphs? I.e., I want the SVG file to contain the math glyphs within <text> tags, not <...
23
votes
2answers
9k views

How to export svg to tikz

I was wondering if anyone had managed exporting .svg files to TikZ code. I do not mean include an .svg file into a latex document, but rather to obtain the code of an image so you can then edit it ...
2
votes
0answers
67 views

SVG drawing created by Inkscape not displayed properly on Lyx

I created an SVG figure using Inkscape and inserted it into my Lyx paper. But the figure is not properly display either on lyx or the pdf it generated. For example, an arrow "--->" becomes a line "---"...
1
vote
3answers
694 views

Inserting graph from gnuplot to latex

How to insert high quality graph drawn in GNUplot in LaTeX. I am trying to use following method: draw graph in gnuplot saving it as SVG file converting svg into pdf Inserting pdf into latex file ...
3
votes
1answer
133 views

Tex4ebook not generating SVG files

I followed the instructions in this other question to generate an ePub from Latex with SVG images(I don't want to use ePub 3.0) with tex4ebook, but the generated epub has no images. I already found ...
2
votes
2answers
249 views

LyX makes mistakes rendering svg graphics

I am writing a document in LyX 2.1.4 on Mac OS 10.11 using MacTeX-2015. I insert svg files created in Inkscape 0.91. Some of them are entirely created in Inkscape. Some are outputs from R that I ...
0
votes
2answers
162 views

Include SVG using ST3 latextools build system

I am trying to include SVG into my document using the SVG package. On OSX Yosemite, I use Sublime Text 3 with the LatexTools Package, BasicTex 2015 and Inkscape installed via Homebrew Cask. Additional ...
4
votes
0answers
285 views

Workaround for the animations in Beamer? How to convert a pdf presentation to a Sozi svg?

I want to use Beamer to write my presentations, mainly because I can use TikZ code on it. I also use to include png and pdf figures, so I like to compile with pdflatex. However, I'm starting to hate ...
2
votes
0answers
255 views

Inserting SVG images in Latex

I need to include some SVG graphics in my latex file. The SVG files have been created with a Python program, they don't come from Inkscape (I know that there are a lot of questions answered about the ...
0
votes
0answers
120 views

Generating sequence of SVG images with Tikz/Beamer

I use Tikz and Beamer a lot when creating slides and I was wondering if there was a simple way of using the same framework to generate a sequence of SVG images (or any other format that could be used ...
0
votes
0answers
17 views

How to inlcude svg in xelatex [duplicate]

How can I make the following snipped work in xelatex. The svg package seems buggy, and I added the following commands from http://mirror.switch.ch/ftp/mirror/tex/info/svg-inkscape/ \documentclass[]{...
0
votes
0answers
95 views

wkhtmltopdf messes up my latex-svg

I have a very strange behaviour when trying to compile latex to an svg and then rendering a pdf with wkhtmltopdf. It prints some weird bars on my svg. In my html it doesn't display anything like this. ...
2
votes
1answer
509 views

Font size change in svg included in pdflatex beamer document

I include an svg I created with matplotlib (see here how - at the bottom) using pyplot.savefig("test.svg") in my latex document. \documentclass{beamer} \usepackage{graphicx} \usepackage{svg} \begin{...
0
votes
0answers
76 views

invisible special character generated from pdf file

I am trying to insert a pic.pdf file as picture inside my beamer presentation. I used "inkscape" to generate pic.pdf file. There is a special character used inside my svg file (format of the inkscape)....
4
votes
1answer
227 views

Compile TeX (directly) into SVG

Is there a way to directly compile TeX code into the SVG image format (rather than going the detour over TeX => PDF => SVG)? I found this question: Convert LaTeX to SVG online But I don't want to do ...
307
votes
18answers
163k views

How to include SVG diagrams in LaTeX?

I'm making all my diagrams in SVG format using Inkscape and then I export them to some other format (e.g. PDF, EPS or PNG). I wrote a short script that does this for me automatically, but I'd like to ...
1
vote
2answers
69 views

Latex-SVG displaying differently depending on position in html

Updated Question The svgs generated by dvisvgm seem to influence one another when placed in a html document. For example, this is how it should look: https://jsfiddle.net/y8nq7xnz/1/ On the other ...
19
votes
2answers
12k views

Convert LaTeX to SVG online

What websites allow users to quickly and simply convert mathematical equations into SVG without having to install or run any software?
1
vote
0answers
126 views

How to contribute to FontAwesome? SVG, EPS to fontawesome? [closed]

I am very interested in contributing to fontawesome. I have some vector icons that I feel the community would benefit to use and I really like to add them to fontawesome. These icons are in svg and ...
0
votes
0answers
402 views

File SVG not found in windows texstudio

I was using latex for a while on Linux and I was using SVG. I remember it was a very hard time to fix the errors specially the one saying File "./somesvg" not found Now, installed TeXStudio and ...