change cref to Cref in references exercise
This commit is contained in:
parent
56a312884a
commit
d59e8efae6
@ -205,7 +205,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`.
|
||||
* Nutzt dafür den Befehl `\Cref`.
|
||||
* Achtet darauf, zuerst **Labels** für die Elemente, die ihr referenzieren wollt, zu vergeben.
|
||||
* Packt dafür das Quelltext-Listing in eine **Umgebung** namens `listing`.
|
||||
* Fügt noch eine **Beschriftung** zum Listing hinzu.
|
||||
|
||||
@ -206,7 +206,7 @@ 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.
|
||||
* Use the command `\Cref` for the references.
|
||||
* Make sure to add **labels** to the elements that you want to create a reference for.
|
||||
* To do so, wrap the source code listing in a `listing` **environment**.
|
||||
* Additionally, add a **caption** to the source code listing.
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user