update tasks on references and footnotes

This commit is contained in:
Fradtschuk 2021-04-27 21:39:20 +02:00
parent 41724f6e6b
commit 91e69d903b
3 changed files with 41 additions and 23 deletions

View File

@ -350,13 +350,7 @@ Special characters & symbols
Insert special characters Insert special characters
@content @content
* ++ In section 1.2.2, there are several hypens misused as **dashes.** Replace them by en dashes (Halbgeviertstriche als Gedankenstriche).
* ++ In section 1.2.1, paragraph 2, a `"=` is used. What happens if you use a simple **hyphen** instead?
* ++ In section 1.1.1, “Tech” and “TeX” should be surrounded by **quotation marks.** Use `\enquote{…}` for that.
* ++ In section 1.2.1, paragraph 2, replace the three dots by a real **ellipsis.**
* Replace the spaces in `special-characters.raw.tex` within the abbreviations by **thin spaces**. You can find the file in `exercises/special-characters`. On top of that, replace the space before the word *Euro* by a thin space. * Replace the spaces in `special-characters.raw.tex` within the abbreviations by **thin spaces**. You can find the file in `exercises/special-characters`. On top of that, replace the space before the word *Euro* by a thin space.
* ++ Replace the hyphens by a **dash** (`--`). * ++ Replace the hyphens by a **dash** (`--`).
* ++ Setzt beim Wort *Studierendenausweis* eine **ausschließliche Trennstelle** nach *Studierenden-*. * ++ Add an **exclusive hyphenation** in the word *Studierendenausweis* after *Studierenden-*.
* ++ Replace *Euro* by a **euro sign**. * ++ Replace *Euro* by a **Euro sign**.

View File

@ -183,15 +183,30 @@ sec:section3,sec:section5}.
@task-number @task-number
11 11
@title
Fußnoten einfügen
@content
* Pack den Text *Stand März 2021* in der Datei `exercises/footnotes/footnotes.raw.tex` in eine **Fußnote**.
* ++ Fügt zusätzlich eine **klickbare URL**, die zur Download-Seite des Java Development Kit führt (`https://www.oracle.com/java/technologies/javase-downloads.html`), als Fußnote ein.
@slide(layout=task)
@task-number
12
@title @title
Referenzen einfügen Referenzen einfügen
@content @content
* Schreibt eine **Fußnote** zu einem beliebigen Wort. * Ersetzt im Text in der Datei `references.raw.tex` im Ordner `exercises/references` *in der Abbildung* und *Das nachstehende Quelltext-Listing* durch eine **Referenz** auf das Bild bzw. auf das Quelltext-Listing.
* ++ Fügt auf der zweiten Seite des Dokuments einen Absatz zum LaTeX-Wochenende ein, in dem ihr mit `\cref` auf einige der Stellen **verweist,** an denen ihr zuletzt gearbeitet habt. Ggf. müsst ihr dafür zunächst Label vergeben. * ++ Nutzt dafür den Befehl `\cref`.
* ++ Hüllt die **Listings aus Aufgabe 9** (Abschnitt 2.4) in eine `figure`-Umgebung. * ++ Achtet darauf, zuerst **Labels** für die Elemente, die ihr referenzieren wollt, zu vergeben.
* ++ Ergänzt jeweils ein **Label** und eine **Bildunterschrift**. * ++ Packt dafür das Quelltext-Listing in eine **Umgebung** namens `listing`.
* ++ Ersetzt die im Fließtext darüber vergebenen Nummern durch **Verweise** auf die Listings. * ++ Fügt noch eine **Beschriftung** zum Listing hinzu.

View File

@ -181,21 +181,30 @@ sec:section3,sec:section5}.
![](svg/chapter-13/cref-multiple-example-crop.svg) ![](svg/chapter-13/cref-multiple-example-crop.svg)
@slide(layout=task) slide(layout=task)
@task-number @task-number
11 11
@title
Inserting footnotes
@content
* Make the text *Stand März 2021* in file `exercies/footnotes/footnotes.raw.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`).
@slide(layout=task)
@task-number
12
@title @title
Inserting references Inserting references
@content @content
* Write a **footnote** for a word of your choice. * In file `exercises/references/references.raw.tex`, replace *in der Abbildung* and *Das nachstehende Quelltext-Listing* by **references** to the figure and to the source code listing.
* ++ On the second page of the document, insert a paragraph about the LaTeX weekend with `\cref` **references** to some of the sections youve been working on. You might have to assign labels first. * ++ Use the command `\cref` for the references.
* ++ Wrap a `figure` environment around the **listings from task 9** (section 2.4). * ++ Make sure to add **labels** to the elements that you want to create a reference for.
* ++ Add a **label** and **caption** to each of them. * ++ To do so, wrap the source code listing in a `listing` **environment**.
* ++ Replace the reference numbers in the surrounding paragraphs by actual **references** to the listings. * ++ Additionally, add a **caption** to the source code listing.