From 00702f7f8952affb69651ea5378c1ed84667b832 Mon Sep 17 00:00:00 2001 From: Musab Erdem Date: Tue, 6 Aug 2024 16:41:26 +0200 Subject: [PATCH] Auf den Stand der T2000 Arbeit gebracht. --- main.tex | 14 ++++++-- settings/acronyms.tex | 7 ---- settings/preamble.tex | 81 +++++++++++++++++++++++++++++++----------- settings/titlepage.tex | 6 ++-- 4 files changed, 75 insertions(+), 33 deletions(-) diff --git a/main.tex b/main.tex index 20969a3..28f4c53 100644 --- a/main.tex +++ b/main.tex @@ -1,24 +1,32 @@ -% Schriftgröße 12 Punkte \documentclass[12pt,a4paper,oneside]{scrreprt} \input{settings/preamble.tex} \input{settings/acronyms.tex} -\input{settings/symbols.tex} \begin{document} +\input{settings/symbols.tex} + \input{settings/definitions.tex} + \input{settings/titlepage.tex} +\pagebreak +\ifoot*{\vorname \ \nachname} +\ofoot*{\pagemark} \pagenumbering{Roman} +\begingroup +\let\clearpage\relax \ifthenelse{\boolean{sperrvermerk}}{% \input{content/01_sperrvermerk.tex} }{} \input{content/02_eidesstattliche_erklaerung.tex} +\endgroup + \input{content/03_kurzzusammenfassung.tex} \input{content/04_abstract.tex} -\input{content/05_vorwort.tex} +%\input{content/05_vorwort.tex} \input{content/06_verzeichnisse.tex} \pagenumbering{arabic} diff --git a/settings/acronyms.tex b/settings/acronyms.tex index 5130a5b..776960b 100644 --- a/settings/acronyms.tex +++ b/settings/acronyms.tex @@ -3,11 +3,4 @@ long = Graphical User Interface, tag = acronym, first-style = short-long -} - -\DeclareAcronym{HB}{ - short = HB, - long = Hysteresebremse, - tag = acronym, - first-style = short-long } \ No newline at end of file diff --git a/settings/preamble.tex b/settings/preamble.tex index 3cc6deb..9a17817 100644 --- a/settings/preamble.tex +++ b/settings/preamble.tex @@ -10,34 +10,26 @@ %afterskip=0.5\baselineskip ]{chapter} -%\usepackage{scrlayer-scrpage} -%\pagestyle{scrheadings} -%\cofoot*{} -%rofoot*{\pagemark} - %Mathematische Schreibweise und Konformität mit DIN 1304, DIN 1338, DIN 461 \usepackage{amsmath} \usepackage{amsfonts} \usepackage{amssymb} \usepackage{siunitx} +\sisetup{ + output-decimal-marker = {,}, + per-mode = symbol, % für den Bruchstrich statt der Schrägstriche in Einheiten + detect-all = true % damit siunitx die Schriftarten des Hauptdokuments verwendet +} \usepackage{tikz} +\usepackage{pgfplots} +\pgfplotsset{compat=1.14} \usepackage{ifthen} % Boolean-Wert definieren, der steuert, ob der Sperrvermerk & der rote Punkt gezeigt wird \newboolean{sperrvermerk} \setboolean{sperrvermerk}{true} % Setzen Sie dies auf false, um den Sperrvermerk & Punkt zu verstecken -% Befehl zum Zeichnen eines roten Punktes -%\newcommand{\redDot}[1]{% -% \ifthenelse{\boolean{showRedDot}}{% -% \draw (0,0) -- (2, 2); -% }{} -%} -% Roter Punkt aktivieren, #1 kann 'east' oder 'west' sein, um die Position zu bestimmen -%\redDot{east} Dies setzt den Punkt rechts oben. Für rechts unten verwenden Sie "west". - - \usepackage{tocbasic} \DeclareNewTOC[ type=equation, @@ -61,15 +53,41 @@ \addbibresource{settings/literatur.bib} \newcommand{\bilduntertitel}[3]{\caption[#1]{#2 \\(Quelle:~#3)}} -%Syntax: \bilduntertitel{Text für Verzeichnis}{Bilduntertitel}{Quellenangabe} -\newcommand{\tabellenuntertitel}[2]{\caption[#1]{#1 \\(Quelle:~#2)}} +\newcommand{\tabellenuntertitel}[2]{\caption[#1]{#1}\label{#2}} +\newcommand{\tabellenuntertitelquelle}[3]{\caption[#1]{#1 \\(Quelle:~#2)}\label{#3}} \usepackage{scrhack} \usepackage{listings} +\lstset{ + language=C++, % the language of the code + basicstyle=\ttfamily\footnotesize, % the size of the fonts that are used for the code + keywordstyle=\color{blue}, % keyword style + commentstyle=\color{green}, % comment style + stringstyle=\color{red}, % string literal style + numbers=left, % where to put the line-numbers + numberstyle=\tiny\color{gray},% the style that is used for the line-numbers + stepnumber=1, % the step between two line-numbers. If it is 1, each line will be numbered + numbersep=5pt, % how far the line-numbers are from the code + backgroundcolor=\color{white},% choose the background color. You must add \usepackage{color} + showspaces=false, % show spaces adding particular underscores + showstringspaces=false, % underline spaces within strings + showtabs=false, % show tabs within strings adding particular underscores + frame=single, % adds a frame around the code + rulecolor=\color{black}, % if not set, the frame-color may be changed on line-breaks within not-black text (e.g. comments (green here)) + tabsize=2, % sets default tabsize to 2 spaces + captionpos=b, % sets the caption-position to bottom + breaklines=true, % sets automatic line breaking + breakatwhitespace=false, % sets if automatic breaks should only happen at whitespace + title=\lstname, % show the filename of files included with \lstinputlisting; also try caption instead of title + escapeinside={\%*}{*)}, % if you want to add LaTeX within your code + morekeywords={*,...} % if you want to add more keywords to the set +} \usepackage[german]{varioref} +\usepackage{adjustbox} + \usepackage{caption} \usepackage{booktabs} @@ -115,8 +133,29 @@ \ifoot*{Autor: \vorname \ \nachname} % Innenseite der Fußzeile \cfoot*{} % Zentrierter Text in der Fußzeile; auch auf plain Seiten \ofoot*{\pagemark} % Außenseite der Fußzeile -% Linien unter Kopfzeile und über Fußzeile aktivieren -%\addtokomafont{headsepline}{\rule[\baselineskip]{\textwidth}{.5pt}} -%\addtokomafont{footsepline}{\rule[-\baselineskip]{\textwidth}{.5pt}} -\usepackage[hidelinks]{hyperref} \ No newline at end of file +\usepackage{float} + +\newcommand{\BildTitelQuelle}[6]{ +\begin{figure}[H] + \center + \includegraphics[width=#2\textwidth]{#1} + \bilduntertitel{#3}{#4}{#5} + \label{fig:#6} +\end{figure} +} + +\newcommand{\BildTitel}[5]{ + \begin{figure}[H] + \center + \includegraphics[width=#2\textwidth]{#1} + \caption[#3]{#4} + \label{fig:#5} +\end{figure} +} + +\usepackage[hidelinks]{hyperref} +\urlstyle{same} + +\usepackage{multirow} +\usepackage{circuitikz} \ No newline at end of file diff --git a/settings/titlepage.tex b/settings/titlepage.tex index 43a9cc0..dcd66ad 100644 --- a/settings/titlepage.tex +++ b/settings/titlepage.tex @@ -1,6 +1,8 @@ % Titelseite nach Vorlage der DHBW \thispagestyle{empty} \begin{center} + \ifoot*{} + \ofoot*{} \begin{minipage}[t]{0.48\textwidth} \vspace{-15mm} \includegraphics[height=17mm,keepaspectratio]{images/logo1.png} @@ -14,7 +16,7 @@ \vspace{3cm} - {\Large\thema}\\[2cm] + {\Large \thema}\\[2cm] {\large \art_der_arbeit}\\[50mm] @@ -27,8 +29,8 @@ \vorname \ \nachname\\[20mm] Abgabedatum: \abgabedatum\\[35mm] - %Abgabedatum\\[25mm] + \vspace{-10mm} \begin{minipage}[t]{0.49\textwidth} \flushleft Bearbeitungszeitraum\\