Commit 1046d52b authored by Valentin Bruch's avatar Valentin Bruch
Browse files

latex line breaks: converted to tikz matrix

parent db8a9e29
......@@ -134,63 +134,93 @@
\begin{frame}[fragile]{Zeilenumbrüche}
\structure{Neue Zeile:}
\begin{columns}
\begin{column}{0.3\textwidth}
\begin{itemize}
\item Zeilen im \texttt{.tex} ignoriert
\end{itemize}
\end{column}
\begin{column}{0.35\textwidth}
\marginbox{\textwidth}{\lstinputlisting{examples/2a_umbruch.tex}}
\end{column}
\begin{column}{0.35\textwidth}
\marginbox{\textwidth}{\input{examples/2a_umbruch.tex}}
\end{column}
\end{columns}
\begin{columns}
\begin{column}{0.3\textwidth}
\begin{itemize}
\item Absatz: Leere Zeile
\end{itemize}
\end{column}
\begin{column}{0.35\textwidth}
\marginbox{\textwidth}{\lstinputlisting{examples/2b_umbruch.tex}}
\end{column}
\begin{column}{0.35\textwidth}
\marginbox{\textwidth}{\input{examples/2b_umbruch.tex}}
\end{column}
\end{columns}
\begin{columns}
\begin{column}{0.3\textwidth}
\begin{itemize}
\item Manueller Zeilenumbruch
\end{itemize}
\end{column}
\begin{column}{0.35\textwidth}
\marginbox{\textwidth}{\lstinputlisting{examples/2c_umbruch.tex}}
\end{column}
\begin{column}{0.35\textwidth}
\marginbox{\textwidth}{\input{examples/2c_umbruch.tex}}
\end{column}
\end{columns}
\structure{Neue Seite:}
\begin{columns}
\begin{column}{0.3\textwidth}
\begin{itemize}
\item Manueller Seitenumbruch
\end{itemize}
\end{column}
\begin{column}{0.35\textwidth}
\marginbox{\textwidth}{\lstinputlisting{examples/2d_umbruch.tex}}
\end{column}
\begin{column}{0.35\textwidth}
Foto
\end{column}
\end{columns}
\structure{Neue Zeile:}
\begin{tikzpicture}
\node[matrix, column sep=4pt, row sep=6pt] {
\node{
\begin{minipage}[t][10mm][c]{.28\textwidth}
\begin{itemize}
\item Zeilen im \texttt{.tex} ignoriert
\end{itemize}
\end{minipage}
}; &
\node[draw=blue!20!lightgray, line width=2pt]{
\begin{minipage}[t][10mm][c]{.3\textwidth}
\lstinputlisting{examples/2a_umbruch.tex}
\end{minipage}
}; &
\node{\includegraphics[width=16pt]{figures/texstudio-compile.pdf}}; &
\node[draw=blue!20!lightgray, line width=2pt]{
\begin{minipage}[t][10mm][c]{.25\textwidth}
\input{examples/2a_umbruch.tex}
\end{minipage}
};
\\
\node{
\begin{minipage}[t][10mm][c]{.28\textwidth}
\begin{itemize}
\item Absatz: Leere Zeile
\end{itemize}
\end{minipage}
}; &
\node[draw=blue!20!lightgray, line width=2pt]{
\begin{minipage}[t][10mm][c]{.3\textwidth}
\lstinputlisting{examples/2b_umbruch.tex}
\end{minipage}
}; &
\node{\includegraphics[width=16pt]{figures/texstudio-compile.pdf}}; &
\node[draw=blue!20!lightgray, line width=2pt]{
\begin{minipage}[t][10mm][c]{.25\textwidth}
\input{examples/2b_umbruch.tex}
\end{minipage}
};
\\
\node{
\begin{minipage}[t][10mm][c]{.28\textwidth}
\begin{itemize}
\item Manueller Zeilenumbruch
\end{itemize}
\end{minipage}
}; &
\node[draw=blue!20!lightgray, line width=2pt]{
\begin{minipage}[t][10mm][c]{.3\textwidth}
\lstinputlisting{examples/2c_umbruch.tex}
\end{minipage}
}; &
\node{\includegraphics[width=16pt]{figures/texstudio-compile.pdf}}; &
\node[draw=blue!20!lightgray, line width=2pt]{
\begin{minipage}[t][10mm][c]{.25\textwidth}
\input{examples/2c_umbruch.tex}
\end{minipage}
};
\\
};
\end{tikzpicture}
\structure{Neue Seite:}
\begin{tikzpicture}
\node[matrix, column sep=4pt, row sep=6pt] {
\node{
\begin{minipage}[t][10mm][c]{.28\textwidth}
\begin{itemize}
\item Manueller Seitenumbruch
\end{itemize}
\end{minipage}
}; &
\node[draw=blue!20!lightgray, line width=2pt]{
\begin{minipage}[t][10mm][c]{.3\textwidth}
\lstinputlisting{examples/2d_umbruch.tex}
\end{minipage}
}; &
\node{\includegraphics[width=16pt]{figures/texstudio-compile.pdf}}; &
\node[draw=blue!20!lightgray, line width=2pt]{
\begin{minipage}[t][10mm][c]{.25\textwidth}
Foto
\end{minipage}
};
\\
};
\end{tikzpicture}
\end{frame}
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment