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
3ce84fa8
Commit
3ce84fa8
authored
6 years ago
by
Valentin Bruch
Browse files
Options
Downloads
Patches
Plain Diff
handout: corrections
parent
2e9b30fb
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 @
3ce84fa8
\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
{
fontspec
}
\usepackage
{
polyglossia
}
\usepackage
{
polyglossia
}
\usepackage
{
csquotes
}
\usepackage
{
csquotes
}
...
@@ -39,7 +40,7 @@
...
@@ -39,7 +40,7 @@
\usepackage
{
scrlayer-scrpage
}
\usepackage
{
scrlayer-scrpage
}
\clearscrheadfoot
{}
%
\clearscrheadfoot
{}
%
\ihead
{
\LaTeX
-Cheatsheet
}
%
\ihead
{
\LaTeX
-Cheatsheet
}
%
\ohead
{
was soll hier stehen?
}
%
\ohead
{
OSAK
}
%
\KOMAoptions
{
headsepline=true
}
%
\KOMAoptions
{
headsepline=true
}
%
\newcolumntype
{
R
}
[1]
{
>
{
\raggedleft\let\newline\\\arraybackslash
}
p
{
#1
}}
\newcolumntype
{
R
}
[1]
{
>
{
\raggedleft\let\newline\\\arraybackslash
}
p
{
#1
}}
...
@@ -77,7 +78,8 @@ Pakete installieren?\\
...
@@ -77,7 +78,8 @@ Pakete installieren?\\
\end{itemize}
\end{itemize}
\vspace*
{
-4pt
}
%
\vspace*
{
-4pt
}
%
\begin{minipage}
{
.3
\linewidth
}
\begin{minipage}
{
.3
\linewidth
}
\scriptsize
\verb
|
\scriptsize
|
\tiny
\verb
|
\tiny
|
\qquad
\scriptsize
\verb
|
\scriptsize
|
\hfill
\footnotesize
\verb
|
\footnotesize
|
\footnotesize
\verb
|
\footnotesize
|
\small
\verb
|
\small
|
\small
\verb
|
\small
|
\normalsize
\verb
|
\normalsize
|
\normalsize
\verb
|
\normalsize
|
...
@@ -111,8 +113,8 @@ Syntax von Umgebungen:
...
@@ -111,8 +113,8 @@ Syntax von Umgebungen:
\end{addmargin}
\end{addmargin}
\begin{tabular}
{
@
{}
p
{
.25
\linewidth
}
p
{
.75
\linewidth
-
\tabcolsep
}}
\begin{tabular}
{
@
{}
p
{
.25
\linewidth
}
p
{
.75
\linewidth
-
\tabcolsep
}}
\emph
{
Umgebung
}
&
Effekt
\\
\emph
{
Umgebung
}
&
Effekt
\\
\texttt
{
raggedright
}
&
Text
rechts ausgefranst
\\
\texttt
{
raggedright
}
&
Text
linksbündig
\\
\texttt
{
raggedleft
}
&
\hfill
Text
links ausgefranst
\\
\texttt
{
raggedleft
}
&
\hfill
Text
rechtsbündig
\\
\texttt
{
center
}
&
\centering
zentrierter Text
\texttt
{
center
}
&
\centering
zentrierter Text
\end{tabular}
\end{tabular}
%
%
...
@@ -133,10 +135,10 @@ Syntax von Umgebungen:
...
@@ -133,10 +135,10 @@ Syntax von Umgebungen:
%\item \texttt{amsmath}: Wird von \texttt{mathtools} geladen.
%\item \texttt{amsmath}: Wird von \texttt{mathtools} geladen.
\item
\texttt
{
amssymb
}
,
\texttt
{
amsfonts
}
: noch mehr Symbole und Fonts.
\item
\texttt
{
amssymb
}
,
\texttt
{
amsfonts
}
: noch mehr Symbole und Fonts.
\item
\texttt
{
mathrsfs
}
: Script Font, z.
\,
B.
\verb
|
\mathscr{N}
|
:
$
\mathscr
{
N
}$
\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{mathbbol}: erweitert \verb|\mathbb\|
%\item \texttt{mathdots}: Punkte in Matrizen
%\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
}
\item
\texttt
{
amsthm
}
: für Mathematiker, Umgebung
\texttt
{
theorem
}
\end{itemize}
\end{itemize}
%
%
...
@@ -166,14 +168,14 @@ Syntax von Umgebungen:
...
@@ -166,14 +168,14 @@ Syntax von Umgebungen:
\vspace
{
3pt
}
%
\vspace
{
3pt
}
%
\begin{minipage}
{
\linewidth
}
\begin{minipage}
{
\linewidth
}
\verb
|
\begin{align}
|
\\
\verb
|
\begin{align}
|
\\
\verb
|
2H &= p^2
+
x^2 \\
|
\\
\verb
|
2H &= p^2
+
x^2
\nonumber
\\
|
\\
\verb
|
&= 2 a^\dagger a + 1
|
\\
\verb
|
&= 2 a^\dagger a + 1
|
\\
\verb
|
\end{align}
|
\verb
|
\end{align}
|
\end{minipage}
\end{minipage}
&
&
\begin{minipage}
{
\linewidth
}
\begin{minipage}
{
\linewidth
}
{
\begin{align}
{
\begin{align}
2H
&
= p
^
2
+ x
^
2
\\
2H
&
= p
^
2
+x
^
2
\nonumber
\\
&
= 2 a
^
\dagger
a + 1
&
= 2 a
^
\dagger
a + 1
\end{align}
}
\end{align}
}
\end{minipage}
\end{minipage}
...
@@ -218,7 +220,9 @@ Syntax von Umgebungen:
...
@@ -218,7 +220,9 @@ Syntax von Umgebungen:
\verb
|
\int_0^1\mathrm{d}x\,x
|
&
$
\int
_
0
^
1
\mathrm
{
d
}
x
\,
x
$
&
\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
|
\sum_{n=0}^{N}
|
&
$
\sum
_{
n
=
0
}^
N
$
\\
\verb
|
\iiint\mathrm{d}x
|
&
$
\iiint\mathrm
{
d
}
x
$
&
\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}
\end{tabular}
%Pfeile, underbrace, \ldots
%Pfeile, underbrace, \ldots
%
%
...
@@ -235,7 +239,7 @@ Syntax von Umgebungen:
...
@@ -235,7 +239,7 @@ Syntax von Umgebungen:
\verb
|
\mathfrak
|
&
$
\mathfrak
{
abc ABC
123
}$
&
für Lie-Algebren
\\
\verb
|
\mathfrak
|
&
$
\mathfrak
{
abc ABC
123
}$
&
für Lie-Algebren
\\
\verb
|
\mathbb
|
&
$
\mathbb
{
ABC NQRZ
}$
&
nur Großbuchstaben
\\
% (erweiterbar mit \texttt{mathbbol}) \\
\verb
|
\mathbb
|
&
$
\mathbb
{
ABC NQRZ
}$
&
nur Großbuchstaben
\\
% (erweiterbar mit \texttt{mathbbol}) \\
\verb
|
\mathscr
|
&
$
\mathscr
{
ABCHJKLN
}$
&
nur Großbuchstaben, mit
\verb
|
\usepackage{mathrsfs}
|
\\
\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}
\end{tabular}
Mehr Symbole finden:
\url
{
http://detexify.kirelabs.org
}
Mehr Symbole finden:
\url
{
http://detexify.kirelabs.org
}
%
%
...
@@ -251,7 +255,7 @@ $\rightarrow$ definiert eine Umgebung \texttt{theorem}.
...
@@ -251,7 +255,7 @@ $\rightarrow$ definiert eine Umgebung \texttt{theorem}.
\section
{
Graphiken
}
\section
{
Graphiken
}
In die Präambel:
\verb
|
\usepackage{graphicx}
|
\\
In die Präambel:
\verb
|
\usepackage{graphicx}
|
\\
\verb
|
\includegraphics[
|
\emph
{
Optionen
}
\verb
|
]{
|
\emph
{
Bild.pdf
}
\verb
|
}
|
\\
\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
}
Unterstützte Dateitypen:
\texttt
{
.pdf
}
,
\texttt
{
.png
}
,
\texttt
{
.jpg
}
%
%
\section
{
Tabellen
}
\section
{
Tabellen
}
...
@@ -295,7 +299,8 @@ Die werden automatisch plaziert und haben eine Beschreiben.
...
@@ -295,7 +299,8 @@ Die werden automatisch plaziert und haben eine Beschreiben.
\label
{
sec:references
}
\label
{
sec:references
}
Paket:
\verb
|
\usepackage{hyperref}
|
\\
Paket:
\verb
|
\usepackage{hyperref}
|
\\
Schreibt
\verb
|
\label{abc}
|
z.
\,
B. nach
\verb
|
\section{ABC}
|
, in
\verb
|
\begin{figure}
|
, oder
\verb
|
\begin{equation}
|
.
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.
}
\\
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)
\\
\texttt
{
hyperref
}
kann noch mehr: (in der Präambel)
\\
\verb
|
\hypersetup{
|
\\
\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