From 551e681c03082192014335a9f3f488fbd90a094f Mon Sep 17 00:00:00 2001 From: Florian Knoch Date: Wed, 8 May 2019 10:21:49 +0200 Subject: [PATCH] Consistency improvements --- sections/german/03/contents-crop.svg | 955 +++++++++++++++------ sections/german/03/contents-orig.svg | 953 ++++++++++++++------ sections/german/03/languages-crop.svg | 6 +- sections/german/03/languages-orig.svg | 6 +- sections/german/03/title-crop.svg | 2 +- sections/german/03/title-orig.svg | 2 +- sections/german/04/main-crop.svg | 369 +++++--- sections/german/04/main-orig.svg | 367 +++++--- sections/german/08/08.md | 22 +- sections/german/09/09.md | 92 +- sections/german/09/alignment-crop.svg | 177 ++++ sections/german/09/alignment-orig.svg | 177 ++++ sections/german/09/alignment.tex | 14 + sections/german/09/limits-crop.svg | 243 ++++++ sections/german/09/limits-orig.svg | 243 ++++++ sections/german/09/limits.tex | 14 + sections/german/10/10.md | 22 +- sections/german/10/minted-haskell-crop.svg | 85 +- sections/german/10/minted-haskell-orig.svg | 85 +- sections/german/10/minted-haskell.tex | 4 +- sections/german/10/minted-java-crop.svg | 351 +++++--- sections/german/10/minted-java-orig.svg | 347 +++++--- sections/german/10/minted-java.tex | 1 + sections/german/11/11.md | 18 +- sections/german/12/12.md | 20 +- 25 files changed, 3442 insertions(+), 1133 deletions(-) create mode 100644 sections/german/09/alignment-crop.svg create mode 100644 sections/german/09/alignment-orig.svg create mode 100644 sections/german/09/alignment.tex create mode 100644 sections/german/09/limits-crop.svg create mode 100644 sections/german/09/limits-orig.svg create mode 100644 sections/german/09/limits.tex diff --git a/sections/german/03/contents-crop.svg b/sections/german/03/contents-crop.svg index 0768968..4f6acd7 100644 --- a/sections/german/03/contents-crop.svg +++ b/sections/german/03/contents-crop.svg @@ -1,5 +1,5 @@ - + @@ -69,169 +69,214 @@ - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + - + - + - + - + - + - + - + - + - + - + - + - + - + - - - - - - - + @@ -257,288 +302,710 @@ - + - + - - - - - - - - - - + + + + + + + + + + - - - + - - + + + - - - + + + - - - - + + - - - - - - + + + - - - + + - - - - - + - - - + - - - - + + + - - - + - - - + - - + - - - - - - - + - - - - - - + - - - + - - - - - + - - - - + - - - - + - - - + - - - + - + - - - - - - - + - - + - - + - - - - - + - - - - - + - - - - - + - + - - + - - - - - + - - - - + - - + - + - - + - - + - - - - - - + - - - + - - - - + - - - - - - + - + - + - - - - - - - - - - - - + + + - - - - + + + - + + - + + + + - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/sections/german/03/contents-orig.svg b/sections/german/03/contents-orig.svg index 8b8093a..02bd7bc 100644 --- a/sections/german/03/contents-orig.svg +++ b/sections/german/03/contents-orig.svg @@ -69,169 +69,214 @@ - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + - + - + - + - + - + - + - + - + - + - + - + - + - + - - - - - - - + @@ -257,288 +302,710 @@ - + - + - - - - - - - - - - + + + + + + + + + + - - - + - - + + + - - - + + + - - - - + + - - - - - - + + + - - - + + - - - - - + - - - + - - - - + + + - - - + - - - + - - + - - - - - - - + - - - - - - + - - - + - - - - - + - - - - + - - - - + - - - + - - - + - + - - - - - - - + - - + - - + - - - - - + - - - - - + - - - - - + - + - - + - - - - - + - - - - + - - + - + - - + - - + - - - - - - + - - - + - - - - + - - - - - - + - + - + - - - - - - - - - - - - + + + - - - - + + + - + + - + + + + - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/sections/german/03/languages-crop.svg b/sections/german/03/languages-crop.svg index eb43c50..f053af3 100644 --- a/sections/german/03/languages-crop.svg +++ b/sections/german/03/languages-crop.svg @@ -15,7 +15,7 @@ - + @@ -48,7 +48,7 @@ - + @@ -81,7 +81,7 @@ - + diff --git a/sections/german/03/languages-orig.svg b/sections/german/03/languages-orig.svg index d6e2694..238749c 100644 --- a/sections/german/03/languages-orig.svg +++ b/sections/german/03/languages-orig.svg @@ -15,7 +15,7 @@ - + @@ -48,7 +48,7 @@ - + @@ -81,7 +81,7 @@ - + diff --git a/sections/german/03/title-crop.svg b/sections/german/03/title-crop.svg index 9c67422..0ed64ce 100644 --- a/sections/german/03/title-crop.svg +++ b/sections/german/03/title-crop.svg @@ -126,7 +126,7 @@ - + diff --git a/sections/german/03/title-orig.svg b/sections/german/03/title-orig.svg index 0d586cd..41cbf18 100644 --- a/sections/german/03/title-orig.svg +++ b/sections/german/03/title-orig.svg @@ -126,7 +126,7 @@ - + diff --git a/sections/german/04/main-crop.svg b/sections/german/04/main-crop.svg index c1e6e59..c713cc8 100644 --- a/sections/german/04/main-crop.svg +++ b/sections/german/04/main-crop.svg @@ -1,5 +1,5 @@ - + @@ -30,7 +30,7 @@ - + @@ -117,69 +117,108 @@ - + - + - + - + - + - + - + - + - + - + - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + - + - + - + - + - + - + - + - + - + - + @@ -239,179 +278,245 @@ - + - - - - + + + + - - - + + + - - - - + + + + - - - - - + + + + + - + - - - - + - - - + - - - - - - + + + + - - - + + + - - - - - - + + + + - + + + + + - - + - - - - + - - - - - + - - + + + + - + + + - - - - + + + + - - - + + + + + - - - - + - - - - - + + + + - + + + - - - - + + + + + + - - - + + + - - - - - - + + + + + + - - - + - - - - - - + + - + + + + - - + + + + + - - - - + + - - - - - + - - + + + + - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/sections/german/04/main-orig.svg b/sections/german/04/main-orig.svg index 3ad8207..b40984d 100644 --- a/sections/german/04/main-orig.svg +++ b/sections/german/04/main-orig.svg @@ -30,7 +30,7 @@ - + @@ -117,69 +117,108 @@ - + - + - + - + - + - + - + - + - + - + - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + - + - + - + - + - + - + - + - + - + - + @@ -239,179 +278,245 @@ - + - - - - + + + + - - - + + + - - - - + + + + - - - - - + + + + + - + - - - - + - - - + - - - - - - + + + + - - - + + + - - - - - - + + + + - + + + + + - - + - - - - + - - - - - + - - + + + + - + + + - - - - + + + + - - - + + + + + - - - - + - - - - - + + + + - + + + - - - - + + + + + + - - - + + + - - - - - - + + + + + + - - - + - - - - - - + + - + + + + - - + + + + + - - - - + + - - - - - + - - + + + + - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/sections/german/08/08.md b/sections/german/08/08.md index 8ca4f36..3b7446c 100644 --- a/sections/german/08/08.md +++ b/sections/german/08/08.md @@ -10,12 +10,12 @@

Ungeordnete Listen

\begin{itemize}
-  \item Nudelplatten
-  \item Passierte Tomaten
-  \item Möhren
-  \item Erbsen
-  \item Mehl
-  \item Milch
+	\item Nudelplatten
+	\item Passierte Tomaten, Möhren, Erbsen, Zwiebeln
+	\item Oregano, Basilikum, Rosmarin, Salz, Pfeffer
+	\item Mozzarella
+	\item Mehl
+	\item Milch
 \end{itemize}

Die einzelnen Stichpunkte werden in jeder Aufzählungsumgebung durch den Befehl \item gekennzeichnet.

@@ -33,18 +33,16 @@ \item die Zwiebeln in einem Topf anbraten \item passierte Tomaten, Möhren und Erbsen dazugeben und aufkochen \item mit Kräutern und Gewürzen abschmecken - \item aus Milch, Salz und Mehl eine Béchamelsauce herstellen - \item in einer Auflaufform abwechselnd Béchamelsauce, Nudelplatten und Gemüsesoße stapeln - \item in Scheiben geschnittenen Mozzarella darauf verteilen und im Ofen backen + % \item ... \end{enumerate} -
\begin{description}
+		
\begin{description}
   \item [Béchamelsauce] Béchamelsauce, Sauce Béchamel oder Milchsauce ist eine helle Sauce aus Milch, Butter und Mehl, die meist zu Gemüse, Kartoffeln oder Eierspeisen serviert wird. Als klassische Grundsauce findet sie variiert bei vielen Gerichten Verwendung.  (siehe \url{https://de.wikipedia.org/wiki/B%C3%A9chamelsauce})
   \item [Lasagne] Als Lasagne (Plural Lasagnen) werden sowohl besonders breite Bandnudeln als auch der mehrere Teigschichten (Nudelplatten) beinhaltende Auflauf bezeichnet. (siehe \url{https://de.wikipedia.org/wiki/Lasagne})
 \end{description}
- +
@@ -103,7 +101,7 @@

Aufzählungsarten

-

Die Art der Aufzählung lässt sich über den optionalen Parameter label ändern. Hierfür ist das Paket enumitem notwendig

+

Die Art der Aufzählung lässt sich über den optionalen Parameter label ändern. Hierfür ist das Paket enumitem notwendig.

% Römische Zahlen
 \begin{enumerate}[label=\roman\*]
 %...
diff --git a/sections/german/09/09.md b/sections/german/09/09.md
index 050ecaf..6acaa97 100644
--- a/sections/german/09/09.md
+++ b/sections/german/09/09.md
@@ -14,6 +14,7 @@
     
\begin{equation}
   2 \sqrt{\frac{\pi^2}{3} \cdot c_2}
 \end{equation}
+

Die Nummerierung kann durch durch einen »\*« in \begin{equation\*} und \end{equation\*} unterdrückt werden.

Pakete: amsmath, amsthm, amssymb, mathtools

@@ -51,18 +52,6 @@ `$`12 \leq 4 x^2 + 13$ $12 \leq 4 x^2 + 13$ - - `$`(A \cup B) \cap C$ - $(A \cup B) \cap C$ - - - `$`(A \lor B) \land C$ - $(A \lor B) \land C$ - - - `$`(A \cdot B) \times C$ - $(A \cdot B) \times C$ -

Durch $^{…}$ und $_{…}$ werden Inhalte hoch- oder tiefgestellt.

@@ -78,22 +67,34 @@ Quelltext Ergebnis - + `$`(x), [x], \lbrace x\rbrace, \lvert x\rvert$ $(x), [x], \lbrace x\rbrace, \lvert x\rvert$ - + `$`\exists,\forall,\in,\notin,\infty$ $\exists,\forall,\in,\notin,\infty$ - + `$`\alpha, \beta, \Gamma, \Delta, \varepsilon, \pi$ $\alpha, \beta, \Gamma, \Delta, \varepsilon, \pi$ - + `$`\rightarrow, \leftarrow, \Rightarrow, \Leftarrow, \Leftrightarrow$ $\rightarrow, \leftarrow, \Rightarrow, \Leftarrow, \Leftrightarrow$ + + `$`(A \cup B) \cap C$ + $(A \cup B) \cap C$ + + + `$`(A \lor B) \land C$ + $(A \lor B) \land C$ + + + `$`(A \cdot B) \times C$ + $(A \cdot B) \times C$ +
@@ -109,19 +110,68 @@ Ergebnis - `$`\left(\frac{1}{2} \right)$ + `$`\left( \frac{1}{2} \right)$ $\left(\frac{1}{2} \right)$ - `$`\left\lbrace\frac{1}{2} \right\rbrace$ + `$`\left\lbrace \frac{1}{2} \right\rbrace$ $\left\lbrace\frac{1}{2} \right\rbrace$ - `$`\left[\frac{1}{2} \right]$ + `$`\left[ \frac{1}{2} \right]$ $\left[\frac{1}{2} \right]$ -
$4 \cdot \left(\frac{1}{2} + 12 \cdot \left(\frac{1}{2} \right) + 86 \cdot \left(\frac{1}{2} \right) \right)$
-

$4 \cdot \left(\frac{1}{2} + 12 \cdot \left(\frac{1}{2 + 86 \cdot \left(\frac{1}{2} \right)} \right) \right)$

+
$4 \cdot \left(\frac{1}{2} + \frac{3}{12 \cdot \left(\ 2 + frac{1}{26 \cdot \left(\frac{1}{2} \+ 24 right)} \right) }\right)$
+

$4 \cdot \left(\frac{1}{2} +\frac{3}{ 12 \cdot \left( 2 + \frac{1}{86 \cdot \left(\frac{1}{2} + 24 \right)} \right)} \right)$

+ +--- + +
+
+

Darstellung von Grenzen

+

Mit dem Befehl \limits lassen sich die Grenzen von Integralen unter und über dem Integralzeichen darstellen. Bei Summen, Produkten und Grenzwerten geschieht das automatisch.

+
\sum\_{i=1}^{n^2}(x+2)
+\prod\_{j=1}^{100}(3 \cdot x)
+\lim\_{x \rightarrow \infty}(14x^3 - 12)
+\int\limits\_{-12}^{4}(14x^3 - 12)
+

Der Einsatz von \limits sollte im Fließtext vermieden werden.

+
+
+ +
+
+ +--- + +
+
+

Ausrichtung von mehreren Gleichungen

+

Die Umgebung align erlaubt es, Gleichungen zum Beispiel am »=« auszurichten.

+
\begin{align}
+  13 \cdot (4a - 3)^2 &= 13 \cdot (16a^2 - 24a + 9) \\\\
+      &= 208a^2 - 312a + 117
+\end{align}
+
    +
  • Ausgerichtet wird am »&«-Zeichen.
  • +
  • Zeilenumbrüche werden mit »\\\\« eingefügt.
  • +
  • Die Nummerierung kann auch hier durch durch einen »\*« in \begin{align\*} und \end{align\*} unterdrückt werden.
  • +
+
+
+ +
+
+ +--- + +
+
+

Formeln setzen

+
    +
  • +
+
+
diff --git a/sections/german/09/alignment-crop.svg b/sections/german/09/alignment-crop.svg new file mode 100644 index 0000000..2eccc89 --- /dev/null +++ b/sections/german/09/alignment-crop.svg @@ -0,0 +1,177 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/sections/german/09/alignment-orig.svg b/sections/german/09/alignment-orig.svg new file mode 100644 index 0000000..f664335 --- /dev/null +++ b/sections/german/09/alignment-orig.svg @@ -0,0 +1,177 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/sections/german/09/alignment.tex b/sections/german/09/alignment.tex new file mode 100644 index 0000000..2e1a411 --- /dev/null +++ b/sections/german/09/alignment.tex @@ -0,0 +1,14 @@ +\documentclass[a4paper]{article} +\usepackage{lmodern} +\usepackage{amssymb,amsmath} +\usepackage[T1]{fontenc} +\usepackage[utf8]{inputenc} +\usepackage{hyperref} +\begin{document} +\thispagestyle{empty} +\begin{align} + 13 \cdot (4a - 3)^2 &= 13 \cdot (16a^2 - 24a + 9) \\ + &= 208a^2 - 312a + 117 +\end{align} + +\end{document} diff --git a/sections/german/09/limits-crop.svg b/sections/german/09/limits-crop.svg new file mode 100644 index 0000000..f010571 --- /dev/null +++ b/sections/german/09/limits-crop.svg @@ -0,0 +1,243 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/sections/german/09/limits-orig.svg b/sections/german/09/limits-orig.svg new file mode 100644 index 0000000..cd050e6 --- /dev/null +++ b/sections/german/09/limits-orig.svg @@ -0,0 +1,243 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/sections/german/09/limits.tex b/sections/german/09/limits.tex new file mode 100644 index 0000000..dfc209f --- /dev/null +++ b/sections/german/09/limits.tex @@ -0,0 +1,14 @@ +\documentclass[a4paper]{article} +\usepackage{lmodern} +\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)$$ +$$\int \limits_{-12}^{4}(14x^3 - 12)$$ + +\end{document} diff --git a/sections/german/10/10.md b/sections/german/10/10.md index 7cdeb98..80ac5b4 100644 --- a/sections/german/10/10.md +++ b/sections/german/10/10.md @@ -50,13 +50,13 @@

Code im LaTeX-Quelltext

In einer eigenen Umgebung:

-
\section{Haskell}
+        
\section\*{Haskell-Magie}
 Quadrate aller geraden Zahlen zwischen 1 und 200:
 \begin{minted}{haskell}
 [x^2 | x <- [1..200], even x]
 \end{minted}

Inline im Quelltext:

-
\section{HTML}
+        
\section\*{Ein HTML-Beispiel}
 Eine Überschrift wird so ausgezeichnet:
 \mint{html}|

LaTeX im Studium

|.
@@ -70,8 +70,9 @@ Eine Überschrift wird so ausgezeichnet:

Code aus externen Dateien

-
\section{Java}
-\inputminted{java}{HelloWorld.java}
+

Um Redundanz zu vermeiden, ist es manchmal praktisch, den Quelltext direkt aus der Quelldatei einzulesen.

+
\section\*{Einfache Java-Anwendung}
+\inputminted{java}{Test.java}
public class HelloWorld {
   public static void main(String[] args) {
     System.out.println("Hello, World!");
@@ -79,7 +80,7 @@ Eine Überschrift wird so ausgezeichnet:
 }
- +
@@ -100,4 +101,15 @@ breaklines=true, \end{minted}

🔗 Einführung und offizielle Dokumentation

+ + +--- + +
+
+

Quelltext einbinden

+
    +
  • +
+
\ No newline at end of file diff --git a/sections/german/10/minted-haskell-crop.svg b/sections/german/10/minted-haskell-crop.svg index bac9619..d03b9ed 100644 --- a/sections/german/10/minted-haskell-crop.svg +++ b/sections/german/10/minted-haskell-crop.svg @@ -6,38 +6,53 @@
- - - - + - + - + - + - + + + + - - - - - - + + + + + + + + + + + + + + + + + + + + + @@ -223,17 +238,20 @@ + + + - - - - - - - - - + + + + + + + + + @@ -345,13 +363,24 @@ - + + + - - - - + + + + + + + + + + + + + diff --git a/sections/german/10/minted-haskell-orig.svg b/sections/german/10/minted-haskell-orig.svg index a99446e..0e28559 100644 --- a/sections/german/10/minted-haskell-orig.svg +++ b/sections/german/10/minted-haskell-orig.svg @@ -6,38 +6,53 @@ - - - - + - + - + - + - + + + + - - - - - - + + + + + + + + + + + + + + + + + + + + + @@ -223,17 +238,20 @@ + + + - - - - - - - - - + + + + + + + + + @@ -345,13 +363,24 @@ - + + + - - - - + + + + + + + + + + + + + diff --git a/sections/german/10/minted-haskell.tex b/sections/german/10/minted-haskell.tex index ef7ad3a..8f74c98 100644 --- a/sections/german/10/minted-haskell.tex +++ b/sections/german/10/minted-haskell.tex @@ -8,13 +8,13 @@ \begin{document} \thispagestyle{empty} -\section{Haskell} +\section*{Haskell-Magie} Quadrate aller geraden Zahlen zwischen 1 und 200: \begin{minted}{haskell} [x^2 | x <- [1..200], even x] \end{minted} -\section{HTML} +\section*{Ein HTML-Beispiel} Eine Überschrift wird so ausgezeichnet: \mint{html}|

LaTeX im Studium

|. diff --git a/sections/german/10/minted-java-crop.svg b/sections/german/10/minted-java-crop.svg index 2dd4f65..2fff75b 100644 --- a/sections/german/10/minted-java-crop.svg +++ b/sections/german/10/minted-java-crop.svg @@ -1,282 +1,369 @@ - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + + + + + + + - + - + - + - + - + - + - + - + - + - + - + - + - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + - - - - - + + + + + + + + + + + + + - - - - + + + + - + - - - - - - + + + + + + - - - - - - + + + + + + - - - - + + + + - - - - + + + + - + - - - - - - + + + + + + - - + + - - - - + + + + - + - + - - - - - - + + + + + + - + - - - + + + - + - - - - - - - + + + + + + + - + - - - - - - - + + + + + + + - - - - - - - + + + + + + + - - + + - + - + diff --git a/sections/german/10/minted-java-orig.svg b/sections/german/10/minted-java-orig.svg index ac025ff..ca70f85 100644 --- a/sections/german/10/minted-java-orig.svg +++ b/sections/german/10/minted-java-orig.svg @@ -6,277 +6,364 @@
- + - + - + - + - + - + - + - + - + - + - + - + - + - + + + + + + + - + - + - + - + - + - + - + - + - + - + - + - + - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + - - - - - + + + + + + + + + + + + + - - - - + + + + - + - - - - - - + + + + + + - - - - - - + + + + + + - - - - + + + + - - - - + + + + - + - - - - - - + + + + + + - - + + - - - - + + + + - + - + - - - - - - + + + + + + - + - - - + + + - + - - - - - - - + + + + + + + - + - - - - - - - + + + + + + + - - - - - - - + + + + + + + - - + + - + - + diff --git a/sections/german/10/minted-java.tex b/sections/german/10/minted-java.tex index 98faa68..f484d66 100644 --- a/sections/german/10/minted-java.tex +++ b/sections/german/10/minted-java.tex @@ -8,6 +8,7 @@ \begin{document} \thispagestyle{empty} +\section*{Einfache Java-Anwendung} \inputminted{java}{Test.java} \end{document} diff --git a/sections/german/11/11.md b/sections/german/11/11.md index 63de188..ca7aad8 100644 --- a/sections/german/11/11.md +++ b/sections/german/11/11.md @@ -9,14 +9,14 @@

Grafiken einbinden

-

Um Grafiken einzubinden, muss das Paket graphicx eingebunden werden.

+

Um Grafiken darzustellen, muss das Paket graphicx eingebunden werden.

\begin{figure}
-    \includegraphics{datei.jpg}
-    \caption[Kurztitel]{Bildunterschrift}
+    \includegraphics{<dateipfad>}
+    \caption[<kurztitel>]{<bildunterschrift>}
 \end{figure}

Bildgröße angeben:

-
\includegraphics[width=\textwidth,
-height=5cm]{datei.jpg}
+
\includegraphics[width=0.5\*\textwidth,
+height=5cm]{<dateipfad>}
@@ -25,11 +25,11 @@ height=5cm]{datei.jpg}

Positionierung auf der Seite

-
\begin{figure}[position]
+
\begin{figure}[<positionskürzel>]

LaTeX positioniert Grafiken für uns automatisch. Durch Kürzel können wir unsere Präferenzen angeben.

- + @@ -58,13 +58,13 @@ height=5cm]{datei.jpg}

Zentrierte Anordnung

\begin{figure}[p]
     \begin{center}
-        \includegraphics{datei.jpg}
+        \includegraphics{<dateipfad>}
     \end{center}
 \end{figure}

Alternativ:

\begin{figure}[p]
     \centering
-    \includegraphics{datei.jpg}
+    \includegraphics{<dateipfad>}
 \end{figure}
diff --git a/sections/german/12/12.md b/sections/german/12/12.md index 38122f9..ee8d3c8 100644 --- a/sections/german/12/12.md +++ b/sections/german/12/12.md @@ -11,11 +11,11 @@

Grundstruktur

Für typografisch schöne Tabellen nutzen wir das Paket booktabs.

\usepackage{booktabs}
-
\begin{table}[position]
-	\begin{tabular}{Spaltendefinition}
+        
\begin{table}[<position>]
+	\begin{tabular}{<spaltendefinition>}
 		% Tabelleninhalt
 	\end{tabular}
-	\caption{Tabellenunterschrift}
+	\caption{<tabellenunterschrift>}
 \end{table}

Die Positionierung erfolgt analog zu Grafiken.

@@ -47,7 +47,7 @@
KürzelKürzel Position
rechtsbündige Spalte
-

Hinweis: Vertikale Trennlinien und doppelte horizontale Linien sind unter Typograph\*innen nicht gern gesehen.

+

Vertikale Trennlinien und doppelte horizontale Linien sind unter Typograph\*innen nicht gern gesehen und sollten vermieden werden.

@@ -95,6 +95,10 @@ \end{tabular} \caption{Bekannte Programmiersprachen} \end{table} +

+ Durch @{} vor und nach der Spaltendefinition werden die horizontalen Linien auf die Breite des Textes beschränkt. + Beispiel: \begin{tabular}{@{}lrcl@{}} +

@@ -107,8 +111,8 @@
\usepackage{longtable}
\begin{longtable}{lll}
     % Tabelleninhalt
-    \caption{Untertitel}
-    \label{tab:bsptab1}
+    \caption{<untertitel>}
+    \label{<label>}
 \end{longtable}
@@ -120,8 +124,8 @@

Hinweise zu longtable

\begin{longtable}{lll}
     % Tabelleninhalt
-    \caption{Untertitel}
-    \label{tab:bsptab1}
+    \caption{<untertitel>}
+    \label{<label>}
 \end{longtable}
  • Die longtable-Umgebung vereint die tabular-Umgebung und die table-Umgebung.