summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/doc/generic/pgf/text-en/pgfmanual-en-library-automata.tex
diff options
context:
space:
mode:
Diffstat (limited to 'Master/texmf-dist/doc/generic/pgf/text-en/pgfmanual-en-library-automata.tex')
-rw-r--r--Master/texmf-dist/doc/generic/pgf/text-en/pgfmanual-en-library-automata.tex30
1 files changed, 15 insertions, 15 deletions
diff --git a/Master/texmf-dist/doc/generic/pgf/text-en/pgfmanual-en-library-automata.tex b/Master/texmf-dist/doc/generic/pgf/text-en/pgfmanual-en-library-automata.tex
index 2cc4021316e..2684d96c71d 100644
--- a/Master/texmf-dist/doc/generic/pgf/text-en/pgfmanual-en-library-automata.tex
+++ b/Master/texmf-dist/doc/generic/pgf/text-en/pgfmanual-en-library-automata.tex
@@ -12,7 +12,7 @@
\begin{tikzlibrary}{automata}
This packages provides shapes and styles for drawing finite state
- automata and Turing machines.
+ automata and Turing machines.
\end{tikzlibrary}
@@ -22,7 +22,7 @@ The automata drawing library is intended to make it easy to draw
finite automata and Turing machines. It does not cover every
situation imaginable, but most finite automata and Turing machines
found in text books can be drawn in a nice and convenient fashion
-using this library.
+using this library.
To draw an automaton, proceed as follows:
\begin{enumerate}
@@ -41,8 +41,8 @@ To draw an automaton, proceed as follows:
\end{enumerate}
Let us now see how this works for a real example. Let us consider a
-nondeterminsitic four state automaton that checks whether an contains
-the sequence $0^*1$ or the sequence $1^*0$.
+nondeterministic four state automaton that checks whether an contains
+the sequence $0^*1$ or the sequence $1^*0$.
\begin{codeexample}[]
\begin{tikzpicture}[shorten >=1pt,node distance=2cm,on grid,auto]
\draw[help lines] (0,0) grid (3,2);
@@ -86,7 +86,7 @@ By default, the following state styles are defined:
\draw[help lines] (0,0) grid (3,2);
\node[state without output] {$q_0$};
-
+
\node[state with output] at (2,0) {$q_1$ \nodepart{lower} $00$};
\end{tikzpicture}
\end{codeexample}
@@ -103,7 +103,7 @@ By default, the following state styles are defined:
\end{codeexample}
\end{stylekey}
-\begin{stylekey}{/tikz/every state (initially \normalfont empyt)}
+\begin{stylekey}{/tikz/every state (initially \normalfont empty)}
This style is used by |state with output| and also by
|state without output|. By default, it does nothing, but you can use
it to make your state look more fancy:
@@ -177,10 +177,10 @@ Let us start with the initial states.
\end{stylekey}
\begin{stylekey}{/tikz/initial by diamond}
- This style uses a diamond to indicate an initial node.
+ This style uses a diamond to indicate an initial node.
\end{stylekey}
-For the accepting states, the sitation is similar: There is also an
+For the accepting states, the situation is similar: There is also an
|accepting| style that selects the way accepting states are
rendered. There are now two options: First,
|accepting by arrow|, which works the same way as |initial by arrow|,
@@ -194,7 +194,7 @@ where accepting states get a double line around them.
\end{stylekey}
\begin{stylekey}{/tikz/accepting by double}
- This style causes a double line to be drawn arond a state.
+ This style causes a double line to be drawn around a state.
\end{stylekey}
\begin{stylekey}{/tikz/accepting by arrow}
@@ -217,7 +217,7 @@ where accepting states get a double line around them.
\begin{stylekey}{/tikz/every accepting by arrow (initially \normalfont empty)}
Executed at the beginning of every path that contains
the arrow and the text.
- \end{stylekey}
+ \end{stylekey}
\begin{codeexample}[]
\begin{tikzpicture}
[shorten >=1pt,node distance=2cm,on grid,>=stealth',initial text=,
@@ -260,7 +260,7 @@ In the following example, we once more typeset the automaton presented
in the previous sections. This time, we use the following rule for
accepting/initial state: Initial states are red, accepting states are
green, and normal states are orange. Then, we must find a path from a
-red state to a green state.
+red state to a green state.
\begin{codeexample}[]
\begin{tikzpicture}[shorten >=1pt,node distance=2cm,on grid,>=stealth',thick,
@@ -298,10 +298,10 @@ beaver:
\path [every node/.style={font=\footnotesize}]
(A) edge node {0,1,L} (B)
edge node {1,1,R} (C)
- (B) edge [loop above] node {1,1,L} (B)
+ (B) edge [loop above] node {1,1,L} (B)
edge node {0,1,L} (C)
(C) edge node {0,1,L} (D)
- edge [bend left] node {1,0,R} (E)
+ edge [bend left] node {1,0,R} (E)
(D) edge [loop below] node {1,1,R} (D)
edge node {0,1,R} (A)
(E) edge [bend left] node {1,0,R} (A);
@@ -309,7 +309,7 @@ beaver:
\end{codeexample}
-%%% Local Variables:
+%%% Local Variables:
%%% mode: latex
%%% TeX-master: "pgfmanual-pdftex-version"
-%%% End:
+%%% End: