Skip to content

Commit

Permalink
Fix listings task
Browse files Browse the repository at this point in the history
  • Loading branch information
tyrandus committed Apr 28, 2023
1 parent 8f9ef29 commit e0e694f
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
3 changes: 2 additions & 1 deletion exercises/source-code-listings/listings.done.tex
Original file line number Diff line number Diff line change
Expand Up @@ -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}
1 change: 1 addition & 0 deletions exercises/source-code-listings/task.tex
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ \section*{Minted tasks}
\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}.
Expand Down

0 comments on commit e0e694f

Please sign in to comment.