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

learn more… | top users | synonyms

0
votes
1answer
37 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
31 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
17 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
33 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
38 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
25 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
38 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: ...
0
votes
0answers
101 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 ...
0
votes
0answers
33 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
90 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 ...
16
votes
3answers
952 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
37 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 ...
2
votes
1answer
77 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
141 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 ...
2
votes
1answer
92 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
88 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
98 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
227 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: ...
14
votes
1answer
168 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
65 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
139 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
203 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
119 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
94 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
258 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
232 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
150 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
119 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/ ...
0
votes
0answers
89 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
74 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 ...
4
votes
1answer
196 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
66 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 ...
1
vote
1answer
645 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
vote
0answers
120 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
360 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
78 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} ...
1
vote
0answers
120 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
35 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
770 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
1k 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
238 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
102 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
82 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
96 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
191 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
64 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 ...
0
votes
0answers
46 views

Latex SVG with variable Text [closed]

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 Latex preamble I added: \newcommand{\mwhw}{HelloWorld} ...
4
votes
2answers
494 views

Including and updating of pdf_tex files from svg with inkscape in directory of choice

I'm working on a way to have my .svg exported with inkscape to .pdf_tex if the .svg file was changed. That allows me to change the figure, hit Ctrl+S and then just compile my tex file. I adapted some ...