# HG changeset patch # User Markus Kaiser # Date 1383606131 -3600 # Node ID c2d858c9c53e6cc720aba54bd23e9c97d77a6833 # Parent 25d752768544af4c5e5f81ba45fb3b8c65159b80 move example graph into example block diff -r 25d752768544 -r c2d858c9c53e notes/tex/basics.tex --- a/notes/tex/basics.tex Tue Oct 29 00:15:10 2013 +0100 +++ b/notes/tex/basics.tex Tue Nov 05 00:02:11 2013 +0100 @@ -341,16 +341,15 @@ \begin{example}[] Sei $R \subseteq [4] \times [4]$ eine Relation über den natürlichen Zahlen. \[ R \defeq \left\{ (1, 1), (1, 2), (2, 3), (2, 4), (3, 3), (3, 4), (4, 3) \right\}\] - \end{example} - \centering - \begin{tikzpicture}[x=5em, y=2.5em] - \path (0, 0) node[pretty] (1) {$1$} - +(1, 0) node[pretty] (2) {$2$} - +(2, 1) node[pretty] (3) {$3$} - +(2, -1) node[pretty] (4) {$4$}; + \centering + \begin{tikzpicture}[x=5em, y=2.5em] + \path (0, 0) node[pretty] (1) {$1$} + +(1, 0) node[pretty] (2) {$2$} + +(2, 1) node[pretty] (3) {$3$} + +(2, -1) node[pretty] (4) {$4$}; - \path[edge] + \path[edge] (1) edge[loop left] (1) (1) edge (2) (2) edge (3) @@ -358,7 +357,8 @@ (3) edge[loop above] (3) (3) edge[bend left] (4) (4) edge[bend left] (3); - \end{tikzpicture} + \end{tikzpicture} + \end{example} \end{frame} \begin{frame}