Fix listings task
This commit is contained in:
parent
8f9ef296fd
commit
e0e694f900
@ -3,5 +3,6 @@
|
||||
numbers=left, % line numbers
|
||||
showstringspaces=false, % spaces in strings
|
||||
keywordstyle=\color{blue}, % keyword color
|
||||
basicstyle=\ttfamily\small % overall font and size
|
||||
basicstyle=\ttfamily\small, % overall font and size
|
||||
literate={ä}{{\"a}}1 {ß}{{\ss}}1 % special characters
|
||||
]{exercises/source-code-listings/Source.java}
|
||||
@ -9,6 +9,7 @@ If you have questions, consult the \pkg{minted} or \pkg{listings} package docume
|
||||
\begin{enumerate}
|
||||
\item Include the file into \\
|
||||
\file{exercises/source-code-listings/source-code-listings.tex}.
|
||||
\item Enable special characters via the \code{latex}{literate} option.
|
||||
\item Activate syntax highlighting by stating the programming language Java.
|
||||
\item Add line breaks and line numbers.
|
||||
\item Use the theme \code{latex}{native}.
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user