Menu
CTAN
Comprehensive TeX Archive Network
Cover Upload Browse

Direc­tory tex-archive/graphics/pgf/contrib/tikzscale

----------------------------------------------------------------
tikzscale --- Absolute resizing of TikZ pictures and PGF plots without
              scaling text
E-mail: pat_h@web.de Released under the LaTeX Project
Public License v1.3c or later See http://www.latex-project.org/lppl.txt
----------------------------------------------------------------

The tikzscale package extends the includegraphics command to support
tikzpictures. It allows scaling of TikZ images and PGFPlots to a provided
width or height without changing the text size.

Usage: \usepackage{tikzscale}

As an example write
\includegraphics{myTikZFile.tikz}
instead of
\includegraphics{myJPEGFile.jpeg},
with myTikZFile.tikz being the file name of a text file containing
everything from \begin{tikzpicture} to \end{tikzpicture}. To actually
do some scaling of the included TikZ file, give either an absolute width
or an absolute height in the optional argument, e.g.
\tikzscale@includetikz[width=0.5\linewidth]{myTikZFile.tikz}.
If the file contains a plot created with the PGFPlots package, set both
width and height via the optional argument, e.g.
\tikzscale@includetikz[width=\linewidth,height=0.4\linewidth]{myPGFPlot.tikz}.

Direc­to­ries

Name Notes
beamer

Files

Name Size Date Notes
3Dplot.tikz 311 2013-05-22 10:15
README 1204 2013-05-22 10:15
histogramNormal.tikz 287 2013-05-22 10:15
linewidth.tikz 83 2013-05-22 10:15
pgfplots-test.tikz 106 2013-05-22 10:15
pgfplots.randn.dat 135999 2013-05-22 10:15
test-tikzscale.pdf 177022 2013-05-22 10:15
test-tikzscale.tex 5323 2013-05-22 10:15
testNode.tikz 64 2013-05-22 10:15
testRectangle.tikz 75 2013-05-22 10:15
testgraphic2D.tikz 205 2013-05-22 10:15
tikzscale.dtx 85136 2013-05-22 10:15
tikzscale.ins 2372 2013-05-22 10:15
tikzscale.pdf 375085 2013-05-22 10:15

Down­load the con­tents of this pack­age in one zip archive (578.8k).

tikzs­cale – Re­size pic­tures while re­spect­ing text size

The pack­age ex­tends the \in­clude­graph­ics com­mand to sup­port tikzpic­tures. It al­lows scal­ing of TikZ im­ages and PGFPlots to a given width or height with­out chang­ing the text size.

Pack­age De­tailstikzs­cale
Ver­sion0.2.6
Li­censeThe LaTeX Project Public Li­cense 1.3
Copy­right2012 Pa­trick Häcker
Main­tainerPa­trick Häcker
TDS archivetikzscale.tds.zip
Con­tained inTeXlive as tikzs­cale
MikTeX as tikzs­cale
Topics sup­port for other pack­ages or for drivers
Guest Book Sitemap Contact