summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/doc/generic/pgf/text-en/pgfmanual-en-tutorial-chains.tex
diff options
context:
space:
mode:
Diffstat (limited to 'Master/texmf-dist/doc/generic/pgf/text-en/pgfmanual-en-tutorial-chains.tex')
-rw-r--r--Master/texmf-dist/doc/generic/pgf/text-en/pgfmanual-en-tutorial-chains.tex34
1 files changed, 17 insertions, 17 deletions
diff --git a/Master/texmf-dist/doc/generic/pgf/text-en/pgfmanual-en-tutorial-chains.tex b/Master/texmf-dist/doc/generic/pgf/text-en/pgfmanual-en-tutorial-chains.tex
index f7b8d211110..725702513fb 100644
--- a/Master/texmf-dist/doc/generic/pgf/text-en/pgfmanual-en-tutorial-chains.tex
+++ b/Master/texmf-dist/doc/generic/pgf/text-en/pgfmanual-en-tutorial-chains.tex
@@ -28,14 +28,14 @@ using pens and rules, it looks like this\footnote{The shown diagram was not scan
% The size:
minimum size=6mm,
% The border:
- very thick,
+ very thick,
draw=red!50!black!50, % 50% red and 50% black,
% and that mixed with 50% white
% The filling:
top color=white, % a shading that is white at the top...
bottom color=red!50!black!20, % and something else at the bottom
% Font
- font=\itshape
+ font=\itshape
},
terminal/.style={
% The shape:
@@ -74,7 +74,7 @@ using pens and rules, it looks like this\footnote{The shown diagram was not scan
\node [support] (after dot) {};
\node [terminal] {digit};
\node [support] (after digit) {};
- \node [support] (skip) {};
+ \node [support] (skip) {};
\node [support] (before E) {};
\node [terminal] {E};
\node [support] (after E) {};
@@ -186,14 +186,14 @@ corners involved. Naturally, she sets up a style:
% The size:
minimum size=6mm,
% The border:
- very thick,
+ very thick,
draw=red!50!black!50, % 50% red and 50% black,
% and that mixed with 50% white
% The filling:
top color=white, % a shading that is white at the top...
bottom color=red!50!black!20, % and something else at the bottom
% Font
- font=\itshape
+ font=\itshape
}]
\node [nonterminal] {unsigned integer};
\end{tikzpicture}
@@ -260,7 +260,7 @@ nodes is not aligned:
\p3 = (E.base)
in (-.5,\y1) -- (3.5,\y1)
(-.5,\y2) -- (3.5,\y2)
- (-.5,\y3) -- (3.5,\y3);
+ (-.5,\y3) -- (3.5,\y3);
\end{tikzpicture}
\end{codeexample}
\noindent (Ilka has moved the style definition to the preamble by
@@ -316,7 +316,7 @@ graphics this is perfectly alright, but it has several disadvantages:
recalculate the coordinates.
\item The source code of the graphic is not very clear since the
relationships between the positions of the nodes are not made
- explicit.
+ explicit.
\end{enumerate}
For these reasons, Ilka decides to try out different ways of arranging
@@ -376,7 +376,7 @@ does not affect anchors, she gets the following result:
\end{tikzpicture}
\end{codeexample}
A third way is to use matrices, which we will do later.
-
+
Now that the nodes have been placed, Ilka needs to add
connections. Here, some connections are more difficult than
other. Consider for instance the ``repeat'' line around the
@@ -397,7 +397,7 @@ Ilka can put this into code as follows:
% start right of digit.east, that is, at the point that is the
% linear combination of digit.east and the vector (2mm,0pt). We
% use the ($ ... $) notation for computing linear combinations
- ($ (digit.east) + (2mm,0) $)
+ ($ (digit.east) + (2mm,0) $)
% Now go down
-- ++(0,-.5)
% And back to the left of digit.west
@@ -425,7 +425,7 @@ setup a style that contains the correct path:
\end{codeexample}
Ilka can even go a step further and make her |skip look| style
-parametrized. For this, the skip loop's vertical offset is passed as
+parameterized. For this, the skip loop's vertical offset is passed as
parameter |#1|. Also, in the following code Ilka specifies the start
and targets differently, namely as the positions that are ``in the
middle between the nodes.''
@@ -472,7 +472,7 @@ containing only the minus node.
&
\node [nonterminal] {unsigned integer}; \\
% Third row:
- & & & & \node [terminal] {-}; & \\
+ & & & & \node [terminal] {-}; & \\
};
\end{tikzpicture}
\end{codeexample}
@@ -606,7 +606,7 @@ option.
When the first branch ends, only the plus node has been added and the
current chain is the original chain once more and we are back to the
|E| node. Now we start a new branch for the minus node. After this
-branch, the current chain ens at |E| node once more.
+branch, the current chain ends at |E| node once more.
Finally, the rightmost unsigned integer is added to the (main) chain,
which is why it is joined correctly with the |E| node. The two
@@ -652,9 +652,9 @@ to be used for the join.
\begin{codeexample}[]
\begin{tikzpicture}[start chain,node distance=5mm and 2mm,
- every node/.style={on chain},
- nonterminal/.append style={join=by ->},
- terminal/.append style={join=by ->},
+ every node/.style={on chain},
+ nonterminal/.append style={join=by ->},
+ terminal/.append style={join=by ->},
point/.style={join=by -,circle,fill=red,minimum size=2pt,inner sep=0pt}]
\node [point] {}; \node [nonterminal] {unsigned integer};
\node [point] {}; \node [terminal] {.};
@@ -693,8 +693,8 @@ node name and optionally some options. The effect is that the named
node is made part of the current chain.
\begin{codeexample}[pre={\tikzset{node distance=5mm and 2mm,
- every node/.style={on chain},
- terminal/.append style={join=by ->},
+ every node/.style={on chain},
+ terminal/.append style={join=by ->},
point/.style={join=by -,circle,fill=red,minimum size=2pt,inner sep=0pt}}}]
\begin{tikzpicture}[start chain] % plus some styles that are not shown
\node [point] {};