CTAN
Comprehensive TeX Archive Network

Direc­tory graphics/svg

README
%% -------------------------------------------------------
%% Copyright (C) 2012 by Philip Ilten <philten@cern.ch>
%% -------------------------------------------------------
%% 
%% 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:
%%
%%     http://www.latex-project.org/lppl.txt
%%
%% 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.

Down­load the con­tents of this pack­age 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.

Pack­agesvg
Ver­sion1.0
Li­censeThe LaTeX Project Public Li­cense 1.3
Main­tainerPhilip Il­ten
Con­tained inTeX Live 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 Contact Author