summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/doc/generic/pgf/text-en/pgfmanual-en-library-3d.tex
diff options
context:
space:
mode:
Diffstat (limited to 'Master/texmf-dist/doc/generic/pgf/text-en/pgfmanual-en-library-3d.tex')
-rw-r--r--Master/texmf-dist/doc/generic/pgf/text-en/pgfmanual-en-library-3d.tex11
1 files changed, 6 insertions, 5 deletions
diff --git a/Master/texmf-dist/doc/generic/pgf/text-en/pgfmanual-en-library-3d.tex b/Master/texmf-dist/doc/generic/pgf/text-en/pgfmanual-en-library-3d.tex
index 76014f5e821..a8f91c7309d 100644
--- a/Master/texmf-dist/doc/generic/pgf/text-en/pgfmanual-en-library-3d.tex
+++ b/Master/texmf-dist/doc/generic/pgf/text-en/pgfmanual-en-library-3d.tex
@@ -15,6 +15,7 @@
shapes.
\end{tikzlibrary}
+
\subsection{Coordinate Systems}
\begin{coordinatesystem}{xyz cylindrical}
@@ -38,7 +39,7 @@
Factor by which the $z$-vector is multiplied.
\end{key}
%
-\begin{codeexample}[]
+\begin{codeexample}[preamble={\usetikzlibrary{3d}}]
\begin{tikzpicture}[->]
\draw (0,0,0) -- (xyz cylindrical cs:radius=1);
\draw (0,0,0) -- (xyz cylindrical cs:radius=1,angle=90);
@@ -70,7 +71,7 @@
Same as |longitude|.
\end{key}
%
-\begin{codeexample}[]
+\begin{codeexample}[preamble={\usetikzlibrary{3d}}]
\begin{tikzpicture}[->]
\draw (0,0,0) -- (xyz spherical cs:radius=1);
\draw (0,0,0) -- (xyz spherical cs:radius=1,latitude=90);
@@ -107,7 +108,7 @@ following options help you to switch to a different plane.
Note that you have to set the units \emph{before} calling
|canvas is plane|.
%
-\begin{codeexample}[]
+\begin{codeexample}[preamble={\usetikzlibrary{3d}}]
\begin{tikzpicture}[
->,
plane x={(0.707,-0.707)},
@@ -187,7 +188,7 @@ following options help you to switch to a different plane.
\subsection{Examples}
-\begin{codeexample}[]
+\begin{codeexample}[preamble={\usetikzlibrary{3d}}]
\begin{tikzpicture}[z={(10:10mm)},x={(-45:5mm)}]
\def\wave{
\draw[fill,thick,fill opacity=.2]
@@ -218,7 +219,7 @@ following options help you to switch to a different plane.
\end{tikzpicture}
\end{codeexample}
-\begin{codeexample}[]
+\begin{codeexample}[preamble={\usetikzlibrary{3d}}]
\begin{tikzpicture}
\begin{scope}[canvas is zy plane at x=0]
\draw (0,0) circle (1cm);