summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/doc/latex/tikzscale/test-tikzscale.tex
diff options
context:
space:
mode:
Diffstat (limited to 'Master/texmf-dist/doc/latex/tikzscale/test-tikzscale.tex')
-rw-r--r--Master/texmf-dist/doc/latex/tikzscale/test-tikzscale.tex14
1 files changed, 10 insertions, 4 deletions
diff --git a/Master/texmf-dist/doc/latex/tikzscale/test-tikzscale.tex b/Master/texmf-dist/doc/latex/tikzscale/test-tikzscale.tex
index 5048b3a76cf..4678563c9d6 100644
--- a/Master/texmf-dist/doc/latex/tikzscale/test-tikzscale.tex
+++ b/Master/texmf-dist/doc/latex/tikzscale/test-tikzscale.tex
@@ -9,8 +9,8 @@
% Load the MWE package, although its functionality is not needed. The loading highlights, that some graphics used below are part of the MWE package.
\usepackage{mwe}
-% \usepgfplotslibrary{external}
-% \tikzexternalize
+\usetikzlibrary{external}
+\tikzexternalize
% \tikzexternalize[mode=list and make]
\begin{document}
@@ -42,7 +42,7 @@
\includegraphics[width=\linewidth]{example-grid-100x100bp.jpg}%
\item Use \texttt{input} with pgfplots\\%
\input{pgfplots-test.tikz}%
- \item Input a 2D pgfplots
+ \item Input a 2D pgfplots\\
\input{testgraphic2D.tikz}%
\item Use pgfplots without optional parameter\\%
\includegraphics{pgfplots-test}%
@@ -57,7 +57,13 @@
\item Use includegraphics with a scaled two dimensional plot with line width and an axis ratio of 1\\%
\includegraphics[width=\linewidth,axisratio=1]{testgraphic2D.tikz}%
\item Use includegraphics with a scaled two dimensional plot with given height and an axis ratio of 0.5\\%
- \includegraphics[height=1\linewidth,axisratio=0.5]{testgraphic2D.tikz}%
+ \includegraphics[height=\linewidth,axisratio=0.5]{testgraphic2D.tikz}%
+ \item Use includegraphics with a scaled two dimensional plot with given height and an axis ratio of 0.5 and temporarily deactivated externalization\\%
+ \tikzexternaldisable
+ \includegraphics[height=\linewidth,axisratio=0.5]{testgraphic2D.tikz}%
+ \tikzexternalenable
+ \item Use includegraphics with a scaled two dimensional plot with given height and an axis ratio of 0.5 again\\%
+ \includegraphics[height=\linewidth,axisratio=0.5]{testgraphic2D.tikz}%
\item Use includegraphics with a scaled two dimensional plot with line width and a default axis ratio\\%
\includegraphics[width=\linewidth]{testgraphic2D.tikz}%
\item Input a two dimensional plot with a tight frame with width \newlength{\mylen}\settowidth{\mylen}{\frame{\input{testgraphic2D.tikz}}}\the\mylen\\%