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

learn more… | top users | synonyms

0
votes
1answer
51 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
1answer
65 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
53 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
20 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
42 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
61 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
27 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?
1
vote
2answers
57 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{...
0
votes
0answers
192 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
40 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)) ...
2
votes
3answers
110 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 ...
17
votes
3answers
969 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
46 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
128 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
182 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 ...
3
votes
1answer
120 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
117 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 ...
4
votes
0answers
115 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
311 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
182 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 ...
2
votes
0answers
69 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 "---"...
5
votes
1answer
149 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 <...
2
votes
2answers
277 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 ...
3
votes
1answer
147 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 ...
0
votes
2answers
106 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 ...
4
votes
0answers
306 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
270 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
2answers
168 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 ...
0
votes
0answers
123 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
99 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. ...
0
votes
0answers
79 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
269 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 ...
1
vote
2answers
70 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 ...
2
votes
2answers
712 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+...
1
vote
0answers
131 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
430 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 ...
5
votes
0answers
81 views

svg package interfers with opacity

As soon as I load the package svg, tikz does not handle opacity any longer. Here, an example: \documentclass{article} \usepackage{tikz} \usepackage{svg} \begin{document} \begin{tikzpicture} \draw[...
1
vote
0answers
131 views

How to escape underscores in the resulting .pdf_tex file?

According to this: http://tex.stackexchange.com/a/2107/41370 I have to use inkscape to generate a PDF file and a corresponding .pdf_tex file. Since my original SVG file contains a class diagram it ...
1
vote
0answers
37 views

pdf_tex problem [duplicate]

I use Inkscape to create .pdf_tex graphics. While drawing my figure on Inkscape, I import an .png image, than I save my drawing as PDF and call it in my LaTeX code as follows: \documentclass{article} ...
2
votes
0answers
868 views

Inkscape and --shell-escape with TexStudio

My purpose is to show fig1.svg in latex. Here is my code: \documentclass[12pt]{article} \usepackage{amsmath} \usepackage{listings} \lstset{language=Matlab} \lstset{tabsize=2} \usepackage{graphicx} \...
1
vote
1answer
2k views

Install new package `svg.sty' ubuntu [duplicate]

I use texstudio in Ubuntu and I would like to use svg package: \usepackage{svg} File `svg.sty' not found. ^^M The only thing I found is a closed thread. My attempt for installation of this ...
5
votes
1answer
275 views

how to speed up tex4ht image generation process?

Currently, I tell tex4ht to use svg instead of png for math images. This results in better image quality. However, it is slow in image generation, as it takes about 1-2 seconds for each image to be ...
2
votes
0answers
110 views

How to use import package to keep relative path references in subfiles and at the same time use svg?

I have the following directory structure: main.tex chapter/ chapter1.tex img/ image.svg This is the content of main.tex: \documentclass{report} \usepackage{svg} \begin{document} \...
0
votes
0answers
83 views

pdftex: SVG not found [duplicate]

I'm trying to use svg graphics in my big latex document. I followed other posts and included the svg and the amsmath package. And used the following to test it: \begin{figure}[htbp] \centering ...
1
vote
0answers
98 views

Figures in Minipage to avoid multiple pdf's warning, now labels aren't working

I'm trying to include svg graphics in combination with the respective .pdf_txt within my bachelor thesis. So far that works but it triggers the Warning : 'multiple pdf's in a page group'. That Warning ...
9
votes
1answer
200 views

svg native support

I have been extensively using LaTeX for technical documentation. To make drawings I often use inkscape and then convert them to .pdf. I was wondering, are there any plan in LaTeX community to natively ...
1
vote
0answers
65 views

Latex SVG with variable Text

-this question is a dublicate of a stackoverflow-question- I would like to write a document with figures containing variable text. In the combination of SVG and Latex, I tried to acomplish this: In ...