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

learn more… | top users | synonyms

1
vote
0answers
33 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
44 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 ...
2
votes
0answers
42 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
46 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
32 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} ...
1
vote
0answers
108 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
178 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
87 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
36 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
81 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
59 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
114 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
30 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
35 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
172 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 ...
2
votes
0answers
102 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 ...
1
vote
1answer
971 views

Undefined control sequence at: “\begin{document}”

When trying to compile this document: \documentclass{article} \usepackage{hyperref} \usepackage{subcaption} \usepackage{svg} \begin{document} \end{document} I get the following error message: ...
1
vote
1answer
280 views

How do I put a bounding box around a poorly saved .SVG image?

! LaTeX Error: Cannot determine size of graphic in ./queen-diamond-red.svg (no BoundingBox). How do I put proper bounding boxes into an .SVG file? I tried viewBox="0 0 156 156" I attached the ...
4
votes
1answer
93 views

\includesvg produces “No room for a new \read”

I've already searched a lot about it and I'm aware of both questions "No room for a new \read" with writing a journal and No room for a new \read/\write. Still, I couldn't find a solution to ...
1
vote
1answer
104 views

How do i get multiple font sizes in eps+tex output from inkscape?

I am trying to get different size fonts in a tex file exported from inkscape. The idea is that my figure might have header text that should be bigger than other text. For example, I have this in ...
1
vote
2answers
307 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 ...
0
votes
0answers
59 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 ...
0
votes
0answers
61 views

Position of included svg image

how can I include an .svg image and center it relative to a specific point? There is a specific point in the image that should be equidistant from both the left and the right of the page.
1
vote
0answers
54 views

Does MathJax cache SVG content? [closed]

I have extracted LaTeX content from .tex file, that I put on the website and choose SVG as output, because it provides the smallest possible size so I consider that It will be the best choise also ...
2
votes
1answer
240 views

Asymptote SVG export as vectors, instead of rendered. How?

TL;DR : my question is in bold below. Preamble: I'm pretty new to Latex. Been fiddling around with both MikTex and TexLive for a few days. Have got a working setup on Windows (with ghostscript, Image ...
1
vote
0answers
341 views

Include SVG does not detect file

I am trying to render an .svg image using the svg.sty package in latex. When I run the following code I get three errors. Posted below the code ...
1
vote
1answer
430 views

How to make LaTeX automatically call Inkscape to export figure to *.pdf_tex?

I'm working with Inkscape to update all the figures of a book, using the PDF+LaTeX option to export the figures. Right now, every time I modify a figure I "save as..." both with Inkscape's *.svg and ...
10
votes
0answers
148 views

Did one manage to get the new dvisvgm driver from PGF 3.0 to work?

Background: PGF 3.0 added a new, direct way to create SVG. It now has a dvisvgm driver (pgfsys-dvisvgm.def) which has fewer (claimed) limitations than the pgfsys-tex4ht.def driver. Except it doesn't ...
0
votes
0answers
16 views

Include SVG aligns/centers different when used with “newcommand”? [duplicate]

this is my first post in this forum, but i have been here a thousand times, enjoying the high-quality answers to often also good quality questions. So i try my best to also provide all needed ...
0
votes
1answer
337 views

TeX Live unable to call inkscape (SVG Package)

I am working with a fresh install (from source) of TeX Live on Ubuntu Server 13.10. I would like to use the svg package to allow SVG files to be directly included. In the background, the svg package ...
4
votes
1answer
128 views

Render documents as cubic spline outlines

The Metafont system is very different from the Postscript or Truetype systems that store the entire font outlines in quadratic and cubic splines, respectively. Metafont font outlines are, I believe, ...
2
votes
0answers
112 views

How can I generate a nicely laid out image including text and a png image?

I would like to generate an image which incorporates some text, nicely laid out with a nice font, and a png image which has to be included in the image. I could put this together quite quickly in ...
1
vote
0answers
117 views

How to convert font file to a series of Bézier curves?

While we are solving this question How to get intersection point(s) of two glyphs?, we are facing some interesting subproblems. This is the first one. How we could convert any font file (OTF, TTF, ...
11
votes
1answer
245 views

How to use a custom, scalable, symbol in LaTeX

I want to use a custom symbol in my document that is treated like any other letter or math symbol by LaTeX. I do not want to superimpose existing symbols in order to create a new one but rather create ...
2
votes
2answers
112 views

Compiling snippets without extra clutter

Assuming that I have some equations in latex A_{m,n} = \begin{pmatrix} a_{1,1} & a_{1,2} & \cdots & a_{1,n} \\ a_{2,1} & a_{2,2} & \cdots & a_{2,n} \\ \vdots & ...
8
votes
1answer
196 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 ...
11
votes
3answers
2k 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
186 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) ...
3
votes
1answer
1k 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
146 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
3k 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): ...
11
votes
3answers
511 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 ...
2
votes
1answer
144 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 ...
9
votes
2answers
2k 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
330 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
309 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 ...
3
votes
0answers
636 views

Install package svg.sty [duplicate]

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
1k 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
173 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
1k 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 ...