Settings Help
Comprehensive TeX Archive Network
Home Upload Browse

Direc­tory tex-archive/graphics/svg

%% -------------------------------------------------------
%% Copyright (C) 2012 by Philip Ilten <>
%% -------------------------------------------------------
%% This file may be distributed and/or modified under the conditions
%% of the LaTeX Project Public License, either version 1.3 of this
%% license or (at your option) any later version. The latest version
%% of this license is in:
%% and version 1.3 or later is part of all distributions of LaTeX
%% version 2005/12/01 or later.
%% This work has the LPPL maintenance status "maintained".
%% The Current Maintainer of this work is Philip Ilten.
%% This work consists of the files README, svg.dtx (with derived files
%% svg.sty, svg.pdf, Fig.1a.pdf, Fig.1b.eps, Fig.2.pdf, Fig.2.png),
%% preamble.tex, example.svg (with derived files example.pdf and
%% example.pdf_tex), and root.C (with derived files root.svg,
%% root.pdf, and root.pdf_tex).
%% The following files constitute the svg package and should be
%% distributed as a whole: README, svg.dtx, svg.sty, svg.pdf,
%% Fig.1a.pdf, Fig.1b.eps, Fig.2.pdf, Fig.2.png, preamble.tex
%% example.svg, example.pdf, example.pdf_tex, root.C, root.svg,
%% root.pdf, and root.pdf_tex.

This package provides a command similar to the \includegraphics command of the 
graphicx package, but for the inclusion of SVGs using Inkscape.

     \includesvg[<options>]{<svg filename>}

A variety of options are available, including width, height, and path of the 
SVG. Additionally, it is possible to extract the SVG image to a PDF, EPS, or 
PNG, exactly as it is rendered within the LaTeX document. Within the
documentation an example is given using an SVG created from the high energy
particle physics analysis package ROOT.


Name Size Date Notes
Fig.1a.pdf 35786 2012-09-06 02:22:42
Fig.1b.eps 72591 2012-09-06 02:22:42
Fig.2.pdf 188888 2012-09-06 02:22:42
Fig.2.png 238966 2012-09-06 02:22:42
README 1797 2012-09-06 02:22:42
example.pdf 4816 2012-09-06 02:22:42
example.pdf_tex 2468 2012-09-06 02:22:42
example.svg 27451 2012-09-06 02:22:42
preamble.tex 198 2012-09-06 02:22:42
root.C 993 2012-09-06 02:22:42
root.pdf 166153 2012-09-06 02:22:42
root.pdf_tex 3146 2012-09-06 02:22:42
root.svg 702157 2012-09-06 02:22:42
svg.dtx 30799 2012-09-06 02:22:42
svg.pdf 368261 2012-09-06 02:22:42
svg.sty 8439 2012-09-06 02:22:42

Down­load the com­plete con­tents of this di­rec­tory in one zip archive (1.0M).

svg – In­clude and ex­tract SVG pic­tures us­ing Inkscape

The pack­age pro­vides a com­mand sim­i­lar to \in­clude­graph­ics com­mand of the graph­icx pack­age, which en­ables the in­clu­sion of SVG im­ages us­ing Inkscape.

  \in­cludesvg[<op­tions>]{<svg file­name>}

A va­ri­ety of op­tions is avail­able, in­clud­ing width, height, and path of the SVG. The im­age is con­verted to an ap­pro­pri­ate for­mat, us­ing the \write18 mech­a­nism to ex­e­cute a shell com­mand, and the pack­age also of­fers the means of sav­ing a PDF, EPS, or PNG copy of the im­age, at the same time.

The doc­u­men­ta­tion shows an ex­am­ple us­ing an SVG cre­ated from the high en­ergy par­ti­cle physics anal­y­sis pack­age ROOT.

Li­censeThe LaTeX Project Public Li­cense 1.3
Copy­right2012 Philip Il­ten
Main­tainerPhilip Il­ten
Con­tained inTeXLive as svg
MiKTeX as svg
Topics con­vert a for­eign graph­ics for­mat for use with TeX
in­clude ex­ter­nal graph­ics
See also svg-inkscape
Guest Book Sitemap Contact 2014-04-19 16:29 CEST