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
9aeec371
Commit
9aeec371
authored
6 years ago
by
Julian Rother
Browse files
Options
Downloads
Plain Diff
Merge branch 'master' of git.fsmpi.rwth-aachen.de:osak/talks
parents
d7832651
3dc6212f
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
+18
-13
18 additions, 13 deletions
workshops/latex/handout.tex
with
18 additions
and
13 deletions
workshops/latex/handout.tex
+
18
−
13
View file @
9aeec371
\documentclass
[twocolumn, a4paper, 10pt, DIV=20, ngerman]
{
scrartcl
}
\documentclass
[twocolumn, a4paper, 10pt, ngerman]
{
scrartcl
}
\usepackage
[top=16mm, bottom=10mm, inner=10mm, outer=12mm]
{
geometry
}
\usepackage
{
fontspec
}
\usepackage
{
polyglossia
}
\usepackage
{
csquotes
}
...
...
@@ -39,7 +40,7 @@
\usepackage
{
scrlayer-scrpage
}
\clearscrheadfoot
{}
%
\ihead
{
\LaTeX
-Cheatsheet
}
%
\ohead
{
was soll hier stehen?
}
%
\ohead
{
OSAK
}
%
\KOMAoptions
{
headsepline=true
}
%
\newcolumntype
{
R
}
[1]
{
>
{
\raggedleft\let\newline\\\arraybackslash
}
p
{
#1
}}
...
...
@@ -77,7 +78,8 @@ Pakete installieren?\\
\end{itemize}
\vspace*
{
-4pt
}
%
\begin{minipage}
{
.3
\linewidth
}
\scriptsize
\verb
|
\scriptsize
|
\tiny
\verb
|
\tiny
|
\qquad
\scriptsize
\verb
|
\scriptsize
|
\hfill
\footnotesize
\verb
|
\footnotesize
|
\small
\verb
|
\small
|
\normalsize
\verb
|
\normalsize
|
...
...
@@ -111,8 +113,8 @@ Syntax von Umgebungen:
\end{addmargin}
\begin{tabular}
{
@
{}
p
{
.25
\linewidth
}
p
{
.75
\linewidth
-
\tabcolsep
}}
\emph
{
Umgebung
}
&
Effekt
\\
\texttt
{
raggedright
}
&
Text
rechts ausgefranst
\\
\texttt
{
raggedleft
}
&
\hfill
Text
links ausgefranst
\\
\texttt
{
raggedright
}
&
Text
linksbündig
\\
\texttt
{
raggedleft
}
&
\hfill
Text
rechtsbündig
\\
\texttt
{
center
}
&
\centering
zentrierter Text
\end{tabular}
%
...
...
@@ -133,10 +135,10 @@ Syntax von Umgebungen:
%\item \texttt{amsmath}: Wird von \texttt{mathtools} geladen.
\item
\texttt
{
amssymb
}
,
\texttt
{
amsfonts
}
: noch mehr Symbole und Fonts.
\item
\texttt
{
mathrsfs
}
: Script Font, z.
\,
B.
\verb
|
\mathscr{N}
|
:
$
\mathscr
{
N
}$
%
\item \texttt{dsfont} Fancy font für z.\,B. \verb|\mathds{1}|: $\mathds1$
\item
\texttt
{
dsfont
}
Fancy font für z.
\,
B.
\verb
|
\mathds{1}
|
:
$
\mathds
1
$
%\item \texttt{mathbbol}: erweitert \verb|\mathbb\|
%\item \texttt{mathdots}: Punkte in Matrizen
\item
\texttt
{
braket
}
: für Physiker, Dira
k
notation
\item
\texttt
{
braket
}
: für Physiker, Dira
c
notation
\item
\texttt
{
amsthm
}
: für Mathematiker, Umgebung
\texttt
{
theorem
}
\end{itemize}
%
...
...
@@ -166,14 +168,14 @@ Syntax von Umgebungen:
\vspace
{
3pt
}
%
\begin{minipage}
{
\linewidth
}
\verb
|
\begin{align}
|
\\
\verb
|
2H &= p^2
+
x^2 \\
|
\\
\verb
|
2H &= p^2
+
x^2
\nonumber
\\
|
\\
\verb
|
&= 2 a^\dagger a + 1
|
\\
\verb
|
\end{align}
|
\end{minipage}
&
\begin{minipage}
{
\linewidth
}
{
\begin{align}
2H
&
= p
^
2
+ x
^
2
\\
2H
&
= p
^
2
+x
^
2
\nonumber
\\
&
= 2 a
^
\dagger
a + 1
\end{align}
}
\end{minipage}
...
...
@@ -218,7 +220,9 @@ Syntax von Umgebungen:
\verb
|
\int_0^1\mathrm{d}x\,x
|
&
$
\int
_
0
^
1
\mathrm
{
d
}
x
\,
x
$
&
\verb
|
\sum_{n=0}^{N}
|
&
$
\sum
_{
n
=
0
}^
N
$
\\
\verb
|
\iiint\mathrm{d}x
|
&
$
\iiint\mathrm
{
d
}
x
$
&
\verb
|
\prod_{n=0}^{N}
|
&
$
\prod
_{
n
=
0
}^
N
$
\verb
|
\prod_{n=0}^{N}
|
&
$
\prod
_{
n
=
0
}^
N
$
\\
\verb
|
\overset{def.}{=}
|
&
$
\overset
{
def.
}
=
$
&
\verb
|
\underbrace{a}_{b}
|
&
$
\underbrace
{
a
}_{
b
}$
\end{tabular}
%Pfeile, underbrace, \ldots
%
...
...
@@ -235,7 +239,7 @@ Syntax von Umgebungen:
\verb
|
\mathfrak
|
&
$
\mathfrak
{
abc ABC
123
}$
&
für Lie-Algebren
\\
\verb
|
\mathbb
|
&
$
\mathbb
{
ABC NQRZ
}$
&
nur Großbuchstaben
\\
% (erweiterbar mit \texttt{mathbbol}) \\
\verb
|
\mathscr
|
&
$
\mathscr
{
ABCHJKLN
}$
&
nur Großbuchstaben, mit
\verb
|
\usepackage{mathrsfs}
|
\\
%
\verb|\mathds| & $\mathds{ABC1}$ &
nur Großbuchstaben und 1
\\
\verb
|
\mathds
|
&
$
\mathds
{
ABC
1
}$
&
braucht
\texttt
{
dsfont
}
\\
\end{tabular}
Mehr Symbole finden:
\url
{
http://detexify.kirelabs.org
}
%
...
...
@@ -251,7 +255,7 @@ $\rightarrow$ definiert eine Umgebung \texttt{theorem}.
\section
{
Graphiken
}
In die Präambel:
\verb
|
\usepackage{graphicx}
|
\\
\verb
|
\includegraphics[
|
\emph
{
Optionen
}
\verb
|
]{
|
\emph
{
Bild.pdf
}
\verb
|
}
|
\\
\emph
{
Optionen
}
: z.
\,
B.
\verb
|
width=0.5\textwidth
|
,
\verb
|
height=3cm
|
\\
\emph
{
Optionen
}
: z.
\,
B.
\verb
|
width=0.5\textwidth
|
,
\verb
|
height=3cm
|
,
\verb
|
scale=.5
|
\\
Unterstützte Dateitypen:
\texttt
{
.pdf
}
,
\texttt
{
.png
}
,
\texttt
{
.jpg
}
%
\section
{
Tabellen
}
...
...
@@ -295,7 +299,8 @@ Die werden automatisch plaziert und haben eine Beschreiben.
\label
{
sec:references
}
Paket:
\verb
|
\usepackage{hyperref}
|
\\
Schreibt
\verb
|
\label{abc}
|
z.
\,
B. nach
\verb
|
\section{ABC}
|
, in
\verb
|
\begin{figure}
|
, oder
\verb
|
\begin{equation}
|
.
Mit
\verb
|
\autoref{abc}
|
verweist ihr auf die Referenz.
\\
Mit
\verb
|
\ref{abc}
|
verweist ihr auf die Referenz.
%
\footnote
{
Probiert auch mal
\texttt
{
\textbackslash
autoref
\{
abc
\}
}
und
\texttt
{
\textbackslash
eqref
}}
Mit
\verb
|
\footnote{Text}
|
erstellt ihr eine Fußnote.
\footnote
{
Mit
\texttt
{
\textbackslash
footnote[label]
\{
Text
\}
}
kann man das Label festlegen.
}
\\
\texttt
{
hyperref
}
kann noch mehr: (in der Präambel)
\\
\verb
|
\hypersetup{
|
\\
...
...
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