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

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