Update references task

This commit is contained in:
Florian 2025-11-17 22:10:38 +01:00
parent 293f3e8d9e
commit 0b71f0b4c1
2 changed files with 3 additions and 3 deletions

View File

@ -157,7 +157,7 @@ Referenzen einfügen
@content
* Ersetzt im Text in der Datei `references.tex` im Ordner `exercises/references` *In the figure* und *The following source code listing* durch eine **Referenz** auf das Bild bzw. auf das Quelltext-Listing.
* Nutzt dafür den Befehl `\Cref`.
* Achtet darauf, zuerst **Labels** für die Elemente, die ihr referenzieren wollt, zu vergeben.
* Achtet darauf, zuerst **Labels** und **Captions** für die Elemente, die ihr referenzieren wollt, zu vergeben.
* Bei **Quelltext-Listings** funktioniert die Angabe von Labels und Captions leicht anders. Nutzt euer bisheriges Wissen und das Internet, um herauszufinden, wie ihr den Befehl `\lstinputlisting` anpassen müsst, um beides zu vergeben.

View File

@ -156,8 +156,8 @@ Inserting references
@content
* In file `exercises/references/references.tex`, replace *In the figure* and *The following source code listing* by **references** to the figure and to the source code listing.
* Use the command `\Cref` for the references.
* Make sure to add **labels** to the elements that you want to create a reference for.
* For source code listings, adding labels and captions is a bit different. Try to apply the knowledge you gained so far to retrieve the correct version of the `\lstinputlisting` command. Use the Internet, if necessary.
* Make sure to add **labels** and **captions** to the elements that you want to create a reference for.
* For source code listings, adding labels and captions is a bit different. Try to apply the knowledge you gained so far to retrieve the correct version of the `\lstinputlisting` command. Use the Internet, if necessary.
@slide(layout=extra-content-and-preview)