26 lines
655 B
TeX
26 lines
655 B
TeX
\usemintedstyle{native}
|
|
\definecolor{ourBackgroundColor}{rgb}{0.1,0.1,0.2}
|
|
|
|
\inputminted[
|
|
breaklines,
|
|
linenos=true,
|
|
bgcolor=ourBackgroundColor,
|
|
firstline=5,
|
|
lastline=7,
|
|
gobble=4
|
|
]{java}{exercises/source-code-listings/Source.java}
|
|
|
|
\usemintedstyle{default}
|
|
\begin{minted}{latex}
|
|
\usemintedstyle{native}
|
|
\definecolor{ourBackgroundColor}{rgb}{0.1,0.1,0.2}
|
|
|
|
\inputminted[
|
|
breaklines, % Zeilenumbrüche
|
|
linenos=true, % Zeilennummerierung
|
|
bgcolor=ourBackgroundColor, % Hintergrundfarbe
|
|
firstline=5, % erste Zeile
|
|
lastline=7, % letzte Zeile
|
|
gobble=4 % Leerzeichen entfernen
|
|
]{java}{exercises/source-code-listings/Source.java}
|
|
\end{minted} |