From 65584515fae90cb841013293062146b9b94a78a4 Mon Sep 17 00:00:00 2001
From: Stefan Heimersheim <stefan.heimersheim@rwth-aachen.de>
Date: Mon, 20 May 2019 19:05:22 +0200
Subject: [PATCH] Added tikz box around first example

---
 workshops/latex/latex.tex | 29 +++++++++++++++++++++++++++--
 1 file changed, 27 insertions(+), 2 deletions(-)

diff --git a/workshops/latex/latex.tex b/workshops/latex/latex.tex
index 3f18308..ac22e08 100644
--- a/workshops/latex/latex.tex
+++ b/workshops/latex/latex.tex
@@ -107,10 +107,35 @@
 
 \begin{frame}[fragile]{Zeilenumbrüche}
 	\structure{Neue Zeile:}
+	\begin{columns}
+		\begin{column}{0.3\textwidth}
+			\begin{itemize}
+				\item Zeilen ignoriert
+			\end{itemize}
+		\end{column}
+		\begin{column}{0.35\textwidth}
+			\begin{tikzpicture}[even odd rule, scale=1]
+				\coordinate (text) at (0,0);
+				\filldraw[fill=blue!25!lightgray, draw=blue!25!lightgray] (0,0)
+				rectangle (\textwidth, -.5\textwidth) (2pt,-2pt)
+				rectangle (\textwidth-2pt, -.5\textwidth+2pt);
+				\node[anchor=north west] at (4pt, -12pt) {\begin{minipage}[t][.5\textwidth-12pt][t]{\textwidth-12pt}
+					\centering
+					\begin{verbatim}
+						Zeile 1.
+						Zeile 2.
+					\end{verbatim}
+				\end{minipage}
+				};
+			\end{tikzpicture}
+		\end{column}
+		\begin{column}{0.35\textwidth}
+			Zeile 1.
+			Zeile 2.
+		\end{column}
+	\end{columns}
 	\begin{itemize}
-		\item Zeilen ignoriert: Listing -->
 		%todo Listing Makro, schoene boxen und so
-		\includegraphics[]{2a_umbruch.pdf}
 		\item Leere Zeile $\rightarrow$ \includegraphics[]{2b_umbruch.pdf}
 		\item Manueller Zeilenumbruch: \includegraphics[]{2c_umbruch.pdf}
 	\end{itemize}
-- 
GitLab