summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/doc/generic/pgf/text-en/pgfmanual-en-library-views.tex
diff options
context:
space:
mode:
Diffstat (limited to 'Master/texmf-dist/doc/generic/pgf/text-en/pgfmanual-en-library-views.tex')
-rw-r--r--Master/texmf-dist/doc/generic/pgf/text-en/pgfmanual-en-library-views.tex8
1 files changed, 4 insertions, 4 deletions
diff --git a/Master/texmf-dist/doc/generic/pgf/text-en/pgfmanual-en-library-views.tex b/Master/texmf-dist/doc/generic/pgf/text-en/pgfmanual-en-library-views.tex
index c7724e72c47..0a14a10163e 100644
--- a/Master/texmf-dist/doc/generic/pgf/text-en/pgfmanual-en-library-views.tex
+++ b/Master/texmf-dist/doc/generic/pgf/text-en/pgfmanual-en-library-views.tex
@@ -50,7 +50,7 @@ it easy to create animations in which you zoom in, zoom out, and pan a graphic.
inside the window rectangle.
\end{enumerate}
%
-\begin{codeexample}[]
+\begin{codeexample}[preamble={\usetikzlibrary{views}}]
\tikz {
\draw [red, very thick] (0,0) rectangle (20mm,20mm);
\begin{scope}[meet = {(0.5,0.5) (2.5,1.5) at (0,0) (2,2)}]
@@ -59,7 +59,7 @@ it easy to create animations in which you zoom in, zoom out, and pan a graphic.
\end{scope} }
\end{codeexample}
%
-\begin{codeexample}[]
+\begin{codeexample}[preamble={\usetikzlibrary{views}}]
\tikz {
\draw [red, very thick] (0,0) rectangle (20mm,20mm);
\begin{scope}[slice = {(0.5,0.5) (2.5,1.5) at (0,0) (2,2)}]
@@ -73,7 +73,7 @@ it easy to create animations in which you zoom in, zoom out, and pan a graphic.
the |meet| command as the target object and then animate its |:view|
attribute:
%
-\begin{codeexample}[]
+\begin{codeexample}[preamble={\usetikzlibrary{animations,views}}]
\tikz [animate = {
my scope:view = {
begin on = { click, of next = here },
@@ -92,7 +92,7 @@ it easy to create animations in which you zoom in, zoom out, and pan a graphic.
You can, of course, also specify the animation using the |animate myself:|
key when you specify the animation inside the scope:
%
-\begin{codeexample}[]
+\begin{codeexample}[preamble={\usetikzlibrary{animations,views}}]
\tikz [animate = {
my scope:view = {
}}] {