summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/doc/latex/tikzscale/README
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2012-10-31 21:47:29 +0000
committerKarl Berry <karl@freefriends.org>2012-10-31 21:47:29 +0000
commitc7b0de93190a3c0d8e3ee9d88e79da7d21a27e31 (patch)
tree9ecfe4a41a71b23f4b8c866054317d87f15c9fbf /Master/texmf-dist/doc/latex/tikzscale/README
parent528bd7b580ff2dfe64ef77df5963655a60aa32de (diff)
new pgf/tikz package tikzscale (31oct12)
git-svn-id: svn://tug.org/texlive/trunk@28143 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/doc/latex/tikzscale/README')
-rw-r--r--Master/texmf-dist/doc/latex/tikzscale/README27
1 files changed, 27 insertions, 0 deletions
diff --git a/Master/texmf-dist/doc/latex/tikzscale/README b/Master/texmf-dist/doc/latex/tikzscale/README
new file mode 100644
index 00000000000..4d67aff56fe
--- /dev/null
+++ b/Master/texmf-dist/doc/latex/tikzscale/README
@@ -0,0 +1,27 @@
+----------------------------------------------------------------
+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}
+ or \usepackage[loadFromCurrentDirectory]{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}.
+