Commit 0212e131c0c51ae0ff277783d36208bde3624bc6
authorgreflm13 <greflm13@htl-kaindorf.ac.at>
Wed, 14 Mar 2018 22:48:22 +0000 (23:48 +0100)
committergreflm13 <greflm13@htl-kaindorf.ac.at>
Wed, 14 Mar 2018 22:48:22 +0000 (23:48 +0100)
2 files changed:
listings.tex
main.pdf

index 16cae6ec3bd7b9c9575b2d100d7939746979a493..288d2cacd6d3ac7837d1f07ab33878ae92b242f0 100644 (file)
 \lstdefinestyle{java}{                                                                                                                                                                         % define java style
   language=Java,                                                                                                                                                               % the language of the code
   backgroundcolor=\color{codeBackGray},                                                                                                                                % choose the background color
-  basicstyle=\fontencoding{T1}\fontfamily{DejaVuSansMono-TLF}\fontseries{m}\selectfont\footnotesize,                           % the size and the font that are used for the code
+  basicstyle=\fontencoding{T1}\fontfamily{DejaVuSansMono-TLF}\fontseries{m}\selectfont\footnotesize,   % the size and the font that are used for the code
   breakatwhitespace=false,                                                                                                                                                     % sets if automatic breaks should only happen at whitespace
   breaklines=true,                                                                                                                                                             % sets automatic line breaking
   captionpos=b,                                                                                                                                                                % sets the caption-position to bottom
-  xleftmargin={0.75cm},
-    % align code with text
+  xleftmargin={0.75cm},                                                                                                                                                                    % align code with text
   commentstyle=\color{java_net_comment},                                                                                                                       % comment style
-  escapeinside={(}{)},                                                                                                                                                         % if you want to add LaTeX within your code
+  escapeinside={(*}{*)},                                                                                                                                                       % if you want to add LaTeX within your code
   extendedchars=true,                                                                                                                                                          % lets you use non-ASCII characters; for 8-bits encodings only, does not work with UTF-8
   frame=none,%single,                                                                                                                                                  % adds a frame around the code
   framexleftmargin=8mm,                                                                                                                                                                        % include numbers into the frame
index a1fc1f6d44e8d4f9c316b286cc29ad72524a4c92..f0f4d29116d649448d847a8fcd5a576dcc7e8732 100644 (file)
Binary files a/main.pdf and b/main.pdf differ