Commit d3f83ad1d36816eb93c05bcf8c8fdb3ee3334d5d
authorMarian Korosec <kormam13@htl-kaindorf.ac.at>
Wed, 14 Mar 2018 22:40:46 +0000 (23:40 +0100)
committerMarian Korosec <kormam13@htl-kaindorf.ac.at>
Wed, 14 Mar 2018 22:40:46 +0000 (23:40 +0100)
6 files changed:
appendix.tex
inhalt.tex
listings.tex
main.pdf
main.tex
opening.tex

index cb520f32a4275f0b9c689754493ebba13105c04a..9dc74cc7da53966994a6eeb8a71d4a0919be81f5 100644 (file)
@@ -20,7 +20,7 @@
 \markboth{}{}  %end chapter
 
 \bibliography{Literaturverzeichnis}
-\bibliographystyle{jurabib}
+\bibliographystyle{unsrt}
 
 \chapter{Abkürzungsverzeichnis}
 \begin{acronym}
index 7b6f39bb9087dddea4cd028ed95801f667410c77..5aa7c4bca59b734a08ea19f699a6e5c31f57e903 100644 (file)
@@ -34,7 +34,7 @@ Hier muss Text stehen, sonst wird von unten alles verschoben. Sollte nicht genug
 Hier muss Text stehen, sonst wird der Paragraph nicht angezeigt.\footnote{Fußnote mit URL.\\ \url{https://www.htl-mechatronik.at/}, (letzter Zugriff am 7.3.2018)} 
 
 \begin{lstlisting}[style=java,caption=Java Codebeispiel]
-package u04t;
+package ue04;
 
 import ue04.Bauteil;
 import ue04.Kondensator;
index ff276638e320c1accf38797b959f600a19a707d4..16cae6ec3bd7b9c9575b2d100d7939746979a493 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{courier}\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
   commentstyle=\color{java_net_comment},                                                                                                                       % comment style
   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
 \lstdefinestyle{C}{ %define c style
   language=C,                                  % the language of the code
   backgroundcolor=\color{codeBackGray},        % choose the background color; you must add \usepackage{color} or \usepackage{xcolor}
-  basicstyle=\fontencoding{T1}\fontfamily{courier}\fontseries{m}\selectfont\footnotesize,                      % the size of the fonts that are used for the code
+  basicstyle=\fontencoding{T1}\fontfamily{DejaVuSansMono-TLF}\fontseries{m}\selectfont\footnotesize,                   % the size of the fonts 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
   commentstyle=\color{C_net_comment},          % comment style
   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
index daa0513fecb310489d36da7921224f7ba50e09ab..a1fc1f6d44e8d4f9c316b286cc29ad72524a4c92 100644 (file)
Binary files a/main.pdf and b/main.pdf differ
index 000718885d41c573988f71e73ecd225686bfbeca..cd052b10ff669c32b2916accc8e112bfddf80f05 100644 (file)
--- a/main.tex
+++ b/main.tex
@@ -1,7 +1,7 @@
 \documentclass
 [
 a4paper,                                                                                                                       %Papierformat
-11pt,                                                                                                                          %Schriftgröße
+12pt,                                                                                                                          %Schriftgröße
 twoside=true,                                                                                                          %Zweiseitig
 openright,                                                                                                                     %Neues Kapitel immer auf der rechten Seite
 titlepage,                                                                                                                     %Titelseite
@@ -34,6 +34,7 @@ bibliography=totocnumbered,                                                                                   %Literaturverzeichnis
 \usepackage{wrapfig}                                                                                           %Textumfluss von Bildern, die nicht die ganze Seite brauchen
 \usepackage{setspace}                                                                                          %Zeilenabstand
 \usepackage{listings}                                                                                          %Listings (=Code)
+\usepackage{DejaVuSerif}                                                                                       %DejaVu Sans Mono (listings)
 \usepackage{times}                                                                                                     %Schriftart Times Roman
 \usepackage{courier}                                                                                           %Schriftart Courier
 \usepackage{multirow}                                                                                          %Bessere Tabellenformatierung
index d99953490da29b7ac890337925b6c16a92a4f3ae..754fadd9b3fab818c30f6b713e47d07d4d9d8658 100644 (file)
@@ -2,9 +2,6 @@
 \pagenumbering{Roman}                                                                          %Römische Zahlen
 \addtocounter{page}{2}
 
-\rehead{}
-\ohead[\pagemark]{\pagemark}
-
 \newcommand{\doublesignature}[2]{%
   \parbox{\textwidth}{
     \hfill