changeset 134:782316b52e1a

fix displaystyle of fractions; choose randomly from [-1, 1]
author Markus Kaiser <markus.kaiser@in.tum.de>
date Wed, 21 May 2014 18:02:50 +0200
parents b6150ddbcc3d
children c0eb673db33e
files minimum_bisection/presentation.tex minimum_bisection/tikzpictures.tex
diffstat 2 files changed, 9 insertions(+), 9 deletions(-) [+]
line wrap: on
line diff
--- a/minimum_bisection/presentation.tex	Wed May 21 10:57:40 2014 +0200
+++ b/minimum_bisection/presentation.tex	Wed May 21 18:02:50 2014 +0200
@@ -143,7 +143,7 @@
 
         \only<4-> {
             \flowcapacities
-            \node[below=0.2 of b] {\structure{$\rho = \max_{e \in E} \frac{f_e}{c_e} = \frac{10}{2} = 5$}};
+            \node[below=0 of b] {\structure{$\displaystyle\rho = \max_{e \in E} \frac{f_e}{c_e} = \frac{10}{2} = 5$}};
         }
     \end{tikzpicture}
 \end{frame}
@@ -269,7 +269,7 @@
         }
 
         \only<2-> {
-            \node[tumgreen, below=0 of label, anchor=west] {$\lambda_1 = \frac{1}{2}$};
+            \node[tumgreen, below=0 of label, anchor=west] {$\displaystyle\lambda_1 = \frac{1}{2}$};
         }
 
         \only<3> {
@@ -277,7 +277,7 @@
         }
 
         \only<3-> {
-            \node[tumorange, below=0.5 of label, anchor=west] {$\lambda_2 = \frac{1}{2}$};
+            \node[tumorange, below=0.5 of label, anchor=west] {$\displaystyle\lambda_2 = \frac{1}{2}$};
         }
 
         \only<4-> {
@@ -298,7 +298,7 @@
 
         \only<5-> {
             \flowcapacities
-            \node[below=1 of label, anchor=west] {\structure{$\rho = \max_{e \in E} \frac{f_e}{c_e} = \frac{5}{2} = 2.5$}};
+            \node[below=1 of label, anchor=west] {\structure{$\displaystyle\rho = \max_{e \in E} \frac{f_e}{c_e} = \frac{5}{2} = 2.5$}};
         }
     \end{tikzpicture}
 \end{frame}
@@ -394,7 +394,7 @@
         }
 
         \only<2-> {
-            \node[tumgreen, below=0 of label, anchor=west] {$\lambda_1 = \frac{2}{3}$};
+            \node[tumgreen, below=0 of label, anchor=west] {$\displaystyle\lambda_1 = \frac{2}{3}$};
         }
 
         \only<3> {
@@ -402,7 +402,7 @@
         }
 
         \only<3-> {
-            \node[tumorange, below=0.5 of label, anchor=west] {$\lambda_2 = \frac{1}{3}$};
+            \node[tumorange, below=0.5 of label, anchor=west] {$\displaystyle\lambda_2 = \frac{1}{3}$};
         }
 
         \only<4-> {
@@ -431,7 +431,7 @@
 
         \only<5-> {
             \flowcapacities
-            \node[below=1 of label, anchor=west] {\structure{$\rho = \max_{e \in E} \frac{f_e}{c_e} = \frac{6}{4} = 2$}};
+            \node[below=1 of label, anchor=west] {\structure{$\displaystyle\rho = \max_{e \in E} \frac{f_e}{c_e} = \frac{6}{4} = 2$}};
         }
     \end{tikzpicture}
 \end{frame}
--- a/minimum_bisection/tikzpictures.tex	Wed May 21 10:57:40 2014 +0200
+++ b/minimum_bisection/tikzpictures.tex	Wed May 21 18:02:50 2014 +0200
@@ -9,7 +9,7 @@
 \tikzstyle{directed} = [arrows={-latex}, shorten >=1pt]
 \tikzstyle{node on edge} = [fill=white, circle, inner sep=1pt, font=\footnotesize]
 
-\tikzstyle{flow graph} = [x=4em, y=5em]
+\tikzstyle{flow graph} = [x=4em, y=4.5em]
 \tikzstyle{flow node} = [circle, draw, thick, fill=tumblue!20, minimum size=6pt, inner sep=0pt]
 \tikzstyle{flow edge} = [edge]
 \tikzstyle{demand edge} = [edge, line width=2.5pt, arrows={-latex}, dotted, tumred!50]
@@ -24,7 +24,7 @@
 \newcommand{\flownodes}{%
     \pgfmathsetseed{42}
     \def\jiggliness{0.2}
-    \def\jiggle{++ (random * \jiggliness, random * \jiggliness)}
+    \def\jiggle{++ (rand * \jiggliness, rand * \jiggliness)}
 
     \path[use as bounding box] (-4, 2.7) rectangle (3.5,6.15);