summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/doc/latex/tikzscale/alt.tikz
diff options
context:
space:
mode:
Diffstat (limited to 'Master/texmf-dist/doc/latex/tikzscale/alt.tikz')
-rw-r--r--Master/texmf-dist/doc/latex/tikzscale/alt.tikz5
1 files changed, 5 insertions, 0 deletions
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