Use autogobble in minted exercise
This commit is contained in:
parent
f71ca7f887
commit
11981baa80
@ -7,7 +7,7 @@
|
||||
bgcolor=ourBackgroundColor, % background color
|
||||
firstline=5, % first line to be included
|
||||
lastline=7, % last line to be included
|
||||
gobble=4 % remove leading spaces
|
||||
autogobble=true % remove leading spaces
|
||||
]{java}{exercises/source-code-listings/Source.java}
|
||||
|
||||
\usemintedstyle{default}
|
||||
@ -12,8 +12,7 @@ If you have questions, consult the \pkg{minted} or \pkg{listings} package docume
|
||||
\item Use the theme \code{latex}{native}.
|
||||
\item This theme is optimized for a dark background. Change the background color to dark blue.
|
||||
\item Include only lines 5 to 7.
|
||||
\item Delete the spaces at the beginning of the lines by using a suitable
|
||||
option. (Hint: The documentation speaks of \code{latex}{gobble}.)
|
||||
\item Delete the spaces at the beginning of the lines. (Hint: The documentation speaks of \code{latex}{autogobble}.)
|
||||
\end{enumerate}
|
||||
|
||||
\section*{Listings tasks}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user