Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
T
talks
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Iterations
Wiki
Requirements
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Releases
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
osak
talks
Commits
b4f421e9
Commit
b4f421e9
authored
5 years ago
by
Valentin Bruch
Browse files
Options
Downloads
Patches
Plain Diff
presentation: labeled .tex and .pdf; indentation; handout: corrections
parent
54688c25
Branches
Branches containing commit
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
workshops/latex/handout.tex
+2
-3
2 additions, 3 deletions
workshops/latex/handout.tex
workshops/latex/latex.tex
+152
-147
152 additions, 147 deletions
workshops/latex/latex.tex
with
154 additions
and
150 deletions
workshops/latex/handout.tex
+
2
−
3
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}
...
...
This diff is collapsed.
Click to expand it.
workshops/latex/latex.tex
+
152
−
147
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
}
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment