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
83561080
Commit
83561080
authored
6 years ago
by
Valentin Bruch
Browse files
Options
Downloads
Patches
Plain Diff
handout: layout, small corrections
parent
bac91a39
No related branches found
No related tags found
No related merge requests found
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
workshops/latex/handout.tex
+14
-13
14 additions, 13 deletions
workshops/latex/handout.tex
with
14 additions
and
13 deletions
workshops/latex/handout.tex
+
14
−
13
View file @
83561080
...
...
@@ -21,7 +21,7 @@
\RedeclareSectionCommand
[
%runin=false,
afterindent=false,
beforeskip=.
3
\baselineskip
,
beforeskip=.
4
\baselineskip
,
afterskip=.2
\baselineskip
]
{
section
}
\RedeclareSectionCommand
[
%runin=false,
...
...
@@ -55,22 +55,22 @@
\setlength
{
\belowdisplayskip
}{
4pt
}
% space below equations
\section
{
Installation
}
\begin{itemize}
\item
LaTeX
d
istribution installieren:
\item
\
LaTeX
{}
-D
istribution installieren:
\begin{itemize}
[topsep=1pt, partopsep=1pt]
\item
Linux:
\textbf
{
TeX Live
}
(Paket
\texttt
{
texlive
}
)
\item
Linux:
\textbf
{
TeX Live
}
(
suche
Paket
\texttt
{
texlive
}
)
\item
Windows:
\textbf
{
MiKTeX
}
herunterladen
\item
MacOS:
\textbf
{
MacTeX
}
\end{itemize}
\item
Pakete größtenteils vorinstalliert, ansonsten mit Paketmanager nachinstallieren
%hinschreiben?
\item
Praktischer Editor
,
z.
\,
B.
\textbf
{
TeXstudio
}
\item
Praktischer Editor
:
z.
\,
B.
\textbf
{
TeXstudio
}
\end{itemize}
\section
{
Grundlagen
}
Idee: Textdatei
\texttt
{
dokument.
{
\bfseries
tex
}}
$
\mapsto
$
\texttt
{
dokument.
{
\bfseries
pdf
}}
Idee: Textdatei
\texttt
{
dokument.
{
\bfseries
tex
}}
\smash
{$
\overset
{
\text
{
\LaTeX
}}
\mapsto
$
}
\texttt
{
dokument.
{
\bfseries
pdf
}}
%
\subsection
{
Befehle in
\LaTeX
}
Formatierung wird durch Befehle erzeugt:
\\
\verb
|
\Befehl[
|
\emph
{
optionale Argumente
}
\verb
|
]{
|
\emph
{
Argument (falls nötig)
}
\verb
|
}
|
\\
\emph
{
optionale Argumente
}
sind mit Kommata getrennt.
\\
\emph
{
optionale Argumente
}
sind
meistens
mit Kommata getrennt.
\\
\texttt\%
-Zeichen kommentiert den Rest der Zeile aus.
%
\subsection
{
Grundstruktur jedes
{
\LaTeX
}
-Dokuments
}
...
...
@@ -119,15 +119,15 @@ Lokal andere Schriftgröße (global: siehe \autoref{sec:präambel}):\\
\begin{itemize}
\item
halbes Leerzeichen:
\verb
|
z.\,B.
|
oder
\verb
|
80\,kg
|
\item
geschütztes Leerzeichen:
\verb
|
G.~Geier
|
\item
\verb
|
\%
|
$
\mapsto
$
\%
\
hfill
\verb
|
\&
|
$
\mapsto
$
\&
\
hfill
\verb
|
\#
|
$
\mapsto
$
\#
\
hfill
\verb
|
\$
|
$
\mapsto
$
\$
\item
\verb
|
\textbackslash
|
$
\mapsto
$
\textbackslash
\
hfill
\verb
|
\{
|
$
\mapsto
$
\{
\
hfill
\verb
|
\}
|
$
\mapsto
$
\}
\item
\verb
|
\%
|
$
\mapsto
$
\%
\
qquad
\verb
|
\&
|
$
\mapsto
$
\&
\
qquad
\verb
|
\#
|
$
\mapsto
$
\#
\
qquad
\verb
|
\$
|
$
\mapsto
$
\$
\item
\verb
|
\textbackslash
|
$
\mapsto
$
\textbackslash
\
qquad
\verb
|
\{
|
$
\mapsto
$
\{
\
qquad
\verb
|
\}
|
$
\mapsto
$
\}
%\item \%, \&, \#, \$: \texttt{\textbackslash\%, \textbackslash\&, \textbackslash\#, \textbackslash\$}
%\item \textbackslash, \{, \}: \texttt{\textbackslash textbackslash, \textbackslash\{, \textbackslash\}}
\item
Anführungszeichen:
\verb
|
\enquote{Zitat}
|
%oder \verb|``Zitat''|
%Nutzt \emph{nicht} \verb|"Zitat"|
\end{itemize}
%
\section
{
Umgebungen
}
\section
{
Einfache
Umgebungen
}
Syntax von Umgebungen:
\begin{addmargin}
[1em]
{
0em
}
\verb
|
\begin{
|
\emph
{
Umgebung
}
\verb
|
}
|
oder
\\
...
...
@@ -521,8 +521,9 @@ Mit 2 Argumenten: \verb|\newcommand{\innerprod}[2]{(#1,#2)}|
\item
Speziellere Fragen:
\url
{
https://tex.stackexchange.com
}
\item
Für einzelne Pakete: RTFM
\footnote
{
\enquote
{
Read the fucking manual
}}
%\item Zum OSAK: \url{https://osak.fsmpi.rwth-aachen.de}
\end{itemize}
\begin{tikzpicture}
[remember picture, overlay, anchor=south east]
\node
[xshift=-4mm, yshift=4mm]
(logo) at (current page.south east)
{
\includegraphics
[width=.4\linewidth]
{
osak-logo.pdf
}}
;
\end{tikzpicture}
\end{itemize}
%
\vspace*
{
-
\baselineskip
}
%
\begin{tikzpicture}
[remember picture, overlay, anchor=south east]
%
\node
[xshift=-4mm, yshift=2mm]
(logo) at (current page.south east)
{
\includegraphics
[width=.4\linewidth]
{
osak-logo.pdf
}}
;
%
\end{tikzpicture}
%
\end{document}
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