Add remark on relative file paths
This commit is contained in:
parent
f3d249a967
commit
879185015b
@ -121,7 +121,7 @@ Quelltext einbinden
|
|||||||
|
|
||||||
@content
|
@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.
|
* 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 `task-1.tex` **ein**. (Beachtet, dass der Dateipfad relativ zum Hauptdokument ist, also zu `main.tex`.)
|
||||||
* ++ Aktiviert das **Syntax-Highlighting** durch Angabe der Sprache Java.
|
* ++ Aktiviert das **Syntax-Highlighting** durch Angabe der Sprache Java.
|
||||||
* ++ Verwendet eine Option, um die Zeilen zu **nummerieren**.
|
* ++ Verwendet eine Option, um die Zeilen zu **nummerieren**.
|
||||||
* ++ Nutzt das **Theme** `native`.
|
* ++ Nutzt das **Theme** `native`.
|
||||||
|
|||||||
@ -121,7 +121,7 @@ Listing source code
|
|||||||
|
|
||||||
@content
|
@content
|
||||||
* In the directory `exercises/source-code-listings` you can find a file named `Source.java`, which we want to include in our document.
|
* 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.tex`.
|
* ++ **Include** the java code in the file `task-1.tex`. (Keep in mind that the file path is relative to the main LaTeX document, i. e., to `main.tex`.)
|
||||||
* ++ **Number** the code lines.
|
* ++ **Number** the code lines.
|
||||||
* ++ Use the **theme** `native`.
|
* ++ Use the **theme** `native`.
|
||||||
* ++ Change the **background colour** to dark blue.
|
* ++ Change the **background colour** to dark blue.
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user