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.tex4
1 files changed, 4 insertions, 0 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 c6ba16ff87f..023efec0855 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
@@ -22,6 +22,7 @@ looks like this%
\tikzname. The jittering lines were created using the |random steps|
decoration.}:
%
+\begin{codeexample}[setup code, hidden]
\tikzset{
nonterminal/.style={
% The shape:
@@ -48,6 +49,7 @@ decoration.}:
font=\ttfamily},
skip loop/.style={to path={-- ++(0,#1) -| (\tikztotarget)}}
}
+\end{codeexample}
{
\tikzset{terminal/.append style={text height=1.5ex,text depth=.25ex}}
@@ -333,9 +335,11 @@ borders separated by |node distance|.
Ilka can use this to draw the place the nodes in a long row:
%
+\begin{codeexample}[setup code,hidden]
\tikzset{terminal/.append style={text height=1.5ex,text depth=.25ex}}
\tikzset{nonterminal/.append style={text height=1.5ex,text
depth=.25ex}}
+\end{codeexample}
\begin{codeexample}[]
\begin{tikzpicture}[node distance=5mm and 5mm]
\node (ui1) [nonterminal] {unsigned integer};