Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
osak
talks
Commits
1046d52b
Commit
1046d52b
authored
May 20, 2019
by
Valentin Bruch
Browse files
latex line breaks: converted to tikz matrix
parent
db8a9e29
Changes
1
Hide whitespace changes
Inline
Side-by-side
workshops/latex/latex.tex
View file @
1046d52b
...
...
@@ -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}
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment