Index of /archives/text/CTAN/graphics/pgf/contrib/tikzscale

Icon  Name                                      Last modified      Size  Description
[PARENTDIR] Parent Directory - [   ] 3Dplot.tikz 2013-05-22 17:15 311 [TXT] README 2013-05-22 17:15 1.2K [DIR] beamer/ 2013-05-22 18:03 - [   ] histogramNormal.tikz 2013-05-22 17:15 287 [   ] linewidth.tikz 2013-05-22 17:15 83 [   ] pgfplots-test.tikz 2013-05-22 17:15 106 [   ] pgfplots.randn.dat 2013-05-22 17:15 133K [   ] test-tikzscale.pdf 2013-05-22 17:15 173K [   ] test-tikzscale.tex 2013-05-22 17:15 5.2K [   ] testNode.tikz 2013-05-22 17:15 64 [   ] testRectangle.tikz 2013-05-22 17:15 75 [   ] testgraphic2D.tikz 2013-05-22 17:15 205 [TXT] tikzscale.dtx 2013-05-22 17:15 83K [TXT] tikzscale.ins 2013-05-22 17:15 2.3K [   ] tikzscale.pdf 2013-05-22 17:15 366K
----------------------------------------------------------------
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}.