[OS X TeX] finite state machines

Eric DÉTREZ ericd13 at mac.com
Mon Dec 29 15:16:11 EST 2008


Le 29 déc. 08 à 20:58, Art Werschulz a écrit :

> Hi.
>
> What do people generally use for producing the diagrams for finite  
> state automata?  I'm currently using xymatrix.  Is there anything  
> better?
>
> I need to produce circular (and double-circular) nodes that are just  
> big enough to hold a given chunk of text, e.g., something like  
> \node{$q_1$} or \acceptnode{$q_3$}.  I also would like to draw ovals  
> that are just big enough to surround a larger chnuk of text, such as  
> \ovalnode{Door closed}.
>
> Suggestions?

You could try Tikz

There is a module automata and it's a very powerful drawing tool (you  
type commands inside tex source).

A nice site with examples :
http://www.texample.net/

Eric DÉTREZ
Maths PC* & Info MP-MP*
Lycée Faidherbe Lille






More information about the MacOSX-TeX mailing list