[texhax] Need pgf and TikZ

Axel E. Retif axel.retif at mac.com
Sun Jan 10 06:57:01 CET 2016

On 01/09/2016 11:02 PM, Chuck Allison wrote:

> Thank you. But when I run the following file from the documentation, I
> get the attached error.

Please keep the list on Cc ---or, better yet, replay to the list, so 
anyone can correct me, add to my reply or answer your question if I can't.

Also, please read the documentation (with texdoc tikz) or google the 
errors you get ---chances are someone has already had the same problem.

I reproduce the code you copied from the TikZ manual with the necessary 


\usetikzlibrary{automata}%     these two libraries
\usetikzlibrary{positioning}%  were missing

\begin{tikzpicture}[->,shorten >=1pt,auto,node 
state/.style={fill=red,draw=none,text=white}]%           you didn't 
include any
                                 %           options here; I think at
                                 %           these are necessary

\node[initial,state] (A) {$q_a$};%  the option `initial' was missing

\node[state] (B) [above right=of A] {$q_b$};
\node[state] (D) [below right=of A] {$q_d$};
\node[state] (C) [below right=of B] {$q_c$};
\node[state] (E) [below=of D] {$q_e$};
\path (A) edge node {0,1,L} (B)
edge node {1,1,R} (C)
(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)
(D) edge [loop below] node {1,1,R} (D)
edge node {0,1,R} (A)
(E) edge [bend left] node {1,0,R} (A);
\node [right=1cm,text width=8cm] at (C)
The current candidate for the busy beaver for five states. It is
presumed that this Turing machine writes a maximum number of
$1$?s before halting among all Turing machines with five states
and the tape alphabet $\{0, 1\}$. Proving this conjecture is an
open research problem.

With the additions it typesets fine with me.



-------------- next part --------------
A non-text attachment was scrubbed...
Name: Untitled.tiff
Type: image/tiff
Size: 323188 bytes
Desc: not available
URL: <http://tug.org/pipermail/texhax/attachments/20160109/35f0d976/attachment-0001.tiff>

More information about the texhax mailing list