FIx listings task
This commit is contained in:
parent
f83a60b5c0
commit
44b7b9820a
@ -100,6 +100,7 @@ Listings
|
||||
@content
|
||||
* Im Ordner `exercises/source-code-listings` findet ihr eine Datei namens `Source.java`.
|
||||
* **Bindet** den Java-Quelltext in der Datei `source-code-listings.tex` **ein**. (Beachtet, dass der Dateipfad relativ zu `main-exercises.tex` ist.)
|
||||
* Erlaubt die Verwendung von **Sonderzeichen** durch Angabe der `literate`-Option.
|
||||
* Aktiviert das **Syntax-Highlighting** durch Angabe der Sprache Java.
|
||||
* **Nummeriert** die Zeilen und aktiviert **Umbrüche**.
|
||||
* Setzt mit dem Parameter `basicstyle` eine dicktengleiche Schrift (`\ttfamily \small`).
|
||||
|
||||
@ -100,6 +100,7 @@ Listings
|
||||
@content
|
||||
* In the directory `exercises/source-code-listings` you can find a file named `Source.java`.
|
||||
* **Include** it 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-exercises.tex`.)
|
||||
* Enable **special characters** via the `literate` option.
|
||||
* Activate **syntax highlighting** by stating the programming language Java.
|
||||
* **Number** the code lines.
|
||||
* Set the `basicstyle` to a proper mono-spaced font (`\ttfamily \small`)
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user