From 43501b14c11da09f8e269e70521b541c3a606848 Mon Sep 17 00:00:00 2001 From: Karl Berry Date: Mon, 11 Mar 2013 23:21:02 +0000 Subject: tikzscale (11mar13) git-svn-id: svn://tug.org/texlive/trunk@29342 c570f23f-e606-0410-a88d-b1316a301751 --- Master/texmf-dist/doc/latex/tikzscale/alt.tikz | 5 ++ .../texmf-dist/doc/latex/tikzscale/invisible.tikz | 4 ++ Master/texmf-dist/doc/latex/tikzscale/only.tikz | 4 ++ Master/texmf-dist/doc/latex/tikzscale/onslide.tikz | 4 ++ Master/texmf-dist/doc/latex/tikzscale/pause.tikz | 5 ++ .../texmf-dist/doc/latex/tikzscale/temporal.tikz | 5 ++ .../doc/latex/tikzscale/test-tikzscale.pdf | Bin 149560 -> 158365 bytes .../doc/latex/tikzscale/test-tikzscale.tex | 2 + .../doc/latex/tikzscale/tikzscale-beamer.tex | 56 +++++++++++++++++++++ .../texmf-dist/doc/latex/tikzscale/tikzscale.pdf | Bin 360971 -> 365247 bytes Master/texmf-dist/doc/latex/tikzscale/uncover.tikz | 4 ++ Master/texmf-dist/doc/latex/tikzscale/visible.tikz | 4 ++ 12 files changed, 93 insertions(+) create mode 100644 Master/texmf-dist/doc/latex/tikzscale/alt.tikz create mode 100644 Master/texmf-dist/doc/latex/tikzscale/invisible.tikz create mode 100644 Master/texmf-dist/doc/latex/tikzscale/only.tikz create mode 100644 Master/texmf-dist/doc/latex/tikzscale/onslide.tikz create mode 100644 Master/texmf-dist/doc/latex/tikzscale/pause.tikz create mode 100644 Master/texmf-dist/doc/latex/tikzscale/temporal.tikz create mode 100644 Master/texmf-dist/doc/latex/tikzscale/tikzscale-beamer.tex create mode 100644 Master/texmf-dist/doc/latex/tikzscale/uncover.tikz create mode 100644 Master/texmf-dist/doc/latex/tikzscale/visible.tikz (limited to 'Master/texmf-dist/doc/latex/tikzscale') diff --git a/Master/texmf-dist/doc/latex/tikzscale/alt.tikz b/Master/texmf-dist/doc/latex/tikzscale/alt.tikz new file mode 100644 index 00000000000..73974caef72 --- /dev/null +++ b/Master/texmf-dist/doc/latex/tikzscale/alt.tikz @@ -0,0 +1,5 @@ +\begin{tikzpicture} + \draw (0,0) rectangle (5,5); + \alt<2> {\draw (0,0) -- ++(5,5) -- ++(-2.5, 2.5) -- ++(-2.5, -2.5) -- (5,0);} + {\draw (0,0) -- ++(5,5) ++(-5, 0) -- ++(5,-5);} +\end{tikzpicture} \ No newline at end of file diff --git a/Master/texmf-dist/doc/latex/tikzscale/invisible.tikz b/Master/texmf-dist/doc/latex/tikzscale/invisible.tikz new file mode 100644 index 00000000000..0b35bd217f7 --- /dev/null +++ b/Master/texmf-dist/doc/latex/tikzscale/invisible.tikz @@ -0,0 +1,4 @@ +\begin{tikzpicture} + \draw (0,0) rectangle (5,5); + \invisible<1>{\draw (0,0) -- ++(5,5) -- ++(-2.5, 2.5) -- ++(-2.5, -2.5) -- (5,0);} +\end{tikzpicture} \ No newline at end of file diff --git a/Master/texmf-dist/doc/latex/tikzscale/only.tikz b/Master/texmf-dist/doc/latex/tikzscale/only.tikz new file mode 100644 index 00000000000..df09c1c86c3 --- /dev/null +++ b/Master/texmf-dist/doc/latex/tikzscale/only.tikz @@ -0,0 +1,4 @@ +\begin{tikzpicture} + \draw (0,0) rectangle (5,5); + \only<2>{\draw (0,0) -- ++(5,5) -- ++(-2.5, 2.5) -- ++(-2.5, -2.5) -- (5,0);} +\end{tikzpicture} \ No newline at end of file diff --git a/Master/texmf-dist/doc/latex/tikzscale/onslide.tikz b/Master/texmf-dist/doc/latex/tikzscale/onslide.tikz new file mode 100644 index 00000000000..0471aac8b61 --- /dev/null +++ b/Master/texmf-dist/doc/latex/tikzscale/onslide.tikz @@ -0,0 +1,4 @@ +\begin{tikzpicture} + \draw (0,0) rectangle (5,5); + \onslide<2>{\draw (0,0) -- ++(5,5) -- ++(-2.5, 2.5) -- ++(-2.5, -2.5) -- (5,0);} +\end{tikzpicture} \ No newline at end of file diff --git a/Master/texmf-dist/doc/latex/tikzscale/pause.tikz b/Master/texmf-dist/doc/latex/tikzscale/pause.tikz new file mode 100644 index 00000000000..6b3d4dd8e09 --- /dev/null +++ b/Master/texmf-dist/doc/latex/tikzscale/pause.tikz @@ -0,0 +1,5 @@ +\begin{tikzpicture} + \draw (0,0) rectangle (5,5); + \pause + \draw (0,0) -- ++(5,5) -- ++(-2.5, 2.5) -- ++(-2.5, -2.5) -- (5,0); +\end{tikzpicture} \ No newline at end of file diff --git a/Master/texmf-dist/doc/latex/tikzscale/temporal.tikz b/Master/texmf-dist/doc/latex/tikzscale/temporal.tikz new file mode 100644 index 00000000000..299bb62dcc0 --- /dev/null +++ b/Master/texmf-dist/doc/latex/tikzscale/temporal.tikz @@ -0,0 +1,5 @@ +\begin{tikzpicture} + \draw (0,0) rectangle (5,5); + \node at (2.5,2.5) {\temporal<2>{before}{now}{after}}; + \onslide<3> {}; % just a small trick to create 3 subframes +\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 1bf5791656c..ead9f9337e3 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 df683a957f8..ee136a80261 100644 --- a/Master/texmf-dist/doc/latex/tikzscale/test-tikzscale.tex +++ b/Master/texmf-dist/doc/latex/tikzscale/test-tikzscale.tex @@ -86,5 +86,7 @@ \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} } + \includegraphics{testRectangle.tikz}}% \end{itemize} \end{document} \ No newline at end of file diff --git a/Master/texmf-dist/doc/latex/tikzscale/tikzscale-beamer.tex b/Master/texmf-dist/doc/latex/tikzscale/tikzscale-beamer.tex new file mode 100644 index 00000000000..d764dcc6dcd --- /dev/null +++ b/Master/texmf-dist/doc/latex/tikzscale/tikzscale-beamer.tex @@ -0,0 +1,56 @@ +\documentclass{beamer} + +\usepackage{tikz} +\usepackage{tikzscale} + +\begin{document} + + \begin{frame} + \frametitle{\textbackslash only} + \framesubtitle{\alt<2>{shown}{hidden}} + \includegraphics[width=0.4\linewidth]{only.tikz} + \end{frame} + + \begin{frame} + \frametitle{\textbackslash visible} + \framesubtitle{\alt<2>{shown}{hidden}} + \includegraphics[width=0.4\linewidth]{visible.tikz} + \end{frame} + + \begin{frame} + \frametitle{\textbackslash invisible} + \framesubtitle{\alt<2>{shown}{hidden}} + \includegraphics[width=0.4\linewidth]{invisible.tikz} + \end{frame} + + \begin{frame} + \frametitle{\textbackslash alt} + \framesubtitle{variant \alt<2>{2}{1}} + \includegraphics[width=0.4\linewidth]{alt.tikz} + \end{frame} + + \begin{frame} + \frametitle{\textbackslash onslide} + \framesubtitle{\alt<2>{shown}{hidden}} + \includegraphics[width=0.4\linewidth]{onslide.tikz} + \end{frame} + + \begin{frame} + \frametitle{\textbackslash uncover} + \framesubtitle{\alt<2>{shown}{hidden}} + \includegraphics[width=0.4\linewidth]{uncover.tikz} + \end{frame} + + \begin{frame} + \frametitle{\textbackslash temporal} + \framesubtitle{\temporal<2>{before}{now}{after}} + \includegraphics[width=0.4\linewidth]{temporal.tikz} + \end{frame} + + \begin{frame} + \frametitle{\textbackslash pause} + \framesubtitle{\alt<2->{shown}{hidden}} + \includegraphics[width=0.4\linewidth]{pause.tikz} + \end{frame} + +\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 fa04ce34c80..652094aa901 100644 Binary files a/Master/texmf-dist/doc/latex/tikzscale/tikzscale.pdf and b/Master/texmf-dist/doc/latex/tikzscale/tikzscale.pdf differ diff --git a/Master/texmf-dist/doc/latex/tikzscale/uncover.tikz b/Master/texmf-dist/doc/latex/tikzscale/uncover.tikz new file mode 100644 index 00000000000..0a0e4464bef --- /dev/null +++ b/Master/texmf-dist/doc/latex/tikzscale/uncover.tikz @@ -0,0 +1,4 @@ +\begin{tikzpicture} + \draw (0,0) rectangle (5,5); + \uncover<2>{\draw (0,0) -- ++(5,5) -- ++(-2.5, 2.5) -- ++(-2.5, -2.5) -- (5,0);} +\end{tikzpicture} \ No newline at end of file diff --git a/Master/texmf-dist/doc/latex/tikzscale/visible.tikz b/Master/texmf-dist/doc/latex/tikzscale/visible.tikz new file mode 100644 index 00000000000..a0845d00706 --- /dev/null +++ b/Master/texmf-dist/doc/latex/tikzscale/visible.tikz @@ -0,0 +1,4 @@ +\begin{tikzpicture} + \draw (0,0) rectangle (5,5); + \visible<2>{\draw (0,0) -- ++(5,5) -- ++(-2.5, 2.5) -- ++(-2.5, -2.5) -- (5,0);} +\end{tikzpicture} \ No newline at end of file -- cgit v1.2.3