Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
T
talks
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Locked Files
Issues
0
Issues
0
List
Boards
Labels
Service Desk
Milestones
Iterations
Merge Requests
0
Merge Requests
0
Requirements
Requirements
List
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Test Cases
Security & Compliance
Security & Compliance
Dependency List
License Compliance
Operations
Operations
Incidents
Environments
Analytics
Analytics
CI / CD
Code Review
Insights
Issue
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
osak
talks
Commits
83561080
Commit
83561080
authored
Jun 02, 2019
by
Valentin Bruch
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
handout: layout, small corrections
parent
bac91a39
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
14 additions
and
13 deletions
+14
-13
workshops/latex/handout.tex
workshops/latex/handout.tex
+14
-13
No files found.
workshops/latex/handout.tex
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 m
eistens m
it 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}
Write
Preview
Markdown
is supported
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