Use bachelor template
This commit is contained in:
parent
4f76c7c33c
commit
e5b08d4803
4 changed files with 167 additions and 96 deletions
|
@ -1,36 +1,53 @@
|
||||||
\section{Example}
|
\chapter{Bilder} \label{sec:pictures}
|
||||||
|
|
||||||
|
\section{Einzeln}
|
||||||
|
|
||||||
\begin{figure}[H]
|
\begin{figure}[H]
|
||||||
\begin{center}
|
\begin{center}
|
||||||
\includegraphics[width=0.8\textwidth]{example}
|
\includegraphics[width=0.5\linewidth]{example}
|
||||||
\caption{Example Image}
|
\caption{Beispielbild 1}
|
||||||
\label{fig:example}
|
\label{fig:example-1}
|
||||||
\end{center}
|
\end{center}
|
||||||
\end{figure}
|
\end{figure}
|
||||||
|
|
||||||
\cite[vgl. dazu][]{example-book}
|
\section{Doppelt}
|
||||||
|
|
||||||
This Picture (\ref{fig:example}) is awesome
|
\begin{figure}[H]
|
||||||
|
\begin{center}
|
||||||
|
\begin{subfigure}[b]{0.48\linewidth}
|
||||||
|
\includegraphics[width=\textwidth]{example}
|
||||||
|
\caption{Beispielbild 2}
|
||||||
|
\label{fig:example-2}
|
||||||
|
\end{subfigure}
|
||||||
|
\begin{subfigure}[b]{0.48\linewidth}
|
||||||
|
\includegraphics[width=\textwidth]{example}
|
||||||
|
\caption{Beispielbild 3}
|
||||||
|
\label{fig:example-3}
|
||||||
|
\end{subfigure}
|
||||||
|
\caption{Beispielbilder}
|
||||||
|
\label{fig:examples}
|
||||||
|
\end{center}
|
||||||
|
\end{figure}
|
||||||
|
|
||||||
\cite[vgl. dazu][]{example-online}
|
Die \refa{fig:example-2} ist super!
|
||||||
|
|
||||||
\newpage
|
Schau dir mal \refk{sec:pictures} an!
|
||||||
|
|
||||||
\section{Requirements}
|
\chapter{Bibliography}
|
||||||
|
|
||||||
\srequirement{should}
|
\cite[vgl.][]{example-book}
|
||||||
lala und lulu
|
|
||||||
|
|
||||||
\corequirement{could}
|
\cite[][ein Bild]{example-online}
|
||||||
lala und lulu
|
|
||||||
|
|
||||||
\morequirement{could}
|
Vielleicht reicht auch Google\wwwlink{google.de}...
|
||||||
lala und lulu
|
|
||||||
|
|
||||||
\wrequirement{could}
|
\chapter{Abkürzungen}
|
||||||
lala und lulu
|
|
||||||
|
|
||||||
\section{Programming}
|
\ac{html} ist super. \acf{js} wird ausgeschrieben \engl{written out}. \acs{js} wird nur abgekürzt.
|
||||||
|
|
||||||
|
\chapter{Programmierung}
|
||||||
|
|
||||||
|
\section{Lstlisting}
|
||||||
|
|
||||||
\begin{lstlisting}[language=Bash]
|
\begin{lstlisting}[language=Bash]
|
||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
|
@ -38,11 +55,7 @@ lala und lulu
|
||||||
echo "Hello World"
|
echo "Hello World"
|
||||||
\end{lstlisting}
|
\end{lstlisting}
|
||||||
|
|
||||||
\begin{lstlisting}[language=Python]
|
\section{Verbatim}
|
||||||
# same in python
|
|
||||||
|
|
||||||
print("Hello World")
|
|
||||||
\end{lstlisting}
|
|
||||||
|
|
||||||
\begin{verbatim}
|
\begin{verbatim}
|
||||||
$ sudo apt-get update
|
$ sudo apt-get update
|
||||||
|
|
163
main.tex
163
main.tex
|
@ -1,58 +1,61 @@
|
||||||
\documentclass[
|
\documentclass[
|
||||||
a4paper,
|
paper=a4,
|
||||||
oneside,
|
twoside=false,
|
||||||
parskip=half,
|
parskip=half,
|
||||||
listof=entryprefix,
|
listof=entryprefix,
|
||||||
listof=totoc,
|
listof=totoc,
|
||||||
index=totoc,
|
index=totoc,
|
||||||
bibliography=totoc
|
bibliography=totoc,
|
||||||
]{scrartcl}
|
headsepline,
|
||||||
|
]{scrbook}
|
||||||
|
|
||||||
\usepackage{silence}
|
\usepackage{silence}
|
||||||
\WarningFilter{biblatex}{File 'ngerman-iso.lbx'}
|
\WarningFilter{biblatex}{File 'ngerman-iso.lbx'}
|
||||||
\WarningFilter{biblatex}{'\mainlang'}
|
\WarningFilter{biblatex}{'\mainlang'}
|
||||||
|
\WarningFilter{biblatex}{Bibliography string 'online' untranslated}
|
||||||
|
\WarningFilter{hyperref}{Token not allowed in a PDF string}
|
||||||
|
|
||||||
|
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
|
||||||
|
% Fonts Fonts Fonts
|
||||||
|
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
|
||||||
\usepackage[utf8]{inputenc}
|
\usepackage[utf8]{inputenc}
|
||||||
\usepackage[ngerman]{babel}
|
\usepackage[ngerman]{babel}
|
||||||
\usepackage[T1]{fontenc}
|
\usepackage[T1]{fontenc}
|
||||||
|
|
||||||
\usepackage{pdfpages,graphicx,subcaption,lastpage}
|
\usepackage{scrhack}
|
||||||
|
\usepackage{pdfpages,graphicx,subcaption,lastpage,xspace}
|
||||||
\graphicspath{ {./images} }
|
\graphicspath{ {./images} }
|
||||||
|
\usepackage{float,xcolor,csquotes,microtype,etoolbox}
|
||||||
\usepackage{geometry}
|
\MakeOuterQuote{"}
|
||||||
\geometry{a4paper, top=2.5cm, left=2.5cm, right=2.5cm, bottom=2.5cm}
|
\usepackage[automark,markcase=ignoreuppercase,autooneside=false]{scrlayer-scrpage}
|
||||||
\usepackage{float,listings,xcolor,csquotes,microtype,scrlayer-scrpage,etoolbox}
|
|
||||||
\usepackage[official]{eurosym}
|
\usepackage[official]{eurosym}
|
||||||
|
\usepackage[breaklinks,colorlinks,linkcolor=black,citecolor=black,filecolor=black,urlcolor=black]{hyperref}
|
||||||
|
|
||||||
\definecolor{codegreen}{rgb}{0,0.6,0}
|
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
|
||||||
\definecolor{codegray}{rgb}{0.5,0.5,0.5}
|
% Listings Paket
|
||||||
\definecolor{codepurple}{rgb}{0.58,0,0.82}
|
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
|
||||||
\definecolor{backcolour}{rgb}{0.95,0.95,0.92}
|
\usepackage{listings,caption}
|
||||||
\definecolor{weborange}{rgb}{1,0.65,0}
|
\definecolor{codebg}{rgb}{0.95,0.95,0.95}
|
||||||
|
\lstset{
|
||||||
\lstdefinestyle{mystyle}{
|
basicstyle =\ttfamily\color{black}\small,
|
||||||
backgroundcolor=\color{backcolour},
|
keywordstyle =,
|
||||||
commentstyle=\color{codegreen},
|
commentstyle =\color{teal},
|
||||||
keywordstyle=\color{magenta},
|
stringstyle =\itshape,
|
||||||
numberstyle=\tiny\color{codegray},
|
tabsize=2,
|
||||||
stringstyle=\color{codepurple},
|
breaklines=true,
|
||||||
emph={int,char,double,float,unsigned,void,bool},
|
captionpos=b,
|
||||||
emphstyle={\color{weborange}},
|
breakatwhitespace,
|
||||||
basicstyle=\ttfamily\footnotesize,
|
backgroundcolor={\color{codebg}},
|
||||||
breakatwhitespace=false,
|
basewidth=0.5em,
|
||||||
breaklines=true,
|
|
||||||
captionpos=b,
|
|
||||||
keepspaces=true,
|
|
||||||
numbers=left,
|
|
||||||
numbersep=5pt,
|
|
||||||
showspaces=false,
|
|
||||||
showstringspaces=false,
|
|
||||||
showtabs=false,
|
|
||||||
tabsize=2,
|
|
||||||
firstnumber=1,
|
|
||||||
}
|
}
|
||||||
\lstset{style=mystyle}
|
\lstloadlanguages{
|
||||||
|
bash,
|
||||||
|
}
|
||||||
|
\usepackage{pmboxdraw}
|
||||||
|
|
||||||
|
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
|
||||||
|
% Bibliography
|
||||||
|
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
|
||||||
\setuptoc{toc}{totoc}
|
\setuptoc{toc}{totoc}
|
||||||
|
|
||||||
\usepackage[
|
\usepackage[
|
||||||
|
@ -64,15 +67,8 @@
|
||||||
mincitenames=1,
|
mincitenames=1,
|
||||||
maxcitenames=3
|
maxcitenames=3
|
||||||
]{biblatex}
|
]{biblatex}
|
||||||
\addbibresource{bib/online.bib}
|
\addbibresource{./bib/online.bib}
|
||||||
\addbibresource{bib/book.bib}
|
\addbibresource{./bib/book.bib}
|
||||||
|
|
||||||
\DefineBibliographyStrings{ngerman}{
|
|
||||||
andothers = {{et\,al\adddot}},
|
|
||||||
online = {{online}},
|
|
||||||
urlseen = {{Zugriff am:}},
|
|
||||||
urlfrom = {{Verfügbar unter:}},
|
|
||||||
}
|
|
||||||
|
|
||||||
\DeclareNameAlias{default}{family-given/given-family}
|
\DeclareNameAlias{default}{family-given/given-family}
|
||||||
|
|
||||||
|
@ -87,29 +83,76 @@
|
||||||
}
|
}
|
||||||
\AfterTOCHead[lof]{\appto\autodot{:}}
|
\AfterTOCHead[lof]{\appto\autodot{:}}
|
||||||
|
|
||||||
\definecolor{must-have-brown}{RGB}{51, 22, 18}
|
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
|
||||||
\definecolor{should-have-red}{RGB}{229, 24, 31}
|
% Fussnoten
|
||||||
\definecolor{could-have-orange}{RGB}{246, 121, 28}
|
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
|
||||||
\definecolor{wont-have-blue}{RGB}{32, 169, 215}
|
\deffootnote{1.5em}{1em}{\makebox[1.5em][l]{\thefootnotemark}}
|
||||||
\newcommand{\morequirement}[1]{\paragraph{#1}\hfill\textbf{\textcolor{must-have-brown}{must-have}}\\}
|
\addtolength{\skip\footins}{\baselineskip}
|
||||||
\newcommand{\srequirement}[1]{\paragraph{#1}\hfill\textbf{\textcolor{should-have-red}{should-have}}\\}
|
\setlength{\dimen\footins}{10\baselineskip}
|
||||||
\newcommand{\corequirement}[1]{\paragraph{#1}\hfill\textbf{\textcolor{could-have-orange}{could-have}}\\}
|
\interfootnotelinepenalty=10000 % Verhindert das Fortsetzen von
|
||||||
\newcommand{\wrequirement}[1]{\paragraph{#1}\hfill\textbf{\textcolor{wont-have-blue}{won't-have}}\\}
|
% Fussnoten auf der gegen<65>berligenden Seite
|
||||||
|
|
||||||
\ihead{Example Header}
|
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
|
||||||
\chead{}
|
% Commands
|
||||||
\ohead{Surname Lastname}
|
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
|
||||||
\ofoot{Seite~\thepage{}/\pageref{LastPage}}
|
\newcommand{\workDatum}{\today\xspace}
|
||||||
\cfoot{}
|
\newcommand{\workDateTime}{\today{} - \thistime\ Uhr}
|
||||||
\title{Example Title}
|
\newcommand{\workFirma}{<Firma>\xspace}
|
||||||
\usepackage[breaklinks,colorlinks,linkcolor=black,citecolor=black,filecolor=black,urlcolor=black]{hyperref}
|
\newcommand{\workTitel}{<Titel>}
|
||||||
|
\newcommand{\workNameStudent}{<Student>\xspace}
|
||||||
|
\newcommand{\workTyp}{<Arbeit>\xspace}
|
||||||
|
|
||||||
|
\newcommand{\www}[1]{\href{http://#1}{#1}}
|
||||||
|
\newcommand{\wwwhttp}[1]{\href{#1}{#1}}
|
||||||
|
\newcommand{\wwwlink}[1]{\footnote{\www{#1}}}
|
||||||
|
|
||||||
|
\newcommand{\zB}{\mbox{z.\,B.}\xspace}
|
||||||
|
\newcommand{\ua}{\mbox{u.\,a.}\xspace}
|
||||||
|
\newcommand{\dah}{\mbox{d.\,h.}\xspace}
|
||||||
|
\newcommand{\uAe}{\mbox{u.\,a.}\xspace}
|
||||||
|
|
||||||
|
\newcommand{\refp}[1]{Seite~\pageref{#1}\xspace}
|
||||||
|
\newcommand{\refk}[1]{Kapitel~\ref{#1}\xspace}
|
||||||
|
\newcommand{\refa}[1]{Abbildung~\ref{#1}\xspace}
|
||||||
|
\newcommand{\reft}[1]{Tabelle~\ref{#1}\xspace}
|
||||||
|
\newcommand{\reflst}[1]{Listing~\ref{#1}\xspace}
|
||||||
|
|
||||||
|
\newcommand{\engl}[1]{(engl: \textit{#1})\xspace}
|
||||||
|
|
||||||
|
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
|
||||||
|
% Kopf und Fusszeilen
|
||||||
|
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
|
||||||
|
\usepackage{scrtime}
|
||||||
|
\pagestyle{scrheadings}
|
||||||
|
\clearpairofpagestyles
|
||||||
|
\ihead[]{\leftmark}
|
||||||
|
\ohead[]{\rightmark}
|
||||||
|
\counterwithout{footnote}{chapter}
|
||||||
|
\ifoot[\workDateTime]{\workDateTime}
|
||||||
|
\ofoot[\pagemark]{\pagemark}
|
||||||
|
|
||||||
|
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
|
||||||
|
% Acronyms
|
||||||
|
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
|
||||||
|
\usepackage{acro}
|
||||||
|
|
||||||
|
\DeclareAcronym{html}{short=HTML,long=HyperText Markup Language}
|
||||||
|
\DeclareAcronym{js}{short=JS,long=JavaScript}
|
||||||
|
|
||||||
|
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
|
||||||
|
% Dokument
|
||||||
|
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
|
||||||
\begin{document}
|
\begin{document}
|
||||||
|
|
||||||
\include{titlepage/titlepage}
|
\include{titlepage/titlepage}
|
||||||
|
\include{vorspiel/vorspiel}
|
||||||
|
|
||||||
\tableofcontents
|
\tableofcontents
|
||||||
\newpage
|
\newpage
|
||||||
\listoffigures
|
\listoffigures
|
||||||
|
\printacronyms
|
||||||
|
\addcontentsline{toc}{chapter}{Abkürzungen}
|
||||||
|
|
||||||
\include{example/example}
|
\include{example/example}
|
||||||
|
|
||||||
\printbibliography[title=Literaturverzeichnis]
|
\printbibliography[title=Literaturverzeichnis]
|
||||||
|
|
|
@ -8,21 +8,26 @@
|
||||||
\includegraphics[width=5cm]{example}
|
\includegraphics[width=5cm]{example}
|
||||||
\HRule{13pt}{1pt}
|
\HRule{13pt}{1pt}
|
||||||
\centering
|
\centering
|
||||||
\Large
|
|
||||||
\vlinespace{5}\\
|
\vlinespace{5}\\
|
||||||
Something for\\
|
\workTyp\\
|
||||||
\huge
|
\begin{Large}
|
||||||
\textbf{Someone}\\
|
\textbf{Titel}\\
|
||||||
\Large
|
\textbf{und mehr}\\
|
||||||
\vlinespace{3}
|
\end{Large}
|
||||||
Lala und Lullu\\
|
\vlinespace{4}
|
||||||
writing in \LaTeX\\
|
im Studiengang\\
|
||||||
\vlinespace{6}
|
<Studiengang>\\
|
||||||
\huge
|
am \workDatum\\
|
||||||
\textbf{Surname Lastname}\\
|
\vlinespace{4}
|
||||||
\Large
|
vorgelegt von\\
|
||||||
|
\begin{Large}
|
||||||
|
\textbf{\workNameStudent}\\
|
||||||
|
\end{Large}
|
||||||
|
\vlinespace{1}
|
||||||
|
Matrikelnummer: <12345>
|
||||||
\vfill
|
\vfill
|
||||||
\raggedright{}
|
\raggedright{}
|
||||||
\HRule{13pt}{1pt} \\
|
\HRule{13pt}{1pt} \\
|
||||||
\titleemph{Something else:} Oh yeah
|
\titleemph{Erstprüfer:} Prof. <wx>\\
|
||||||
|
\titleemph{Zweitprüfer:} Prof. <yz>
|
||||||
\end{titlepage}
|
\end{titlepage}
|
10
vorspiel/vorspiel.tex
Normal file
10
vorspiel/vorspiel.tex
Normal file
|
@ -0,0 +1,10 @@
|
||||||
|
\chapter*{Eidesstattliche Erklärung}
|
||||||
|
|
||||||
|
Hiermit versichere ich, die vorliegende Arbeit selbstständig und unter ausschließlicher Verwendung der angegebenen Literatur und Hilfsmittel erstellt zu haben.
|
||||||
|
|
||||||
|
Die Arbeit wurde bisher in gleicher oder Ähnlicher Form keiner anderen Prüfungsbehörde vorgelegt und auch nicht veröffentlicht.
|
||||||
|
|
||||||
|
\begin{tabbing}
|
||||||
|
Esslingen, den \workDatum ~~ \= \rule{5cm}{0.3mm}\\
|
||||||
|
\> Unterschrift
|
||||||
|
\end{tabbing}
|
Loading…
Reference in a new issue