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

learn more… | top users | synonyms

6
votes
0answers
35 views

Specify SVG element ids when converting pgf/tikz figures to SVG

I have a bunch of tikz figures that I would like to convert to svg for inclusion in a webpage. I can successfully use dvisvgm to convert the figures to svg. I noticed that in the resulting svg, some ...
5
votes
1answer
97 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 ...
1
vote
1answer
123 views

Help to change svg package to include a 600dpi pdf instead of creating huge pdf with vector graphic. (Downgrade PDF)

I am using the svg package to include an svg file with transparent 3D graphic and latex code to be set at the right label positions. I tried many different methods to do that (matlab->eps+tex file) ...
1
vote
1answer
211 views

Matlab->plot2svg->Inkscape->pdf+latex->includesvg = slow rendering pdf + large file. How to solve that?

I have the following workflow. I use matlab to produce 3D plots with transparency and I want to use the workflow of setting the text inside the figure in latex. I am using Texniccenter and MikTex the ...
6
votes
0answers
83 views

Postscript, EPS and PSTricks: what are the differences at this conditions? [closed]

The program that I use as an editor for vector based images is able to export using the following standards: Postscript 2 and 3 ( .ps ) PSTricks macro written in Latex ( .tex ) Eps ( .eps ) SVG ( ...
3
votes
1answer
162 views

\includesvg does not detect SVG file

Input test.tex: \documentclass{article} \usepackage{svg} \begin{document} \includesvg{my-svg-file} \end{document} my-svg-file.svg (in the same folder): ...
10
votes
3answers
241 views

tikz Join line segments of different thickness with miter

Reading "tikz Multi-segment Line of Varying Thickness" provides a good explanation to join segments, but it seems that the rounded corner transition is the only way to do this nicely? I would like to ...
1
vote
1answer
80 views

How can I convert TikZ to SVG on a Mac?

I'd like to be able to convert a TikZ picture written in LaTeX, into an SVG file which I could load up in Inkscape, for some "tweaking". I have read the threads How can I produce a .svg file from a ...
4
votes
2answers
161 views

TeX to epub conversion

I want to create epub document, but I only have a tex file (unfortunately, mathematical formulas, and drawing diagrams). I tried pandoc: tex to html, tex to xhtml, to xml, but nothing works properly. ...
3
votes
1answer
137 views

eqnarray math to svg

I want to write a perl processor that filters equations out of html images and creates svg replacements for it so that my equations show up nicely in epub and in major browsers. (I understand that ...
0
votes
1answer
97 views

How to include file with extension SVG in LaTeX(Tex.tex)? [duplicate]

Is there a way to include svg figures directly into LaTeX? I have only mySVG.svg file and myTex.tex file. The big question is how to include this svg into my file with extension tex. I tried all ...
2
votes
0answers
230 views

Install package svg.sty

I am using Kile to write latex documents. I want to include .svg picture in my document. After including \usepackage{svg} and compiling my document into pdf, I have an error: "File 'svg.sty' ...
3
votes
1answer
123 views

Command line SVG2TikZ

(Apologies if this is too far from topic, but I thought it might be of interest to some here) I am writing a makefile to take a bunch of SVGs that I have drawn and turn them into TikZ pictures via ...
3
votes
1answer
66 views

How to include SVG syntax into LaTeX [duplicate]

Is it possible to include SVG code into LaTex? If it's possible how can I do that ? Short Example: <svg xmlns="http://www.w3.org/2000/svg" version="1.1"> <path d="M150 0 L75 200 L225 200 ...
3
votes
1answer
170 views

PS to EPS preserving bounding box

I have an SVG file and would like to turn that into EPS for embedding into a latex file to be eventually used by dvips. I can use rsvg-convert to turn my SVG into PS. I then can use ps2eps to turn ...
0
votes
0answers
203 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
134 views

.svg included incorrectly in two-column IEEE conference template

Unlike other figures, my .svg figure is never in the middle of the column and its right part is out of the page. Here is my MWE: \documentclass[conference]{IEEEtran} \usepackage{natbib} % for the ...
1
vote
0answers
101 views

Convert color SVG / PDF to greyscale, using hatching patterns

I have a couple of charts which are in PDF or SVG format. I want to embed them as figures, but I want to replace colors with different types of hatching patterns. Is it possible to do this with LaTeX? ...
1
vote
0answers
83 views

Trying to convert an svg to use in LaTeX

I know this is only semi-tex related but I think it's something a lot of people are familiar with. I used inkscape to grab an image out of a pdf. After doing so, I found out the only way it would ...
2
votes
0answers
230 views

Is this a bug with Inkscape and/or LaTeX or am I missing something?

I want to include figures generated by inkscape which include transparency. When I change the width of the figures, things get weird. Have you ever noticed this and is there a better way to do? % ...
0
votes
0answers
27 views

dvisvgm wrong colors

I'm using dvisvgm to convert a tikz picture to an svg. However, the svg messes a few colors. All math text appears in black while I have it in red in the original tex file. Also, some circles have a ...
0
votes
0answers
57 views

How do I label and reference an Inkscape file using \input?

I have written the following code in TexShop: \begin{figure}[h] \begin{center} \def\svgwidth{\columnwidth} \input{<nameoffile>.pdf_tex} \caption{figure 1} \label{fig:no1} \end{center} ...
1
vote
0answers
135 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} ...
5
votes
1answer
111 views

Faster Metapost SVG Output with TeX?

I am generating some diagrams with METAPOST. I need the output in SVG format. My labels are generated by calls to LaTeX via Tex.mp and its TEX METAPOST definition (also called a macro). My ...
1
vote
0answers
73 views

Why do some of the characters in my included PDF file show up transparent?

I'm trying to include a PDF file in my LaTeX document (I'm using pdflatex), which looks as follows: \documentclass{article} \usepackage{graphicx} \begin{document} \includegraphics[page=1]{fdt1} ...
7
votes
3answers
441 views

Approach to creating graphics in book - TikZ, SVG, PDF, Inkscape?

I have a series of "charts" I created with Excel (before discovering LaTeX) to show the ROM character patterns for an old computer for inclusion in a book on retrocomputing. My dilemma is how to ...
0
votes
1answer
1k views

Including pdf_tex images from inkscape

I am trying to use pdftex to lay out a document including images made in inkscape. From inkscape I can output the images as pdfs with accompanying pdf_tex files and put these in a figure environment. ...
4
votes
1answer
275 views

Error using htlatex with tikz forest package, invalid SVG generated

htlatex is supposed to support tikz with \def\pgfsysdriver{pgfsys-tex4ht.def} and it does on some tikz examples, but for some other examples, it gives bad svg images. UPDATE I was able to reduce the ...
3
votes
1answer
156 views

order of packages: svg and tocloft

The following MWE illustrate the issue: \documentclass{scrreprt} \usepackage[clean,pdf]{svg} \usepackage{tocloft} \begin{document} \includesvg[width=\textwidth{}]{legacy-ip-only} \end{document} It ...
6
votes
1answer
6k views

include svg images with the svg package

I'm trying to use the svg package for inserting svg images in my latex file, as suggested in other questions. But now I ran into a problem: For example I have a image figure1.svg, if I write ...
1
vote
0answers
68 views

Standalone multiline logo [duplicate]

I would like to produce through pdflatex an image that shrink-wraps around a logo. Here is a skeleton file. \documentclass{standalone} \begin{document} line 1 line 2 \end{document} But this ...
3
votes
1answer
161 views

How to import bibliography (from .bib file) to svg or other Inkscape friendly format

I want to make a poster in Inkscape and include the bibliography I have in .bib file. When I had only one item in the list, I just copied the text from generated pdf and manually formatted it (adding ...
1
vote
1answer
182 views

.eps and .pdf image in one document [duplicate]

I want to include both pdf and eps image in one latex document. I created a svg image in Inkscape. The .pdf version of the same is exactly like the .svg image. but the .eps version some part of image ...
4
votes
1answer
228 views

Graphics with bottom border for signature capture

I am generating PDF documents using pdflatex with signature images which are pre-converted with Inkscape to pdf. The current template looks like this ({{ tags }} are django template tags): ...
7
votes
2answers
1k 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 ...
7
votes
3answers
3k 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?
2
votes
0answers
138 views

Displaying Latex files on tablets [closed]

I need to display short mathematical formulae on mainstream tablets. Presently, I type the equations in LaTeX, convert the LaTeX document to PDF, and then to SVG before displaying it. I'm sure there ...
1
vote
1answer
379 views

How to convert an SVG image with LaTeX in Inkscape, to PNG?

I'm using Inkscape to draw images, together with the ability to produce the separate LaTeX file with all the text, as described here. So far, this has been working great, but now I am restricted to ...
2
votes
0answers
447 views

Lyx: SVG files on PDF [closed]

I'm having trouble getting an SVG diagram to appear in a PDF. From researching online it looks like it should be simple enough, but I'm yet to discover what I'm doing wrong. I'm working in LyX, and ...
1
vote
1answer
314 views

inkscape pdf+latex, unclean exit

I have expected this question to be asked before, but searched and no luck. It took some effort to produce this MWE. I have followed this link. When I pdflatex compile this, it produces an exit with ...
34
votes
5answers
6k views

Recommended workflow? LaTeX -> ePub with math viewable on iPad

This started as a comment in an older thread, but I thought I repost it here as a question to the forum... I'm looking for a workflow that will take me efficiently and reliably from existing LaTeX ...
0
votes
0answers
107 views

About including svg into LaTeX or workaround [duplicate]

I am looking for a way to include svg image into the LaTeX. I know there are some discussion on this topic before and I think LaTeX just don't support SVG directly. I read few posts here and people ...
1
vote
1answer
242 views

siunitx with svg graphics

I am using pdfLaTeX (TeX Live 2011) to compile a document. Unfortunately it does not compile. Again, my example compiles flawlessly with TeX Live 2009. I include an SVG/PDF graphics following this ...
3
votes
1answer
647 views

svg from inkscape — doesn't work in xelatex?

I want to make use of "svg in tex" technology. Here's a tex: \documentclass{article} \usepackage{color} \usepackage{graphicx} \newcommand{\executeiffilenewer}[3]{% ...
4
votes
2answers
377 views

Replacement for \curveto in the tikz library - Inkscape export svg to tikz

I need to draw a complex curve and I wanted to help a vector program Inkscape. In first step I tried to use Inkscape to TikZ exporter (http://code.google.com/p/inkscape2tikz/)to convert curve to tikz, ...
8
votes
1answer
586 views

Compilation taking too long when including svg

This is a general question. I have been very happy when using inkscape for my LaTeX files. Now I am preparing a presentation using beamer and I am trying to include svg files into my presentation ...
3
votes
1answer
184 views

Convert pstricks animation to SVG(+SMIL)

Inspired by these questions— How to convert pstricks animation to GIF file? PSTricks to SVG —how can one convert a PSTricks animation to an animated SVG image? SVG animation would be nicer than ...
19
votes
0answers
978 views

How can I produce a .svg file from a TikZ diagram? [duplicate]

I would like to produce separate .svg files for each of the TikZ diagrams in my LaTeX document. Each of the .svg files will then be used in a WordPress web page. I have tried a number of things, none ...
2
votes
2answers
518 views

Including LaTeX vector output in input to Graphviz (dot)

Graphviz (http://www.graphviz.org/) is an exceptionally effective package for drawing graphs of all kinds. Its internal node labelling facility is relatively primitive, but as it allows images to be ...
2
votes
1answer
309 views

Inserting SVG markup directly in LaTeX

Is there any package that let inserting SVG markups directly in LaTeX and get result image like: \begin{svg}[version="1.1"] <polygon points="100,10 40,180 190,60 10,60 160,180" ...