我无法使用 LaTeX 创建此自动机:
\documentclass{article}
\usepackage{pgf}
\usepackage{tikz}
\usetikzlibrary{arrows,automata}
\usepackage[latin1]{inputenc}
\begin{document}
\begin{tikzpicture}[->,>=stealth',shorten >=1pt,auto,node distance=2.8cm,semithick]
\node[initial,state] (A) {$1$};
\node[state] (B) [right of=A] {$2$};
\node[state] (C) [right of=B] {$3$};
\path
(A) edge node {\t,\n,' '} (B)
(B) edge node {other} (C);
\end{tikzpicture}
\end{document}
错误:
(A) edge node {\t,\n,' '} (B)