-
Notifications
You must be signed in to change notification settings - Fork 6
/
main.tex
74 lines (67 loc) · 5.36 KB
/
main.tex
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
\documentclass
[
a4paper, % Papierformat
12pt, % Schriftgröße
twoside=true, % Zweiseitig
openright, % Neues Kapitel immer auf der rechten Seite
titlepage, % Titelseite
headinclude, % Seitengröße auch bei Kopfzeile
numbers=noenddot, % Bei Kapiteln keine abschließenden Punkte
listof=numbered, % Listingsverzeichnis
bibliography=totocnumbered % Literaturverzeichnis
]
{scrbook} % Dokumenttyp
\usepackage[bottom=1in,inner=1in,outer=20mm,top=20mm]{geometry} % Ganze Seite verwenden
% Kopf und Fußzeile
\usepackage{emptypage} % Leere Seiten ohne Kopf und Fußzeile
\usepackage[headsepline]{scrlayer-scrpage} % Kopf und Fußzeile
\pagestyle{scrheadings} % Nummerierung in der Kopfzeile
\clearpairofpagestyles % Kopf und Fußzeile löschen
\rehead{\headmark} % Kapitelname auf der geraden Seite innen
\ohead[\pagemark]{\pagemark} % Seitennummerierung
\lohead{} % Name auf der ungeraden Seite innen
\renewcommand*{\chapterpagestyle}{scrheadings} % Kopf und Fußzeile auf Seiten mit Überschriften anders
% Dokumenteinstellungen und Paketimporte
\usepackage[T1]{fontenc} % Outputencoding
\usepackage{lmodern}
\usepackage[utf8]{inputenc} % UTF8 + Sonderzeichen
\usepackage{newtxtext, newtxmath} % Font Verbesserungen (z.B. µ direkt verwendbar)
\usepackage[ngerman]{babel} % Deutsch
\usepackage{caption} % Tabellen Listings und Figuren mit Beschriftung in Verzeichnissen
\usepackage[hyphens]{url} % Zeilenumbruch bei URLs
\usepackage{graphicx} % Bilder
\usepackage{float} % Plazierung von Floats (Bilder Tabellen)
\usepackage{wrapfig} % Textumfluss von Bildern, die nicht die ganze Seite brauchen
\usepackage{setspace} % Zeilenabstand
\usepackage{listings} % Listings (=Code)
\usepackage{courier} % Courier (listings)
\usepackage{times} % Schriftart Times Roman
\usepackage{array,multirow} % Bessere Tabellenformatierung
\usepackage{xcolor} % Farben für Codehighlighting oder ähnliches
\usepackage{tabularx} % Bessere Tabellen
\usepackage{appendix} % Anhang Titelseite
\usepackage[printonlyused,withpage]{acronym} % Für die Verwendung von Akronymen + Verzeichnis - printonlyused: Abkürzung nur im Verzeichnis wenn auch benutzt; withpage: Seite der 1. Verwendung im Verzeichnis anzeigen
\setlength{\parindent}{0em} % Einrücken
\setcounter{tocdepth}{5} % Tiefe der Überschriften
\setcounter{secnumdepth}{5} % Nummerierungstiefe der Überschriften
\input{listings} % Datei importieren
\input{biber}
\usepackage[bookmarks]{hyperref} % Automatische Lesezeichen
\usepackage[figure]{hypcap} % Bild referenzieren
\subject{\includegraphics[scale=0.7]{fig/logoMecha}}
\title{Diplomarbeitvorlage}
\subtitle{HTBLA Kaindorf an der Sulm\\
Grazer Straße 202, A-8430 Kaindorf an der Sulm\\
Ausbildungsschwerpunkt Mechatronik und Automatisierungstechnik}
\author{Florian Greistorfer \and Marian Korošec}
\date{Abgabedatum: 7.3.2018}
\publishers{Betreut von:\\Dipl.-Ing. Manfred Steiner}
\begin{document} % Dokumentbeginn
\onehalfspace % Zeilenabstand
\maketitle % Titelseite
\input{opening} % Datei importieren
\tableofcontents % Inhaltsverzeichnis
\mainmatter % Seitennummerierung
\include{inhalt} % Datei importieren
\include{appendix} % Datei importieren
\end{document}