images/<some>.tex: Add the newly defined `red box' etc. styles.
[diplomarbeit.git] / images / bitonic-merge.tex
index 2ce6e4c..d33dd3b 100644 (file)
@@ -9,10 +9,10 @@
 \path[edge] (8,0) -- (8,9) node at ++(0,.5em) {$v_3$};
 
 \draw[fill=white] (0.75,6) rectangle (4.25,8);
-\path[draw,-,color=red,fill=red!10] (1,6.25) -- (4,7.75) -- (4,6.25) -- cycle;
+\path[red box] (1,6.25) -- (4,7.75) -- (4,6.25) -- cycle;
 
 \draw[fill=white] (4.75,6) rectangle (8.25,8);
-\path[draw,-,color=blue,fill=blue!10] (8,6.25) -- (5,7.75) -- (5,6.25) -- cycle;
+\path[blue box] (8,6.25) -- (5,7.75) -- (5,6.25) -- cycle;
 
 \node[vertex] (v0) at (1,5) {};
 \node[vertex] (v4) at (5,5) {};
 \path[comp] (v3) -- (v7);
 
 \draw[fill=white] (0.75,1) rectangle (4.25,3);
-\path[draw,-,color=red,fill=red!10] (1,1.25) -- (2.4,1.25) -- (2.4,1.95) -- cycle;
-\path[draw,-,color=blue,fill=blue!10] (2.6,1.95) -- (4,1.25) -- (2.6,1.25) -- cycle;
+\path[red box] (1,1.25) -- (2.4,1.25) -- (2.4,1.95) -- cycle;
+\path[blue box] (2.6,1.95) -- (4,1.25) -- (2.6,1.25) -- cycle;
 
 \draw[fill=white] (4.75,1) rectangle (8.25,3);
-\path[draw,-,color=blue,fill=blue!10] (5,2.75) -- (6.4,1.95) -- (6.4,1.25) -- (5,1.25) -- cycle;
-\path[draw,-,color=red,fill=red!10] (6.6,1.95) -- (8,2.75) -- (8,1.25) -- (6.6,1.25) -- cycle;
+\path[blue box] (5,2.75) -- (6.4,1.95) -- (6.4,1.25) -- (5,1.25) -- cycle;
+\path[red box] (6.6,1.95) -- (8,2.75) -- (8,1.25) -- (6.6,1.25) -- cycle;
 
 \end{tikzpicture}