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
b4f421e9
Commit
b4f421e9
authored
Jun 02, 2019
by
Valentin Bruch
Browse files
presentation: labeled .tex and .pdf; indentation; handout: corrections
parent
54688c25
Changes
2
Hide whitespace changes
Inline
Side-by-side
workshops/latex/handout.tex
View file @
b4f421e9
...
...
@@ -353,8 +353,7 @@ Alternativ: \verb|margin=2cm| oder \verb|left=2cm, right=2.5cm|
%\verb|\usepackage[ngerman]{babel} | Silbentrennung\\
\verb
|
\usepackage{polyglossia}
|
Silbentrennung
\\
\verb
|
\setmainlanguage{german}
|
Sprache für Silbentrennung
\\
\verb
|
\usepackage{lmodern}
|
\hfill
schönere Standard-
\LaTeX
-Schrift
\\
%\verb|\usepackage{libertine}|
%\verb|\usepackage{lmodern}|\hfill schönere Standard-\LaTeX-Schrift\\
\verb
|
\usepackage{hyperref}
|
siehe
\autoref
{
sec:references
}
%
\section
{
Referenzen
}
...
...
@@ -510,7 +509,7 @@ Farbthema auswählen: \verb|\usecolortheme{rose}|\\
%
\section
{
Makros
}
Neuen Befehl definieren:
\verb
|
\newcommand{\abc}{ABC}
|
\\
Befehl überschreiben:
\verb
|
\renewcommand{abc}{XYZ}
|
\\
Befehl überschreiben:
\verb
|
\renewcommand{
\
abc}{XYZ}
|
\\
Mit 2 Argumenten:
\verb
|
\newcommand{\innerprod}[2]{(#1,#2)}
|
%
%\section{Fehlermeldungen}
...
...
workshops/latex/latex.tex
View file @
b4f421e9
...
...
@@ -137,163 +137,168 @@
\begin{frame}
[fragile]
{
Umbrüche
}
\structure
{
Zeilen:
}
\vskip
-
\baselineskip
%
\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
Leere Zeile
\\
$
\implies
$
Absatz
\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
Zeilenumbruch manuell:
\texttt
{
\textbackslash\textbackslash
}
\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}
}
;
\\
\node
[matrix, column sep=4pt, row sep=6pt]
{
&
\node
{
\texttt
{
dokument.tex
}}
;
&
&
\node
{
\texttt
{
dokument.pdf
}}
;
\\
\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}
}
;
\end{tikzpicture}
\\
\node
{
\begin{minipage}
[t][10mm][c]
{
.28
\textwidth
}
\begin{itemize}
\item
Leere Zeile
\\
$
\implies
$
Absatz
\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
Zeilenumbruch manuell:
\texttt
{
\textbackslash\textbackslash
}
\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
{
Seiten:
}
\begin{tikzpicture}
\node
[matrix, column sep=4pt, row sep=6pt]
{
\node
{
\begin{minipage}
[t][10mm][c]
{
.28
\textwidth
}
\begin{itemize}
\item
Manuell neue Seite:
\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
}
\includegraphics
[width=\textwidth]
{
figures/newpage.png
}
\end{minipage}
}
;
\\
\node
[matrix, column sep=4pt, row sep=6pt]
{
\node
{
\begin{minipage}
[t][10mm][c]
{
.28
\textwidth
}
\begin{itemize}
\item
Manuell neue Seite:
\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
}
\includegraphics
[width=\textwidth]
{
figures/newpage.png
}
\end{minipage}
}
;
\end{tikzpicture}
\\
}
;
\end{tikzpicture}
\end{frame}
\begin{frame}
[fragile]
{
Formatierung
}
\structure
{
Schrifteinstellungen:
}
\begin{tikzpicture}
\node
[matrix, column sep=4pt, row sep=6pt]
{
\node
{
\begin{minipage}
[t][10mm][c]
{
.28
\textwidth
}
\begin{itemize}
\item
Fontstyle
\end{itemize}
\end{minipage}
}
;
&
\node
[draw=blue!20!lightgray, line width=2pt]
{
\begin{minipage}
[t][10mm][c]
{
.3
\textwidth
}
\lstinputlisting
{
examples/2e.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
}
\textbf
{
fett
}
\textit
{
kursiv
}
\\
\underline
{
unterstrichen
}
\end{minipage}
}
;
\\
\node
{
\begin{minipage}
[t][10mm][c]
{
.28
\textwidth
}
\begin{itemize}
\item
Schriftgröße
\end{itemize}
\end{minipage}
}
;
&
\node
[draw=blue!20!lightgray, line width=2pt]
{
\begin{minipage}
[t][20mm][c]
{
.3
\textwidth
}
\lstinputlisting
{
examples/2f.tex
}
\end{minipage}
}
;
&
\node
{
\includegraphics
[width=16pt]
{
figures/texstudio-compile.pdf
}}
;
&
\node
[draw=blue!20!lightgray, line width=2pt]
{
\begin{minipage}
[t][20mm][c]
{
.25
\textwidth
}
\tiny
tiny
\small
small
\large
large
\\
\Large
Large
\,\LARGE
LARGE
\\
...
\end{minipage}
}
;
\\
\node
{
\begin{minipage}
[t][10mm][c]
{
.28
\textwidth
}
\begin{itemize}
\item
Textfarbe
\end{itemize}
\end{minipage}
}
;
&
\node
[draw=blue!20!lightgray, line width=2pt]
{
\begin{minipage}
[t][10mm][c]
{
.3
\textwidth
}
\lstinputlisting
[basicstyle=\notsotiny\ttfamily]
{
examples/2g.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/2g.tex
}
\end{minipage}
\structure
{
Schrifteinstellungen:
}
\vskip
-
\baselineskip
%
\begin{tikzpicture}
\node
[matrix, column sep=4pt, row sep=6pt]
{
&
\node
{
\texttt
{
dokument.tex
}}
;
&
&
\node
{
\texttt
{
dokument.pdf
}}
;
\\
\node
{
\begin{minipage}
[t][10mm][c]
{
.28
\textwidth
}
\begin{itemize}
\item
Fontstyle
\end{itemize}
\end{minipage}
}
;
&
\node
[draw=blue!20!lightgray, line width=2pt]
{
\begin{minipage}
[t][10mm][c]
{
.3
\textwidth
}
\lstinputlisting
{
examples/2e.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
}
\textbf
{
fett
}
\textit
{
kursiv
}
\\
\underline
{
unterstrichen
}
\end{minipage}
}
;
\\
\node
{
\begin{minipage}
[t][10mm][c]
{
.28
\textwidth
}
\begin{itemize}
\item
Schriftgröße
\end{itemize}
\end{minipage}
}
;
&
\node
[draw=blue!20!lightgray, line width=2pt]
{
\begin{minipage}
[t][20mm][c]
{
.3
\textwidth
}
\lstinputlisting
{
examples/2f.tex
}
\end{minipage}
}
;
&
\node
{
\includegraphics
[width=16pt]
{
figures/texstudio-compile.pdf
}}
;
&
\node
[draw=blue!20!lightgray, line width=2pt]
{
\begin{minipage}
[t][20mm][c]
{
.25
\textwidth
}
\tiny
tiny
\small
small
\large
large
\\
\Large
Large
\,\LARGE
LARGE
\\
...
\end{minipage}
}
;
\\
\node
{
\begin{minipage}
[t][10mm][c]
{
.28
\textwidth
}
\begin{itemize}
\item
Textfarbe
\end{itemize}
\end{minipage}
}
;
&
\node
[draw=blue!20!lightgray, line width=2pt]
{
\begin{minipage}
[t][10mm][c]
{
.3
\textwidth
}
\lstinputlisting
[basicstyle=\notsotiny\ttfamily]
{
examples/2g.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/2g.tex
}
\end{minipage}
}
;
\\
}
;
\\
}
;
\end{tikzpicture}
\end{tikzpicture}
\end{frame}
\begin{frame}
[fragile]
{
Abschnitte
}
...
...
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