{automata} is about the realization of automata (i.e. finite state machines) in (La)TeX

learn more… | top users | synonyms

8
votes
1answer
6k views

How to draw double circle node in tikz?

Consider the following code: \begin{document} \begin{figure} \begin{tikzpicture}[>=stealth',shorten >=1pt,auto,node distance=5 cm, scale = 1, transform shape] \node[initial,state] (A) ...
16
votes
2answers
2k views

How to draw a many edges loop above - tikz

im try to draw many edges loop above in the same node, i have writing : \documentclass{report} \usepackage{tikz} \usetikzlibrary{arrows,positioning,automata,shadows,fit,shapes} \begin{document} ...
6
votes
2answers
6k views

how to decrease the size of a node and a label - tikz package

i trying to draw an automata using tikz package, and i want to decrease the size of node and labels on each edge , im have trying to put the option [scale=0.5] but it doesn't work ! I have : ...
9
votes
1answer
14k views

How to position the labels of the path in automata?

This is my tikz code : \documentclass[a4paper,10pt]{article} \usepackage{verbatim} \usepackage{pgf} \usepackage{tikz} \usetikzlibrary{arrows,automata} \usepackage{graphicx} \usepackage{amssymb} ...
12
votes
1answer
15k views

Change bend angle and swap node position on arrow

I'm trying to draw an automata as follows: \begin{tikzpicture}[>=stealth',shorten >=1pt,auto,node distance=2.8cm] \node[initial,state] (q1) {$1$}; \node[state] (q2) [right ...
3
votes
1answer
2k views

TikZ - game tree representation with continuum of moves

I have been using TikZ to draw game-trees for my game-theory lectures (mostly using the automata package) but I could not figure out how to draw an arc across the edges the leave a given node. When we ...
13
votes
5answers
6k views

TikZ Automata Make An Arrow To Nowhere

I have the following TikZ code: \documentclass{standalone} \usepackage{tikz} \usetikzlibrary{arrows,automata} \begin{document} \begin{tikzpicture}[shorten >=1pt,node ...
4
votes
1answer
1k views

TikZ library automata using option double with shorten

I'm trying to draw an automata using TikZ and the library automata. An accepting state I would like to denote by a double circle but the distance between the two circles should be larger than the ...
4
votes
1answer
1k views

How can I get a counter-clockwise loop with the TikZ automata package?

Using \draw [->] (2) to[loop above] node[auto] {$\beta_2$} (2); I get "clockwise" loop. Is it possible to get a counter-clockwise loop?
8
votes
2answers
6k views

How do you get two lines between nodes that have paths to each other instead of a double ended line? [duplicate]

Possible Duplicate: Double arrow in TIKZ? \begin{tikzpicture} [->,>=stealth',shorten >=1pt,auto,node distance=1.5cm,semithick,font=\tiny] \tikzstyle{every state}= ...
25
votes
3answers
11k views

Moving a label along the path

Friends, consider the following code: \documentclass{article} \usepackage{tikz} \usetikzlibrary{automata,positioning} \begin{document} \pagestyle{empty} \begin{tikzpicture}[shorten >=1pt,node ...
9
votes
1answer
6k views

TikZ automata: size of circle around nodes

I am trying to replace vaucanson-g with TikZ, but I cannot make the automata as small. There seems to be a minimum size of the circle around nodes, that I can't reduce even with inner sep=0. Example ...
3
votes
1answer
2k views

How to style Tikz arrow tip for state-loop?

I want to have a state-node with a loop, where the arrow tip is customized (here with -triangle 60). How do change the arrow tip a loop uses? Heres a short example. I expect the loop to have the same ...
20
votes
2answers
3k views

Arc between arrows in TikZ (automata library)

Here's what I have for now: \begin{tikzpicture}[->,>=stealth',shorten >=1pt,auto,node distance=3.5cm, semithick, bend angle=35] \tikzstyle{every ...
36
votes
3answers
16k views

How to add newline within node using TikZ?

I want to break the input of a path in order to draw Pushdown Automaton,so I try to use the break line symbol \\ and even $$ $$, it still doesnt break the lines. For example, the input should be 0, ...
3
votes
1answer
450 views

How to change the pointing location of an edge to a state using the TikZ automata package?

When there are two nodes pointing to the same node, the picture looks odd because they point to the same location. How can I change the location of pointing? For instance, ...
5
votes
2answers
3k views

How to use three dots and brackets with TikZ to draw Automaton state machine?

I tried to add a curly braces below all the states in order to group them, but I couldn't find a way to make it work. Furthermore, how could I draw a three dots as a state since I need to prove a ...
42
votes
2answers
13k views

Which package can be used to draw automata?

I'm looking for a LaTeX package which helps drawing automata problems. I googled and found A package for drawing automata and graphs (Version 0.4). But I'm not sure is this package a standard one, or ...