von Eshi » So 22. Jan 2012, 11:28
Hallo,
ok, entschuldige. Nehmen wir mal an der Automat sähe so aus:
\documentclass{beamer}
\usepackage[ngerman]{babel}
\usepackage{tikz}
\usetikzlibrary{arrows,automata}
\begin{document}
\begin{frame}
\begin{tikzpicture}
\tikzstyle{every state}=[minimum size=10pt,fill=white,text=black, node distance=1cm]
\tikzstyle{every pin edge}=[<-,shorten <=1pt]
\node[state,shape=circle,accepting,pin=180:] (a) {};
\path[->] (a) edge[loop above] node[above] {$a$} (a);
\end{tikzpicture}
\end{frame}
\begin{frame}
\begin{tikzpicture}
\tikzstyle{every state}=[minimum size=10pt,fill=white,text=black, node distance=1cm]
\tikzstyle{every pin edge}=[<-,shorten <=1pt]
\node[state,shape=circle,accepting,pin=180:] (a) {};
\node[state,shape=circle] (b) [right of = a] {};
\path[->] (a) edge[loop above] node[above] {$a$} (a)
(a) edge node[above] {$b$} (b)
(b) edge[loop above] node[above] {$a,b$} (b)
;
\end{tikzpicture}
\end{frame}
\end{document}
Und ich möchte, dass sich der Automat vom ersten Frame bei einem Klick in den vom zweiten Frame verwandelt, allerdings halt auf einer Folie. Quasi mit einem Overlay

Hallo,
ok, entschuldige. Nehmen wir mal an der Automat sähe so aus:
[code]
\documentclass{beamer}
\usepackage[ngerman]{babel}
\usepackage{tikz}
\usetikzlibrary{arrows,automata}
\begin{document}
\begin{frame}
\begin{tikzpicture}
\tikzstyle{every state}=[minimum size=10pt,fill=white,text=black, node distance=1cm]
\tikzstyle{every pin edge}=[<-,shorten <=1pt]
\node[state,shape=circle,accepting,pin=180:] (a) {};
\path[->] (a) edge[loop above] node[above] {$a$} (a);
\end{tikzpicture}
\end{frame}
\begin{frame}
\begin{tikzpicture}
\tikzstyle{every state}=[minimum size=10pt,fill=white,text=black, node distance=1cm]
\tikzstyle{every pin edge}=[<-,shorten <=1pt]
\node[state,shape=circle,accepting,pin=180:] (a) {};
\node[state,shape=circle] (b) [right of = a] {};
\path[->] (a) edge[loop above] node[above] {$a$} (a)
(a) edge node[above] {$b$} (b)
(b) edge[loop above] node[above] {$a,b$} (b)
;
\end{tikzpicture}
\end{frame}
\end{document} [/code]
Und ich möchte, dass sich der Automat vom ersten Frame bei einem Klick in den vom zweiten Frame verwandelt, allerdings halt auf einer Folie. Quasi mit einem Overlay :-)