diff --git a/workshops/latex/latex.tex b/workshops/latex/latex.tex index 6d83c5df71cd441a456dc6ae606f3498d114fc40..3552040fea14f4c8309667ddd42494e0ae4b8a72 100644 --- a/workshops/latex/latex.tex +++ b/workshops/latex/latex.tex @@ -305,34 +305,28 @@ \end{frame} \begin{frame}[fragile]{Sections} -\structure{Sections:} -\begin{tikzpicture} -\node[matrix, column sep=4pt, row sep=6pt] { -\node{ - \begin{minipage}[t][20mm][c]{.28\textwidth} - \begin{itemize} - \item Überschriften (automatisch numeriert) - \end{itemize} - \end{minipage} -}; & -\node[draw=blue!20!lightgray, line width=2pt]{ - \begin{minipage}[t][20mm][c]{.3\textwidth} - \lstinputlisting[basicstyle=\notsotiny\ttfamily]{examples/2h.tex} - \end{minipage} -}; & -\node{\includegraphics[width=16pt]{figures/texstudio-compile.pdf}}; & -\node[draw=blue!20!lightgray, line width=2pt]{ - \begin{minipage}[t][50mm][c]{.25\textwidth} - \includegraphics[width=\textwidth,trim=0cm 0cm 0cm 0cm, clip]{examples/2h_fake.pdf} - \end{minipage} -}; -\\ -}; -\end{tikzpicture} +\begin{columns} + \begin{column}{0.4\textwidth} + \structure{Sections} + \begin{itemize} + \item Überschriften (automatisch numeriert): + \begin{tikzpicture} + \node[draw=blue!20!lightgray, line width=2pt]{ + \begin{minipage}[t][22mm][c]{0.7\textwidth} + \lstinputlisting[basicstyle=\notsotiny\ttfamily]{examples/2h.tex} + \end{minipage} + }; + \end{tikzpicture} + \item Inhaltsverzeichnis (automatisch): + \texttt{\textbackslash tableofcontents} + \end{itemize} + \end{column} + \begin{column}{0.5\textwidth} + \includegraphics[width=\textwidth,trim=0cm 0cm 0cm 0cm, clip]{examples/2h_fake.pdf} + \end{column} +\end{columns} \end{frame} - - \begin{frame}[fragile]{Abschnitte und Umgebungen} \structure{Umgebungen:} \begin{tikzpicture}