diff --git a/slides/chapter-08.de.md b/slides/chapter-08.de.md index 6a27e61..acaf34b 100644 --- a/slides/chapter-08.de.md +++ b/slides/chapter-08.de.md @@ -159,4 +159,4 @@ Aufzählungen einfügen @content * Formatiert das Rezept in `lists.tex` im Ordner `exercises/lists` als **ungeordnete Liste** mit den Elementen *Zutaten* und *Arbeitsschritte*. Nutzt dafür den Befehl `\itemize`. -* ++ Benutzt innerhalb dieser Liste für die Zutaten eine **kompakte, ungeordnete Liste** (`compactitem`) und für die Arbeitsschritte eine **kompakte, geordnete Liste**. +* ++ Benutzt innerhalb dieser Liste für die Zutaten eine **kompakte, ungeordnete Liste** und für die Arbeitsschritte eine **kompakte, geordnete Liste**. diff --git a/slides/chapter-08.en.md b/slides/chapter-08.en.md index f115f2a..fe5bc46 100644 --- a/slides/chapter-08.en.md +++ b/slides/chapter-08.en.md @@ -161,4 +161,4 @@ Adding enumerations @content * Turn the recipe in `lists.tex` into an **unordered list** consisting of the elements *Zutaten* and *Arbeitsschritte*. You can find the file in the directory `exercises/lists`. Use the `itemize` command. -* ++ Within this list, create **compact unordered list** (`compactitem`) for the ingredients (Zutaten) and a **compact ordered list** for the instructions (Arbeitsschritte). +* ++ Within this list, create a **compact unordered list** for the ingredients (*Zutaten*) and a **compact ordered list** for the instructions (*Arbeitsschritte*). diff --git a/slides/chapter-10.de.md b/slides/chapter-10.de.md index 1919c23..a0891f8 100644 --- a/slides/chapter-10.de.md +++ b/slides/chapter-10.de.md @@ -121,7 +121,7 @@ Quelltext einbinden @content * Im Ordner `exercises/source-code-listings` findet ihr eine Datei namens `Source.java`. Wir werden diese im Folgenden in unser Dokument einbinden und das Aussehen unseren Wünschen anpassen. -* ++ **Bindet** den Java-Quelltext in der Datei `task-1.tex` **ein**. +* ++ **Bindet** den Java-Quelltext in der Datei `source-code-listings.tex` **ein**. (Beachtet, dass der Dateipfad relativ zum Hauptdokument ist, also zu `main.tex`.) * ++ Aktiviert das **Syntax-Highlighting** durch Angabe der Sprache Java. * ++ Verwendet eine Option, um die Zeilen zu **nummerieren**. * ++ Nutzt das **Theme** `native`. diff --git a/slides/chapter-10.en.md b/slides/chapter-10.en.md index ce3fc28..12bf3b5 100644 --- a/slides/chapter-10.en.md +++ b/slides/chapter-10.en.md @@ -121,7 +121,7 @@ Listing source code @content * In the directory `exercises/source-code-listings` you can find a file named `Source.java`, which we want to include in our document. -* ++ **Include** the java code in the file `task-1.tex1`. +* ++ **Include** the java code in the file `source-code-listings.tex`. (Keep in mind that the file path is relative to the main LaTeX document, i. e., to `main.tex`.) * ++ **Number** the code lines. * ++ Use the **theme** `native`. * ++ Change the **background colour** to dark blue. diff --git a/slides/chapter-11.en.md b/slides/chapter-11.en.md index bfab1ce..25fc4bd 100644 --- a/slides/chapter-11.en.md +++ b/slides/chapter-11.en.md @@ -103,8 +103,8 @@ Alternatively: Inserting graphics @content -* In the directory `exercises/graphics` you can find an image file named `latex-logo.png`. -* ++ Include the figure **directly** beneath the the task for this chapter. +* In the directory `exercises/graphics` you can find an image file named `latex-logo.png`. +* ++ **Include** the figure in `exercises/graphics/graphics.tex`. * ++ The image shall be **centered**. * ++ Additionally, add a **caption** for the figure. -* ++ Adapt the **width** of the image to the width of the text (`textwidth`). +* ++ Adapt the **width** of the image to the width of the text (`textwidth`). diff --git a/slides/chapter-12.en.md b/slides/chapter-12.en.md index aef7f5f..c80b86c 100644 --- a/slides/chapter-12.en.md +++ b/slides/chapter-12.en.md @@ -189,14 +189,14 @@ An advanced example & Average & Worst \\ \midrule Stack & $\mathcal{O}(n)$ & $\mathcal{O}(n)$ \\ - Binary tree & $\mathcal{O}(log(n))$ & $\mathcal{O}(log(n))$ \\ + Binary tree & $\mathcal{O}(log(n))$ & $\mathcal{O}(n)$ \\ AVL tree & $\mathcal{O}(log(n))$ & $\mathcal{O}(log(n))$ \\ \bottomrule \end{tabular} \end{table} ``` -[🔗 Booktaabs documentation](http://packages.oth-regensburg.de/ctan/macros/latex/contrib/booktabs/booktabs.pdf) +[🔗 Booktabs documentation](http://packages.oth-regensburg.de/ctan/macros/latex/contrib/booktabs/booktabs.pdf) @preview ![](svg/chapter-12/table-advanced-example-crop.svg){.thin-padding} @@ -225,5 +225,5 @@ Typesetting tables * The list in file `exercises/tables/tables.tex` stores information on a few modules of the WIAI faculty. * ++ Transform the list into a **table**. * ++ The table shall have colums for the *name*, the *abbreviation* (Kürzel) and the *semester* of the lectures. -* ++ Add a **column** with **center aligned text** on the left side on the table in order to **number** the lecutres. +* ++ Add a **column** with **center-aligned text** on the left side on the table in order to **number** the lecutres. * ++ Add a **caption** for the table. diff --git a/slides/chapter-13.en.md b/slides/chapter-13.en.md index ca00f4d..ee3741c 100644 --- a/slides/chapter-13.en.md +++ b/slides/chapter-13.en.md @@ -20,11 +20,10 @@ Footnotes are automatically numbered consecutively, independent of sections. ``` {.hljs .lang-tex} The wild boar (Sus scrofa), also known as -the wild swine, Common wild pig, or +the wild swine, common wild pig, or simply wild pig, is a suid native to much -of the Palearctic, as well as introduced -numbers in the Americas and Southeast -Asia. +of Eurasia and North Africa, and has been +introduced to the Americas and Oceania. \footnote{\url{https://en.wikipedia.org/ wiki/Wild_boar}} ``` @@ -181,7 +180,7 @@ sec:section3,sec:section5}. ![](svg/chapter-13/cref-multiple-example-crop.svg) -slide(layout=task) +@slide(layout=task) @task-number 13 @@ -190,7 +189,7 @@ slide(layout=task) Inserting footnotes @content -* Make the text *Stand März 2021* in file `exercies/footnotes/footnotes.tex` appear as a **footnote**. +* Make the text *Stand März 2021* in file `exercises/footnotes/footnotes.tex` appear as a **footnote**. * ++ Additionally, insert a **clickable URL** that leads to the download page for the Java Development Kit (`https://www.oracle.com/java/technologies/javase-downloads.html`). diff --git a/svg/chapter-12/table-advanced-example-crop.svg b/svg/chapter-12/table-advanced-example-crop.svg index 1582329..52a33d2 100644 --- a/svg/chapter-12/table-advanced-example-crop.svg +++ b/svg/chapter-12/table-advanced-example-crop.svg @@ -109,222 +109,211 @@ - - - - - - - - - + + + + + + + + + - + - - - - - + + + + + - - - - + + + + - - - - - - - - - + + + + + + + + + - + - + - + - + - - - - - + + + + + - + - - - - + + + + - + - - - - + + + + - + - + - + - + - + - + - + - + - + - - - - - - + + + + + + - - - - + + + + - + - + - + - - + + - + - + - - + + - + - + - + - - + - + - + + - - + + + + - + - - + - - - - + - + + - + - + - - + + - + - + - - + - + + - + - + - - + + - - - - - - - - - - - + diff --git a/svg/chapter-12/table-advanced-example-orig.svg b/svg/chapter-12/table-advanced-example-orig.svg index ae71df4..cade7a5 100644 --- a/svg/chapter-12/table-advanced-example-orig.svg +++ b/svg/chapter-12/table-advanced-example-orig.svg @@ -109,222 +109,211 @@ - - - - - - - - - + + + + + + + + + - + - - - - - + + + + + - - - - + + + + - - - - - - - - - + + + + + + + + + - + - + - + - + - - - - - + + + + + - + - - - - + + + + - + - - - - + + + + - + - + - + - + - + - + - + - + - + - - - - - - + + + + + + - - - - + + + + - + - + - + - - + + - + - + - - + + - + - + - + - - + - + - + + - - + + + + - + - - + - - - - + - + + - + - + - - + + - + - + - - + - + + - + - + - - + + - - - - - - - - - - - + diff --git a/svg/chapter-12/table-advanced-example.tex b/svg/chapter-12/table-advanced-example.tex index 2f99dc1..705d15b 100644 --- a/svg/chapter-12/table-advanced-example.tex +++ b/svg/chapter-12/table-advanced-example.tex @@ -15,7 +15,7 @@ & Average & Worst \\ \midrule Stack & $\mathcal{O}(n)$ & $\mathcal{O}(n)$ \\ - Binary tree & $\mathcal{O}(log(n))$ & $\mathcal{O}(log(n))$ \\ + Binary tree & $\mathcal{O}(log(n))$ & $\mathcal{O}(n)$ \\ AVL tree & $\mathcal{O}(log(n))$ & $\mathcal{O}(log(n))$ \\ \bottomrule \end{tabular} diff --git a/svg/chapter-13/footnote-example-crop.svg b/svg/chapter-13/footnote-example-crop.svg index 692c4c0..1384c28 100644 --- a/svg/chapter-13/footnote-example-crop.svg +++ b/svg/chapter-13/footnote-example-crop.svg @@ -72,30 +72,33 @@ - - - - + - + - + - + + + + - + + + + @@ -185,273 +188,264 @@ - - - - + + + + - + - - - + + + - - - - + + + + - - - - - - - - + + + + + + + + - - - - + + + + - - - + + + - - + + - - + + - - - + + + - - + + + - - + - - - - - - + + + + + + - - - - - - + + + + + + - + + + + - - - + + + + - - - - + + - - + + + + + + - - - - - - + + + + - - - - + + + + - - - - + + - - + - + + + + - - - - + + + + + - - - - - + - + - - + - + - - + + - + - - + + - - - + + + + + + + - + + + - - - - - - - - - - + + + + + - - + + + + + + + - + + + - - - + + + - - + - - + + + - - - + + - - - - - + + + - + + + + - - + - + + - - - + + + - - + + + + + + + + - - - + + + - - - - - - - - + + + + + + + + - - - - - - - - - - - - - - - - - - - - - - - - + diff --git a/svg/chapter-13/footnote-example-orig.svg b/svg/chapter-13/footnote-example-orig.svg index fcf0ccf..b1eea79 100644 --- a/svg/chapter-13/footnote-example-orig.svg +++ b/svg/chapter-13/footnote-example-orig.svg @@ -72,30 +72,33 @@ - - - - + - + - + - + + + + - + + + + @@ -185,273 +188,264 @@ - - - - + + + + - + - - - + + + - - - - + + + + - - - - - - - - + + + + + + + + - - - - + + + + - - - + + + - - + + - - + + - - - + + + - - + + + - - + - - - - - - + + + + + + - - - - - - + + + + + + - + + + + - - - + + + + - - - - + + - - + + + + + + - - - - - - + + + + - - - - + + + + - - - - + + - - + - + + + + - - - - + + + + + - - - - - + - + - - + - + - - + + - + - - + + - - - + + + + + + + - + + + - - - - - - - - - - + + + + + - - + + + + + + + - + + + - - - + + + - - + - - + + + - - - + + - - - - - + + + - + + + + - - + - + + - - - + + + - - + + + + + + + + - - - + + + - - - - - - - - + + + + + + + + - - - - - - - - - - - - - - - - - - - - - - - - + diff --git a/svg/chapter-13/footnote-example.tex b/svg/chapter-13/footnote-example.tex index 3acdf3a..0b47cd5 100644 --- a/svg/chapter-13/footnote-example.tex +++ b/svg/chapter-13/footnote-example.tex @@ -7,6 +7,6 @@ \thispagestyle{empty} \vspace*{18.5cm} -The wild boar (Sus scrofa), also known as the wild swine, Common wild pig, or simply wild pig, is a suid native to much of the Palearctic, as well as introduced numbers in the Americas and Southeast Asia.\footnote{\url{https://en.wikipedia.org/wiki/Wild_boar}} +The wild boar (Sus scrofa), also known as the wild swine, common wild pig, or simply wild pig, is a suid native to much of Eurasia and North Africa, and has been introduced to the Americas and Oceania.\footnote{\url{https://en.wikipedia.org/wiki/Wild_boar}} \end{document}