initial commit

This commit is contained in:
Leon Etienne 2021-10-28 09:42:13 +02:00
commit 4ff0ef0cb2
19 changed files with 269 additions and 0 deletions

7
.gitignore vendored Normal file
View File

@ -0,0 +1,7 @@
.vs\
*.aux
*.lof
*.log
*.lot
*.toc
*.tps

Binary file not shown.

15
acrodex.tex Normal file
View File

@ -0,0 +1,15 @@
%
% Abkürzungsverzeichnis
%
% This generates a headline that is linked in the TOC, but without a number
\addcontentsline{toc}{chapter}{Abkürzungsverzeichnis}
\chapter*{Abkürzungsverzeichnis}
\begin{acronym}
%
%
\acro{MDWR}[MDWR]{Michael Derek Werle Rutter}
\acroplural{MDWR}[MDWRs]{Michael Derek Werle Rutters}
%
%
\end{acronym}

11
bibliography.tex Normal file
View File

@ -0,0 +1,11 @@
%
% Quellenverzeichnis
%
\begin{thebibliography}{defaultmarken}
%
%
\bibitem{bib:thielen-froh-getestet} \textbf{Prof. Dr-Ing. Herbert Thielen 2021, indirektes Zitat}: \emph{Lehrveranstaltung 2021, Hochschule Worms - Softwarequalität}
%
%
\end{thebibliography}

6
compile.sh Executable file
View File

@ -0,0 +1,6 @@
pdflatex -interaction errorstopmode -halt-on-error main.tex # Generate table of contents (ToC)
pdflatex -interaction errorstopmode -halt-on-error main.tex # Generate ToC page indices taking account the new ToC file
pdflatex -interaction errorstopmode -halt-on-error main.tex # Generate PDF with new ToC
# Delete all cache files as they spam the working directory
./flushcache.sh

22
environments.tex Normal file
View File

@ -0,0 +1,22 @@
%
% Custom environments
%
% Code frame
\DefineVerbatimEnvironment{code}{Verbatim}
{
tabsize=4,
samepage=true,
frame=lines,
numbers=left,
}
% Nonpagebreaking chapter
\newenvironment{npbrChap}
{
\begingroup
\let\clearpage\relax
}
{
\endgroup
}

1
flushcache.sh Executable file
View File

@ -0,0 +1 @@
rm -f kapitel/*.aux *.aux *.lof *.log *.lot *.toc *.tps *.out

6
footer.tex Normal file
View File

@ -0,0 +1,6 @@
%
% Ende des Dokumentes
%
% Bibliotheksverzeichnis
\input{bibliography}

82
header.tex Normal file
View File

@ -0,0 +1,82 @@
%
% Project header
%
\documentclass[
12pt, % 12pt font size
pdftex, % we are just using pdf
a4paper, % a4 paper format
titlepage,% title has its own page
oneside, % single-page view
%twocolumn,% use two text columns
headsepline, % hr after headline
footsepline, % hr before footer,
bibliography=totoc, % Include literaturverzeichnis in inhaltsverzeichnis
listoftables=totoc,
ngerman, % it's a german document
%draft % create debug build. remove for release build
]{scrreprt}
\parindent=0pt % disable paragraph indent
\usepackage{ngerman}
\usepackage[utf8]{inputenc}
\usepackage[T1]{fontenc}
% Paket um Grafiken im Dokument einbetten zu k<>nnen.
% Im PDF sind GIF, PNG, und PDF Grafiken m<>glich.
\usepackage{graphicx}
% caption setzt per default hypcap=true, sodass Sprungmarken im PDF-File nicht nur
% zu den Captions von Bildern springen, sondern an den oberen Rand der Bilder.
\usepackage{caption}
% Font 'Latin Modern Family' verwenden.
% Verwende dieses Paket wenn du DML selbst kompilierst.
\usepackage{lmodern}
% Tabellen
\usepackage{array}
% Mathematische Formeln
\usepackage{amsmath, amsthm, amssymb, mathtools}
% Deutsche Anf<6E>hrungszeichen
\usepackage[babel, german=quotes]{csquotes}
% Mehrere Bilder als eine Abbildung
\usepackage{subcaption}
% Seiten-bottom-padding
\usepackage[bottom=2.5cm]{geometry}
% Dashed lines
\usepackage{arydshln}
% Colored text
\usepackage{color}
% Custom title format
\usepackage{sectsty}
\allsectionsfont{\rmfamily}
\chaptertitlefont{\rmfamily\hspace*{0.5em}}
% Tab-respecting code printing
\usepackage{fancyvrb}
% Abkürzungsverzeichnis
\usepackage{acronym}
% Metadaten
\usepackage[pdftex,
pdfauthor={Leon Etienne},
pdftitle={Testen der Weinliste Liebig},
pdfsubject={Testen der Weinliste Liebig},
pdfproducer={Latex},
pdfcreator={pdflatex}]{hyperref}
% Load custom macros
\input{macros}
% Load custom environments
\input{environments}

6
imagedex.tex Normal file
View File

@ -0,0 +1,6 @@
%
% Abbildungsverzeichnis
%
\addcontentsline{toc}{chapter}{\listfigurename}
\listoffigures

6
kapitel/fazit.tex Normal file
View File

@ -0,0 +1,6 @@
%
% Kapitel: Fazit
%
\chapter{Fazit}
Abschließend ist zu sagen, dass es ganz schön schwurbelt.

6
kapitel/foobar.tex Normal file
View File

@ -0,0 +1,6 @@
%
% Kapitel: Foobar
%
\chapter{Foobar}
Ene mene miste, es schwurbelt in der Kiste.

View File

@ -0,0 +1,25 @@
%
% Selbstständigkeitserklärung
%
\chapter*{Selbstständigkeitserklärung}
Hiermit erklären wir, dass wir die vorliegende Arbeit selbstständig und ohne Benutzung anderer als der angegebenen Hilfsmittel angefertigt haben.
Alle Stellen, die wörtlich oder sinngemäß aus veröffentlichten und nicht veröffentlichten Schriften
entnommen wurden, sind als solche kenntlich gemacht. Die Arbeit ist noch nicht in
gleicher oder ähnlicher Form oder auszugsweise im Rahmen einer anderen Prüfung
vorgelegt worden.
\\
\\
\\
\hspace*{\fill}Ludwigshafen am Rhein, den 15. November 2021
\\
\\
\\
\\
\hspace*{\fill}Friedrich Gross\ \ \_\_\_\_\_\_\_\_\_\_\_\_\_\_\_
\\
\\
\\
\\
\hspace*{\fill}Leon Etienne\ \ \_\_\_\_\_\_\_\_\_\_\_\_\_\_\_

24
kapitel/titel.tex Normal file
View File

@ -0,0 +1,24 @@
%
% Title page
%
\begin{titlepage}
\begin{center}
\Huge
Exposé - Das smarte Dorf \\
\vspace{5mm}
\normalsize
Verlegung von Glasfaserkabel zur alten Schule\\
\vspace{1cm}
\large
Version 0.5dev\\
\vspace {2 cm }
Friedrich Gross \enpointy{idk@hs-worms.de}\\
Leon Etienne \enpointy{leon@etiennes.de}\\
\vspace{1em}
i.A. Prof. Dr. Michael Derek Werle Rutter \enpointy{rutter@hs-worms.de}
\end{center}
\normalsize
\vfill
Copyright ( c ) 2022 Friedrich Gross, Leon Etienne.
\end{titlepage}

12
macros.tex Normal file
View File

@ -0,0 +1,12 @@
%
% Custom macros
%
% Will encapsule a text in italic << >>
\newcommand{\enpointy}[1]{\emph{\textlangle\textlangle{#1}\textrangle\textrangle}}
% Will add a vertical line to tables
\newcommand{\tblVline}{\vline\hspace{2mm}}
% Will do a full reference, with both a number AND a caption. Like '1.2.3 Coding the code'
\newcommand{\fullref}[1]{\ref{#1} \nameref{#1}}

BIN
main.pdf Normal file

Binary file not shown.

29
main.tex Normal file
View File

@ -0,0 +1,29 @@
%
% Hauptdatei
%
\input{header}
\begin{document}
\input{kapitel/titel}
\input{kapitel/selbstständigkeitserklärung}
% Inhaltsverzeichnis
\include{tocdex}
% Abbildungsverzeichnis
\include{imagedex}
% Tabellenverzeichnis
\include{tabledex}
% Abkürzungsverzeichnis
\include{acrodex}
% Include all the pages
\input{kapitel/foobar}
\input{kapitel/fazit}
% Include the footer
\input{footer}
\end{document}

6
tabledex.tex Normal file
View File

@ -0,0 +1,6 @@
%
% Inhaltsverzeichnis
%
\addcontentsline{toc}{chapter}{\listtablename}
\listoftables

5
tocdex.tex Normal file
View File

@ -0,0 +1,5 @@
%
% Inhaltsverzeichnis
%
\tableofcontents