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

learn more… | top users | synonyms

0
votes
0answers
447 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
270 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
141 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
143 views

Trying to convert an svg to use in LaTeX [closed]

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
494 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
95 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
316 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
228 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 ...
2
votes
0answers
114 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
543 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 ...
2
votes
1answer
7k 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
497 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
767 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 ...
12
votes
1answer
30k 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
71 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
314 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
289 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
445 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
2k 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 ...
15
votes
2answers
7k 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
175 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 ...
2
votes
1answer
671 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
870 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
398 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 ...
41
votes
5answers
9k 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
109 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
331 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 ...
8
votes
1answer
1k 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
556 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
812 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 ...
5
votes
2answers
377 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
1k 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
765 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 ...
3
votes
1answer
339 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" ...
6
votes
2answers
2k views

Opaque-to-transparent gradient lost in embedded PDF figure

I have a figure created with Inkscape as SVG and exported as PDF. When I view the PDF directly (e.g. in OS X Preview), it shows correctly. When embedding it in a LaTeX document, it has problems with ...
4
votes
1answer
3k views

Problem inserting .pdf_tex file from Inkscape

I am trying to insert an image from Inkscape. I saved it as a pdf, checking the PDF + Latex option. Inside my Latex file, I wrote the following code : \begin{figure} \centering ...
7
votes
1answer
357 views

algorithmicx crashes standalone

I am creating SVG files from different stuff from my LaTeX document. For this, I am using the standalone package followed by pdf2svg. This compiles: \documentclass{article} \usepackage{algorithmicx} ...
17
votes
2answers
6k 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 ...
7
votes
1answer
449 views

Custom TikZ node with svg path not clipped

I would like to make a custom node shape with a small picture (on north east) using the svg directive of TikZ, because the picture comes from a svg path. As you can see with this simple code, the ...
7
votes
1answer
2k views

Accessing latex fonts from other programs

How can I get the Latex fonts to work from other programmes (e.g. Inkscape)? I have created some graphics as pdf files with Tikz/PGF/PGFPlot (using miktex/TexnicCentre) using the standard latex fonts ...
12
votes
1answer
608 views

Beamer and JavaScript in a web browser

I have written a talk in Beamer and to illustrate one of my points I've written a program in JavaScript (well actually Processing). You can view it here (it seems to run ok in Chrome and Firefox, and ...
51
votes
5answers
12k views

How can I use TikZ to make standalone (SVG) graphics?

I would like to use TikZ in other settings than TeX and I'd especially like to use the drawings on websites where the text should be searchable and selectable. However, I'm unsure of the best way to ...
3
votes
1answer
708 views

LaTeX: outputting a “tight” svg

Concise Problem Statement Given an input of a *.tex (LaTeX) file, I want to output a "tight" *.svg file. By "tight", I mean a svg file that does not show the full page -- rather, just the rendered ...
0
votes
1answer
640 views

JavaScript/HTML/SVG rendered inside a TeX PDF document, impossible?

I have a pretty general question. I have a report that is automatically created from HTML and Javascript and is output as a PDF. I'm using JavaScript because it's the best and easiest way I've found ...
2
votes
0answers
165 views

How could I include svg directly into LaTeX? [duplicate]

Possible Duplicate: How to include SVG diagrams in LaTeX? Is there a way to include svg figures directly into LaTeX? This is my current way to include eps file: \clearpage ...
5
votes
2answers
7k views

Inkscape PDF resizing

I'm trying to include some PDF I saved in Inkscape and change the width and the height at the same time. Is this possible? I tried \svgheight and it did not take both values at the same time. This is ...
6
votes
3answers
1k views

Htlatex and Tikz creates sometimes incorrect svgs

I have a document with a large number of Tikz pictures and I need to generate a html page from it. I have declared a driver to have TikZ pictures as SVGs (after this question) and run htlatex ...
5
votes
1answer
4k views

How to use Inkscape's textext plugin

I am having trouble with the textext plugin in inkscape; even the simplest bit of code, such as \documentclass[12pt]{article} \begin{document} test \end{document} gave an error as follows: ...
12
votes
4answers
4k views

Inkscape → PDF → includegraphics → XeLaTeX → changed colors

I have an SVG file, which I have made/edited with Inkscape. I want to include this image in my thesis. The svg file is here: http://brussense.be/temp/theSVG.svg (because Inkscape uses a non-standard ...
10
votes
4answers
10k views

What's the best way to embed Visio diagrams?

I was wondering if there is an easier (and better) way of embedding Visio diagrams into a LaTeX document. As far as I know there a two ways: Save Visio Diagram as PNG and use \includegraphics Save ...