From 23b0fcc7a15ae20828f9f73fecb5790559ce9a5f Mon Sep 17 00:00:00 2001 From: Florian Knoch Date: Thu, 9 May 2019 13:55:18 +0200 Subject: [PATCH] Add slides for references and footnotes --- sections/german/09/limits.tex | 2 +- sections/german/13/13.md | 87 +++- sections/german/13/cref-example-crop.svg | 221 ++++++++++ sections/german/13/cref-example-orig.svg | 221 ++++++++++ ...reference-example.tex => cref-example.tex} | 2 +- .../german/13/cref-multiple-example-crop.svg | 363 ++++++++++++++++ .../german/13/cref-multiple-example-orig.svg | 363 ++++++++++++++++ sections/german/13/cref-multiple-example.tex | 19 + sections/german/13/footnote-example-crop.svg | 394 ++++++++++++++++++ sections/german/13/footnote-example-orig.svg | 394 ++++++++++++++++++ sections/german/13/footnote-example.tex | 12 + ...-example-crop.svg => ref-example-crop.svg} | 107 ++--- ...-example-orig.svg => ref-example-orig.svg} | 107 ++--- sections/german/13/ref-example.tex | 20 + sections/german/14/14.md | 20 +- 15 files changed, 2207 insertions(+), 125 deletions(-) create mode 100644 sections/german/13/cref-example-crop.svg create mode 100644 sections/german/13/cref-example-orig.svg rename sections/german/13/{reference-example.tex => cref-example.tex} (82%) create mode 100644 sections/german/13/cref-multiple-example-crop.svg create mode 100644 sections/german/13/cref-multiple-example-orig.svg create mode 100644 sections/german/13/cref-multiple-example.tex create mode 100644 sections/german/13/footnote-example-crop.svg create mode 100644 sections/german/13/footnote-example-orig.svg create mode 100644 sections/german/13/footnote-example.tex rename sections/german/13/{reference-example-crop.svg => ref-example-crop.svg} (99%) rename sections/german/13/{reference-example-orig.svg => ref-example-orig.svg} (99%) create mode 100644 sections/german/13/ref-example.tex diff --git a/sections/german/09/limits.tex b/sections/german/09/limits.tex index dfc209f..87f921f 100644 --- a/sections/german/09/limits.tex +++ b/sections/german/09/limits.tex @@ -3,9 +3,9 @@ \usepackage{amssymb,amsmath} \usepackage[T1]{fontenc} \usepackage[utf8]{inputenc} -\usepackage{hyperref} \begin{document} \thispagestyle{empty} + $$\sum \limits_{i=1}^{n^2}(x+2)$$ $$\prod \limits_{j=1}^{100}(3 \cdot x)$$ $$\lim_{x \rightarrow \infty}(14x^3 - 12)$$ diff --git a/sections/german/13/13.md b/sections/german/13/13.md index cfccaab..92b0aa4 100644 --- a/sections/german/13/13.md +++ b/sections/german/13/13.md @@ -6,11 +6,49 @@ --- +
+
+

Fußnoten

+
\usepackage{hyperref}
+

Die Nummerierung erfolgt automatisch und ist fortlaufend, unabhängig davon, ob ein neuer Abschnitt beginnt.

+
Eber, beim Hausschwein insbesondere
+oberdeutsch Saubär, beim Wildschwein
+Keiler, bezeichnet das männliche
+Geschlecht des Schweins.
+\footnote{\url{http​s://de.wikipedia.org/
+wiki/Eber}}
+
+
+ +
+
+ +--- +

Referenzen

- Manuell (oder: Wie man es nicht macht) + Manuell (Just don't!)
Wie man in Abbildung 23 sieht, ...
+ Mit dem Befehl \ref: +
\begin{figure}[H]
+    \includegraphics[width=\textwidth]{fooboar.jpeg}
+    \caption{Unser Maskottchen Fooboar}
+    \label{img:fooboar}
+\end{figure}
+
+Wie man in Abbildung \ref{img:fooboar} sieht, ...
+
+
+ +
+
+ +--- + +
+
+

Referenzen

Mit dem Paket cleveref:
\begin{figure}[H]
     \includegraphics[width=\textwidth]{fooboar.jpeg}
@@ -18,10 +56,12 @@
     \label{img:fooboar}
 \end{figure}
 
-Wie man in \cref{img:fooboar} sieht, ...
+Fooboar ist ein sehr engagierter +Jungeber (siehe \cref{img:fooboar}). +

Der Befehl \cref fügt selbstständig die passende Abkürzung ein.

- +
@@ -31,13 +71,13 @@ Wie man in \cref{img:fooboar} sieht, ...

Dinge, die zu beachten sind

@@ -45,13 +85,31 @@ Wie man in \cref{img:fooboar} sieht, ... --- -TODO: Auf viele Umgebungen übertragbar (einschließlich Abschnitte) -TODO: Label und Ref -TODO: hyperref mit `\autoref` ODER cleveref mit `\cref` (nach hyperref einbinden) - ---- - -TODO: Fußnoten +
+
+

Weiterführend

+
    +
  • + Beide Referenzierungsbefehle funktionieren mit Bildern, Tabellen, Listings und sogar Überschriften, sofern die richtigen Label vergeben wurden. +
  • +
  • + Wurde vor dem Paket cleveref das Paket hyperref eingebunden, entsteht ein klickbarer Link im fertigen PDF. +
  • +
  • + Mehrere Referenzen können in \cref kommagetrennt angegeben werden. +
    \section{Ein Einstieg}
    +\label{sec:section1}
    +% …
    +Hier sei verwiesen auf
    +\cref{sec:section1,sec:section2,
    +sec:section4}.
    +
  • +
+
+
+ +
+
--- @@ -63,4 +121,3 @@ TODO: Fußnoten - diff --git a/sections/german/13/cref-example-crop.svg b/sections/german/13/cref-example-crop.svg new file mode 100644 index 0000000..1b7c784 --- /dev/null +++ b/sections/german/13/cref-example-crop.svg @@ -0,0 +1,221 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/sections/german/13/cref-example-orig.svg b/sections/german/13/cref-example-orig.svg new file mode 100644 index 0000000..578ee7b --- /dev/null +++ b/sections/german/13/cref-example-orig.svg @@ -0,0 +1,221 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/sections/german/13/reference-example.tex b/sections/german/13/cref-example.tex similarity index 82% rename from sections/german/13/reference-example.tex rename to sections/german/13/cref-example.tex index b2cd16e..09e5ceb 100644 --- a/sections/german/13/reference-example.tex +++ b/sections/german/13/cref-example.tex @@ -15,6 +15,6 @@ \label{img:fooboar} \end{figure} -Wie man in \cref{img:fooboar} sieht, ist Fooboar ein sehr engagierter Jungeber. +Fooboar ist ein sehr engagierter Jungeber (siehe \cref{img:fooboar}). \end{document} diff --git a/sections/german/13/cref-multiple-example-crop.svg b/sections/german/13/cref-multiple-example-crop.svg new file mode 100644 index 0000000..3a18c16 --- /dev/null +++ b/sections/german/13/cref-multiple-example-crop.svg @@ -0,0 +1,363 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/sections/german/13/cref-multiple-example-orig.svg b/sections/german/13/cref-multiple-example-orig.svg new file mode 100644 index 0000000..610d18d --- /dev/null +++ b/sections/german/13/cref-multiple-example-orig.svg @@ -0,0 +1,363 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/sections/german/13/cref-multiple-example.tex b/sections/german/13/cref-multiple-example.tex new file mode 100644 index 0000000..01b8000 --- /dev/null +++ b/sections/german/13/cref-multiple-example.tex @@ -0,0 +1,19 @@ +\documentclass[a4paper,ngerman]{article} +\usepackage{babel} +\usepackage[T1]{fontenc} +\usepackage[utf8]{inputenc} +\usepackage{cleveref} + +\begin{document} +\thispagestyle{empty} + +\section{Ein Einstieg}\label{sec:section1} +\section{Bitte schnallen Sie sich an}\label{sec:section2} +\section{Jetzt geht es bergab}\label{sec:section3} +\section{Kurz vor Eintritt}\label{sec:section4} +\section{Beruhigen Sie sich}\label{sec:section5} + +Hier sei verwiesen auf \cref{sec:section1,sec:section2,sec:section4}. + +\end{document} + diff --git a/sections/german/13/footnote-example-crop.svg b/sections/german/13/footnote-example-crop.svg new file mode 100644 index 0000000..62f5652 --- /dev/null +++ b/sections/german/13/footnote-example-crop.svg @@ -0,0 +1,394 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/sections/german/13/footnote-example-orig.svg b/sections/german/13/footnote-example-orig.svg new file mode 100644 index 0000000..0228981 --- /dev/null +++ b/sections/german/13/footnote-example-orig.svg @@ -0,0 +1,394 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/sections/german/13/footnote-example.tex b/sections/german/13/footnote-example.tex new file mode 100644 index 0000000..fc46323 --- /dev/null +++ b/sections/german/13/footnote-example.tex @@ -0,0 +1,12 @@ +\documentclass[a4paper,ngerman]{article} +\usepackage{babel} +\usepackage[T1]{fontenc} +\usepackage[utf8]{inputenc} +\usepackage{hyperref} +\begin{document} +\thispagestyle{empty} + +\vspace*{19cm} +Eber, beim Hausschwein insbesondere oberdeutsch Saubär, beim Wildschwein Keiler, bezeichnet das männliche Geschlecht des Schweins.\footnote{\url{https://de.wikipedia.org/wiki/Eber}} + +\end{document} diff --git a/sections/german/13/reference-example-crop.svg b/sections/german/13/ref-example-crop.svg similarity index 99% rename from sections/german/13/reference-example-crop.svg rename to sections/german/13/ref-example-crop.svg index e124216..837f88e 100644 --- a/sections/german/13/reference-example-crop.svg +++ b/sections/german/13/ref-example-crop.svg @@ -78,14 +78,14 @@ - - - - + + + + @@ -163,79 +163,88 @@ - + + + + + + - + - - + + + + - - + + - - + + + - - - + - + - + + - - + + + - - - + + + - - - + + + + - - - - + - - - - - - - - - - - + + + + - - - - - - + + - - - + + + + + + + + + + + + + + + + + diff --git a/sections/german/13/reference-example-orig.svg b/sections/german/13/ref-example-orig.svg similarity index 99% rename from sections/german/13/reference-example-orig.svg rename to sections/german/13/ref-example-orig.svg index 403702a..b4ca1ca 100644 --- a/sections/german/13/reference-example-orig.svg +++ b/sections/german/13/ref-example-orig.svg @@ -78,14 +78,14 @@ - - - - + + + + @@ -163,79 +163,88 @@ - + + + + + + - + - - + + + + - - + + - - + + + - - - + - + - + + - - + + + - - - + + + - - - + + + + - - - - + - - - - - - - - - - - + + + + - - - - - - + + - - - + + + + + + + + + + + + + + + + + diff --git a/sections/german/13/ref-example.tex b/sections/german/13/ref-example.tex new file mode 100644 index 0000000..e714588 --- /dev/null +++ b/sections/german/13/ref-example.tex @@ -0,0 +1,20 @@ +\documentclass[a4paper,ngerman]{article} +\usepackage{babel} +\usepackage[T1]{fontenc} +\usepackage[utf8]{inputenc} +\usepackage{cleveref} +\usepackage{graphicx} +\usepackage{float} + +\begin{document} +\thispagestyle{empty} + +\begin{figure}[H] + \includegraphics[width=\textwidth]{fooboar.jpeg} + \caption{Unser Maskottchen Fooboar} + \label{img:fooboar} +\end{figure} + +Wie man in Abbildung \ref{img:fooboar} sieht, ist Fooboar ein sehr engagierter Jungeber. + +\end{document} diff --git a/sections/german/14/14.md b/sections/german/14/14.md index 428a281..ff97658 100644 --- a/sections/german/14/14.md +++ b/sections/german/14/14.md @@ -18,16 +18,16 @@ ---
-
-

Wie wird das verwendet?

-

Durch BibTex wird LaTeX um einige Befehle zum Zitieren erweitert

-
    -
  • \cite{Quelle} zitieren einer Quelle
  • -
  • \cite[S. 15]{Quelle} zitieren einer Seite
  • -
  • \bibliography{Name der .bib Datei} Verweis auf die genutzte .bib Datei
  • -
  • \bibliographystyle{Zitierstil} Angabe des genutzten Zitierstils
  • -
-
+
+

Wie wird das verwendet?

+

Durch BibTex wird LaTeX um einige Befehle zum Zitieren erweitert

+
    +
  • \cite{Quelle} zitieren einer Quelle
  • +
  • \cite[S. 15]{Quelle} zitieren einer Seite
  • +
  • \bibliography{Name der .bib Datei} Verweis auf die genutzte .bib Datei
  • +
  • \bibliographystyle{Zitierstil} Angabe des genutzten Zitierstils
  • +
+
---