From: Marian Korosec Date: Wed, 14 Mar 2018 22:40:46 +0000 (+0100) Subject: Chapter name in header X-Git-Url: https://git.htl-mechatronik.at/public/?a=commitdiff_plain;h=d3f83ad1d36816eb93c05bcf8c8fdb3ee3334d5d;p=diplomarbeit-mechatronik-vorlage-latex.git Chapter name in header --- diff --git a/appendix.tex b/appendix.tex index cb520f3..9dc74cc 100644 --- a/appendix.tex +++ b/appendix.tex @@ -20,7 +20,7 @@ \markboth{}{} %end chapter \bibliography{Literaturverzeichnis} -\bibliographystyle{jurabib} +\bibliographystyle{unsrt} \chapter{Abkürzungsverzeichnis} \begin{acronym} diff --git a/inhalt.tex b/inhalt.tex index 7b6f39b..5aa7c4b 100644 --- a/inhalt.tex +++ b/inhalt.tex @@ -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; diff --git a/listings.tex b/listings.tex index ff27663..16cae6e 100644 --- a/listings.tex +++ b/listings.tex @@ -21,10 +21,12 @@ \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 @@ -68,10 +70,12 @@ \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 diff --git a/main.pdf b/main.pdf index daa0513..a1fc1f6 100644 Binary files a/main.pdf and b/main.pdf differ diff --git a/main.tex b/main.tex index 0007188..cd052b1 100644 --- 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 diff --git a/opening.tex b/opening.tex index d999534..754fadd 100644 --- a/opening.tex +++ b/opening.tex @@ -2,9 +2,6 @@ \pagenumbering{Roman} %Römische Zahlen \addtocounter{page}{2} -\rehead{} -\ohead[\pagemark]{\pagemark} - \newcommand{\doublesignature}[2]{% \parbox{\textwidth}{ \hfill