From e7d5962cb25a83a847dcd4cbb693779486262433 Mon Sep 17 00:00:00 2001 From: Karl Berry Date: Wed, 22 May 2013 23:11:03 +0000 Subject: tikzscale (22may13) git-svn-id: svn://tug.org/texlive/trunk@30637 c570f23f-e606-0410-a88d-b1316a301751 --- Master/texmf-dist/doc/latex/tikzscale/3Dplot.tikz | 10 ++++++++++ .../doc/latex/tikzscale/test-tikzscale.pdf | Bin 156394 -> 177022 bytes .../doc/latex/tikzscale/test-tikzscale.tex | 7 +++++-- .../texmf-dist/doc/latex/tikzscale/tikzscale.pdf | Bin 365963 -> 375085 bytes 4 files changed, 15 insertions(+), 2 deletions(-) create mode 100644 Master/texmf-dist/doc/latex/tikzscale/3Dplot.tikz (limited to 'Master/texmf-dist/doc/latex') diff --git a/Master/texmf-dist/doc/latex/tikzscale/3Dplot.tikz b/Master/texmf-dist/doc/latex/tikzscale/3Dplot.tikz new file mode 100644 index 00000000000..2875de72c2e --- /dev/null +++ b/Master/texmf-dist/doc/latex/tikzscale/3Dplot.tikz @@ -0,0 +1,10 @@ +\tdplotsetmaincoords{77}{-8}% +\begin{tikzpicture}[tdplot_main_coords] + x={(2 cm, 2 cm)},% + y={(2 cm, 2 cm)},% + z={(2 cm, 2 cm)}% + ]% + \draw [->] (0,0,0) -- (1,0,0) node[below] {$x_1$};% + \draw [->] (0,0,0) -- (0,0,1) node[left] {$x_2$};% + \draw [->] (0,0,0) -- (0,1,0) node[left] {$x_3$};% +\end{tikzpicture}% \ No newline at end of file diff --git a/Master/texmf-dist/doc/latex/tikzscale/test-tikzscale.pdf b/Master/texmf-dist/doc/latex/tikzscale/test-tikzscale.pdf index 4691263c711..3822448fc38 100644 Binary files a/Master/texmf-dist/doc/latex/tikzscale/test-tikzscale.pdf and b/Master/texmf-dist/doc/latex/tikzscale/test-tikzscale.pdf differ diff --git a/Master/texmf-dist/doc/latex/tikzscale/test-tikzscale.tex b/Master/texmf-dist/doc/latex/tikzscale/test-tikzscale.tex index 5682c7a4356..efcfd66d551 100644 --- a/Master/texmf-dist/doc/latex/tikzscale/test-tikzscale.tex +++ b/Master/texmf-dist/doc/latex/tikzscale/test-tikzscale.tex @@ -4,6 +4,7 @@ \usepackage{tikzscale} \usepackage{tikz} \usepackage{pgfplots} +\usepackage{tikz-3dplot} \usepackage{currfile} \usepackage{lmodern} % Use the package ifpdf to share one test document between pdflatex and latex @@ -13,8 +14,8 @@ \usetikzlibrary{external} \tikzexternalize -% \tikzexternaldisable % activate this line and test without "shell-escape" and withouth \tikzexternalenable below % \tikzexternalize[mode=list and make] +% \tikzexternaldisable % activate this line and test without "shell-escape" and without \tikzexternalenable below \ifpdf \else \tikzset{external/system call={latex \tikzexternalcheckshellescape -halt-on-error -interaction=batchmode -jobname "\image" "\texsource"; dvips -o "\image".ps "\image".dvi}} @@ -87,7 +88,9 @@ \fi \item Use includegraphics with a histogram of a normal distribution\\% \includegraphics[width=\linewidth,height=0.5\linewidth]{histogramNormal}% - \item {Use \texttt{\textbackslash graphicspath} with superfluous space\graphicspath{{somefolder} } + \item {Use \texttt{\textbackslash graphicspath} with superfluous space\graphicspath{{somefolder} } (only defined locally for the current item) \includegraphics{testRectangle.tikz}}% + \item Use a tikz-3Dplot, which is known to have a different size after externalization compared to the measurements without externalization and is thus rebuilt every time if the counter-measurements are not successful.\\% + \includegraphics[width=\linewidth]{3Dplot} \end{itemize} \end{document} \ No newline at end of file diff --git a/Master/texmf-dist/doc/latex/tikzscale/tikzscale.pdf b/Master/texmf-dist/doc/latex/tikzscale/tikzscale.pdf index 8de4c571b77..8702f0ba8e0 100644 Binary files a/Master/texmf-dist/doc/latex/tikzscale/tikzscale.pdf and b/Master/texmf-dist/doc/latex/tikzscale/tikzscale.pdf differ -- cgit v1.2.3