summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/latex/mwe/example-movie.tex
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2018-03-30 21:18:19 +0000
committerKarl Berry <karl@freefriends.org>2018-03-30 21:18:19 +0000
commit127f33983d84beb2d636c2b5cfe5cb650fa1e95e (patch)
tree561a9d51416b405c2bf25b8244b1cffe15656393 /Master/texmf-dist/tex/latex/mwe/example-movie.tex
parent231dbd9437553b69b7de2117d6b2087fcdb443a4 (diff)
mwe (30mar18)
git-svn-id: svn://tug.org/texlive/trunk@47194 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/tex/latex/mwe/example-movie.tex')
-rw-r--r--Master/texmf-dist/tex/latex/mwe/example-movie.tex29
1 files changed, 29 insertions, 0 deletions
diff --git a/Master/texmf-dist/tex/latex/mwe/example-movie.tex b/Master/texmf-dist/tex/latex/mwe/example-movie.tex
new file mode 100644
index 00000000000..6cf98dead44
--- /dev/null
+++ b/Master/texmf-dist/tex/latex/mwe/example-movie.tex
@@ -0,0 +1,29 @@
+% \begin{macrocode}
+%</example-movie.tex>
+%<*example-movie.tex&standalone>
+\documentclass[border=0,tikz]{standalone}
+\usepackage[T1]{fontenc}
+\usepackage{lmodern}
+
+\usepackage{tikz}
+\usetikzlibrary{calc}
+\begin{document}%
+%</example-movie.tex&standalone>
+%<*example-movie.tex>
+\foreach \n in {0,...,60} {%
+\begin{tikzpicture}[x=32bp,y=18bp]% 16x9
+ \clip (0,0) rectangle (10,10);
+ \path [fill=black!25] (0,0) rectangle (10,10);
+ \path [draw,ultra thick] (0,0) rectangle (10,10);
+ \node at (5,7) {\sffamily\Huge Example Movie};
+ \node at (5,4) {\sffamily\Large \ifnum\n=60 01:00\else00:\ifnum\n<10 0\fi\n\fi};
+ \fill [black!45] (2,2) rectangle (8,2.5);
+ \fill [black!65] (2,2) rectangle (2+\n/10,2.5);
+\end{tikzpicture}%
+}%
+%</example-movie.tex>
+%<*example-movie.tex&standalone>
+\end{document}%
+%</example-movie.tex&standalone>
+%<*example-movie.tex>
+% \end{macrocode}