summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/doc/generic/pgf/text-en/pgfmanual-en-tikz-scopes.tex
diff options
context:
space:
mode:
Diffstat (limited to 'Master/texmf-dist/doc/generic/pgf/text-en/pgfmanual-en-tikz-scopes.tex')
-rw-r--r--Master/texmf-dist/doc/generic/pgf/text-en/pgfmanual-en-tikz-scopes.tex12
1 files changed, 6 insertions, 6 deletions
diff --git a/Master/texmf-dist/doc/generic/pgf/text-en/pgfmanual-en-tikz-scopes.tex b/Master/texmf-dist/doc/generic/pgf/text-en/pgfmanual-en-tikz-scopes.tex
index 61f0aafb81b..d37579fae65 100644
--- a/Master/texmf-dist/doc/generic/pgf/text-en/pgfmanual-en-tikz-scopes.tex
+++ b/Master/texmf-dist/doc/generic/pgf/text-en/pgfmanual-en-tikz-scopes.tex
@@ -106,8 +106,8 @@ are local to the |{tikzpicture}| to which they apply.
approximation of the bounding box, but will not always be accurate. First,
the line thickness of diagonal lines is not taken into account correctly.
Second, control points of a curve often lie far ``outside'' the curve and
- make the bounding box too large. In this case, you should use the |[use as
- bounding box]| option.
+ make the bounding box too large. In this case, you should use the
+ |[use as bounding box]| option.
The following key influences the baseline of the resulting picture:
%
@@ -140,7 +140,7 @@ $A \mathbin{\tikz[baseline] \draw[->>] (0pt,.5ex) -- (3ex,.5ex);} B$
$y$-coordinate of the resulting point. This makes it easy to reference
the $y$-coordinate of, say, the baseline of nodes.
%
-\begin{codeexample}[]
+\begin{codeexample}[preamble={\usetikzlibrary{shapes.misc}}]
Hello
\tikz[baseline=(X.base)]
\node [cross out,draw] (X) {world.};
@@ -173,7 +173,7 @@ Top align:
accumulate. This option must also be given in the optional argument of
the |{tikzpicture}| environment.
%
-\begin{codeexample}[]
+\begin{codeexample}[preamble={\usetikzlibrary{backgrounds}}]
\begin{tikzpicture}[execute at end picture=%
{
\begin{pgfonlayer}{background}
@@ -358,7 +358,7 @@ When this library is loaded, the following happens: At certain places inside a
\tikzname\ picture, it is allowed to start a scope just using a single brace,
provided the single brace is followed by options in square brackets:
%
-\begin{codeexample}[]
+\begin{codeexample}[preamble={\usetikzlibrary{scopes}}]
\begin{tikzpicture}
{ [ultra thick]
{ [red]
@@ -404,7 +404,7 @@ pair just for a single command, the |\scoped| command may be useful:
semicolon or it may contain multiple commands, but then they must be
surrounded by curly braces.
%
-\begin{codeexample}[]
+\begin{codeexample}[preamble={\usetikzlibrary{backgrounds}}]
\begin{tikzpicture}
\node [fill=white] at (1,1) {Hello world};
\scoped [on background layer]