Initial Commit + Docs
This commit is contained in:
commit
3b7636cbdb
239
.gitignore
vendored
Normal file
239
.gitignore
vendored
Normal file
|
@ -0,0 +1,239 @@
|
|||
!.gitignore
|
||||
|
||||
## do not version temporary stuff
|
||||
temp/
|
||||
|
||||
## main build output
|
||||
main.pdf
|
||||
|
||||
## IDE and Editor files
|
||||
.idea/**
|
||||
*.iml
|
||||
.sublime-project
|
||||
.sublime-workspace
|
||||
.vscode
|
||||
|
||||
## MS Office Temp Files
|
||||
~$*.ppt*
|
||||
~$*.doc*
|
||||
~$*.xls*
|
||||
|
||||
|
||||
### !!! LATEX STUFF BELOW !!! ###
|
||||
## Core latex/pdflatex auxiliary files:
|
||||
*.aux
|
||||
*.lof
|
||||
*.log
|
||||
*.lot
|
||||
*.fls
|
||||
*.out
|
||||
*.toc
|
||||
*.fmt
|
||||
*.fot
|
||||
*.cb
|
||||
*.cb2
|
||||
|
||||
## Intermediate documents:
|
||||
*.dvi
|
||||
*-converted-to.*
|
||||
# these rules might exclude image files for figures etc.
|
||||
# *.ps
|
||||
# *.eps
|
||||
# *.pdf
|
||||
|
||||
## Generated if empty string is given at "Please type another file name for output:"
|
||||
.pdf
|
||||
|
||||
## Bibliography auxiliary files (bibtex/biblatex/biber):
|
||||
*.bbl
|
||||
*.bcf
|
||||
*.blg
|
||||
*-blx.aux
|
||||
*-blx.bib
|
||||
*.run.xml
|
||||
|
||||
## Build tool auxiliary files:
|
||||
*.fdb_latexmk
|
||||
*.synctex
|
||||
*.synctex(busy)
|
||||
*.synctex.gz
|
||||
*.synctex.gz(busy)
|
||||
*.pdfsync
|
||||
|
||||
## Auxiliary and intermediate files from other packages:
|
||||
# algorithms
|
||||
*.alg
|
||||
*.loa
|
||||
|
||||
# achemso
|
||||
acs-*.bib
|
||||
|
||||
# amsthm
|
||||
*.thm
|
||||
|
||||
# beamer
|
||||
*.nav
|
||||
*.pre
|
||||
*.snm
|
||||
*.vrb
|
||||
|
||||
# changes
|
||||
*.soc
|
||||
|
||||
# cprotect
|
||||
*.cpt
|
||||
|
||||
# elsarticle (documentclass of Elsevier journals)
|
||||
*.spl
|
||||
|
||||
# endnotes
|
||||
*.ent
|
||||
|
||||
# fixme
|
||||
*.lox
|
||||
|
||||
# feynmf/feynmp
|
||||
*.mf
|
||||
*.mp
|
||||
*.t[1-9]
|
||||
*.t[1-9][0-9]
|
||||
*.tfm
|
||||
|
||||
#(r)(e)ledmac/(r)(e)ledpar
|
||||
*.end
|
||||
*.?end
|
||||
*.[1-9]
|
||||
*.[1-9][0-9]
|
||||
*.[1-9][0-9][0-9]
|
||||
*.[1-9]R
|
||||
*.[1-9][0-9]R
|
||||
*.[1-9][0-9][0-9]R
|
||||
*.eledsec[1-9]
|
||||
*.eledsec[1-9]R
|
||||
*.eledsec[1-9][0-9]
|
||||
*.eledsec[1-9][0-9]R
|
||||
*.eledsec[1-9][0-9][0-9]
|
||||
*.eledsec[1-9][0-9][0-9]R
|
||||
|
||||
# glossaries
|
||||
*.acn
|
||||
*.acr
|
||||
*.glg
|
||||
*.glo
|
||||
*.gls
|
||||
*.glsdefs
|
||||
|
||||
# gnuplottex
|
||||
*-gnuplottex-*
|
||||
|
||||
# gregoriotex
|
||||
*.gaux
|
||||
*.gtex
|
||||
|
||||
# hyperref
|
||||
*.brf
|
||||
|
||||
# knitr
|
||||
*-concordance.tex
|
||||
# TODO Comment the next line if you want to keep your tikz graphics files
|
||||
*.tikz
|
||||
*-tikzDictionary
|
||||
|
||||
# listings
|
||||
*.lol
|
||||
|
||||
# makeidx
|
||||
*.idx
|
||||
*.ilg
|
||||
*.ind
|
||||
*.ist
|
||||
|
||||
# minitoc
|
||||
*.maf
|
||||
*.mlf
|
||||
*.mlt
|
||||
*.mtc[0-9]*
|
||||
*.slf[0-9]*
|
||||
*.slt[0-9]*
|
||||
*.stc[0-9]*
|
||||
|
||||
# minted
|
||||
_minted*
|
||||
*.pyg
|
||||
|
||||
# morewrites
|
||||
*.mw
|
||||
|
||||
# nomencl
|
||||
*.nlo
|
||||
|
||||
# pax
|
||||
*.pax
|
||||
|
||||
# sagetex
|
||||
*.sagetex.sage
|
||||
*.sagetex.py
|
||||
*.sagetex.scmd
|
||||
|
||||
# scrwfile
|
||||
*.wrt
|
||||
|
||||
# sympy
|
||||
*.sout
|
||||
*.sympy
|
||||
sympy-plots-for-*.tex/
|
||||
|
||||
# pdfcomment
|
||||
*.upa
|
||||
*.upb
|
||||
|
||||
# pythontex
|
||||
*.pytxcode
|
||||
pythontex-files-*/
|
||||
|
||||
# thmtools
|
||||
*.loe
|
||||
|
||||
# TikZ & PGF
|
||||
*.dpth
|
||||
*.md5
|
||||
*.auxlock
|
||||
|
||||
# todonotes
|
||||
*.tdo
|
||||
|
||||
# easy-todo
|
||||
*.lod
|
||||
|
||||
# xindy
|
||||
*.xdy
|
||||
|
||||
# xypic precompiled matrices
|
||||
*.xyc
|
||||
|
||||
# endfloat
|
||||
*.ttt
|
||||
*.fff
|
||||
|
||||
# Latexian
|
||||
TSWLatexianTemp*
|
||||
|
||||
## Editors:
|
||||
# WinEdt
|
||||
*.bak
|
||||
*.sav
|
||||
|
||||
# Texpad
|
||||
.texpadtmp
|
||||
|
||||
# Kile
|
||||
*.backup
|
||||
|
||||
# KBibTeX
|
||||
*~[0-9]*
|
||||
|
||||
# auto folder when using emacs and auctex
|
||||
/auto/*
|
||||
|
||||
# expex forward references with \gathertags
|
||||
*-tags.tex
|
13
.gitlab-ci.yml
Normal file
13
.gitlab-ci.yml
Normal file
|
@ -0,0 +1,13 @@
|
|||
stages:
|
||||
- build
|
||||
|
||||
pdf:
|
||||
stage: build
|
||||
tags:
|
||||
- latex
|
||||
artifacts:
|
||||
paths:
|
||||
- main.pdf
|
||||
expire_in: 2d
|
||||
script:
|
||||
- latexmk -pdf
|
140
README.md
Normal file
140
README.md
Normal file
|
@ -0,0 +1,140 @@
|
|||
# LaTex Boilerplate
|
||||
|
||||
This is a simple preconfigured boilerplate for medium-sized LaTex projects including continuous integration for GitLab CI.
|
||||
It's based on the `scrartcl` document class and currently layed out for german scientiefic documents.
|
||||
|
||||
|
||||
## Basic Structure
|
||||
The main entry point for the document compilation is the file `main.tex` in the repo root.
|
||||
Besides setting some common parameters for the document (like author name, title, date etc.), the basic document structure is created here (mostly by including seperate files) in the following order:
|
||||
|
||||
* configuration (`configuration/config.tex`)
|
||||
* title page (`config/title.tex`)
|
||||
* table of contents
|
||||
* list of acronyms (`config/abkuerzungen.tex`)
|
||||
* list of figures
|
||||
* list of tables
|
||||
* list of code listings
|
||||
* chapter files (`chapter/*`, needs to be filled up manually)
|
||||
* bibliography (`config/quellenverzeichnis.tex`, using the entries defined in `library/library.bib`)
|
||||
* declaration of authorship (`config/ehrenwoertliche_erklaerung.tex`)
|
||||
|
||||
If you don't need one of the predefined document parts or want to omit it, simply remove or comment out the corresponding statements in `main.tex`.
|
||||
|
||||
**(i)** Please note: Before starting with content, you should change the common variables in `main.tex`.
|
||||
|
||||
|
||||
## Inserting basic content
|
||||
For each chapter create a single chapter file in the `chapter/` directory.
|
||||
Chapter files need to reference the main file using
|
||||
|
||||
```latex
|
||||
%!TEX root = ../main.tex
|
||||
```
|
||||
|
||||
Next, include it in `main.tex` using
|
||||
|
||||
```latex
|
||||
\input{chapter/myfile}
|
||||
\newpage
|
||||
```
|
||||
|
||||
Numbering the files with prefixes (like `01_introduction`) is recommended.
|
||||
|
||||
|
||||
## Bibliography
|
||||
The bibliography index uses `biblatex`.
|
||||
Entries are taken from `library/library.bib`, you may add your PDF files here too and link them to the bibliography entries (e.g. using biblatex frontend/gui tools like *JabRef*).
|
||||
|
||||
To be included in the document, every bibliography entry needs to be keyword-classified manually.
|
||||
For each keyword there will be a seperate subsection in the bibliography section in the document.
|
||||
If there's no bibliography entry for a keyword, the bibliography type will be ommitted and no subsection will be created in the bibliography section in the document.
|
||||
|
||||
Here's an overview of the supported document types and their keywords:
|
||||
|
||||
| type | biblatex document type | keyword |
|
||||
|-----------------------|------------------------|---------|
|
||||
| monographs | `@Book` | `mono` |
|
||||
| essays | `@Article` | `mag` |
|
||||
| articles | `@Article` | `art` |
|
||||
| web pages | `@Misc` | `web` |
|
||||
| legislative documents | | `leg` |
|
||||
| company internal docs | `@Misc` | `comp` |
|
||||
|
||||
|
||||
References within the document are usually done using the `\autocite` statement.
|
||||
The default citation format is footnote.
|
||||
When referencing within a footnote, please create a manual reference using `\cite`.
|
||||
|
||||
**(!)** For the references to be syntactically complete and correct, pleae consider the correct document types shown in the table above.
|
||||
|
||||
|
||||
## Layout and further configuration
|
||||
The predefined document layout is the following:
|
||||
|
||||
* page size: A4
|
||||
* borders: left=40mm, right=20mm, top=25mm, bottom=25mm (using `geometry`)
|
||||
|
||||
Further configuration can be done in `config/config.tex`.
|
||||
|
||||
|
||||
## Continuous Integration
|
||||
The `.gitlab-ci.yml` file comes preconfigured to compile `main.tex` (and everything included here) to PDF using `pdflatex`.
|
||||
Build output is the file `main.pdf` that can be downloaded from GitLab coordinator for two days (each pipeline run).
|
||||
|
||||
**(!)** Please adapt the configuration to your own runner setup if neccessary.
|
||||
|
||||
|
||||
## Some special effects...
|
||||
### Lists
|
||||
Please use `\compactitem` environment for unordered lists and `\compactenum` environment for ordered lists.
|
||||
|
||||
### Images
|
||||
Resource files for images may be stored in `resources/`.
|
||||
To reference an image from within the document, use the `figure` environment:
|
||||
|
||||
```latex
|
||||
\begin{figure}[H]
|
||||
\centering
|
||||
\fbox{\includegraphics[width=0.75\textwidth]{resources/myimage.png}}
|
||||
\caption{Caption for my image goes here...}
|
||||
\label{fig:myimage}
|
||||
\source{source of the image}
|
||||
\end{figure}
|
||||
```
|
||||
|
||||
The `\label` is used to cross-reference the image using `\ref`.
|
||||
|
||||
The `\caption` may contain a usual `\cite` directive (see below).
|
||||
|
||||
### Acronyms
|
||||
If you introduce acronyms, add them to `config/abkuerzungen.tex` in the following way:
|
||||
|
||||
```latex
|
||||
\acro{VMCS}{Virtual Machine Control Structure}
|
||||
```
|
||||
|
||||
**(i)** Please note: If you have acronyms that are longer than four characters, you may extend the parameter in brackets behind the `\begin{acronym}` statement.
|
||||
|
||||
### Code Listings
|
||||
Listings (code snippets) are done using the `\lstlisting` environment.
|
||||
It can have it's own caption, positioned with the parameter `captionpos` (see official docs):
|
||||
|
||||
```latex
|
||||
\begin{lstlisting}[caption=caption goes here,captionpos=b]
|
||||
// code goes here...
|
||||
\end{lstlisting}
|
||||
```
|
||||
|
||||
Config for syntax highlighting is centrally provided in `config/config.tex` using the `\lstset` directive (defaulting to `C#` in this boilerplate).
|
||||
It may be done individually for each listing.
|
||||
Please see official docs for that.
|
||||
|
||||
### Paragraph distances
|
||||
You may wrap the blocks (lists, images, tables, paragraphs etc.) with a
|
||||
|
||||
```latex
|
||||
\vspace{-\topsep}
|
||||
```
|
||||
|
||||
if the paragraph distances above and/or below seem too large to you.
|
0
chapter/.gitkeep
Normal file
0
chapter/.gitkeep
Normal file
9
config/abkuerzungen.tex
Normal file
9
config/abkuerzungen.tex
Normal file
|
@ -0,0 +1,9 @@
|
|||
%!TEX root = ../main.tex
|
||||
|
||||
\section*{Abkürzungsverzeichnis}
|
||||
\addcontentsline{toc}{section}{Abkürzungsverzeichnis}
|
||||
|
||||
\begin{acronym}[ABCD]
|
||||
% declare your own acronyms here:
|
||||
% \acro{VMCS}{Virtual Machine Control Structure}
|
||||
\end{acronym}
|
6
config/anhang.tex
Normal file
6
config/anhang.tex
Normal file
|
@ -0,0 +1,6 @@
|
|||
%!TEX root = ../main.tex
|
||||
|
||||
\section*{Anhang}
|
||||
\addcontentsline{toc}{section}{Anhang}
|
||||
|
||||
\anhangsverzeichnis
|
284
config/config.tex
Normal file
284
config/config.tex
Normal file
|
@ -0,0 +1,284 @@
|
|||
%!TEX root = ../main.tex
|
||||
|
||||
%% Basierend auf TeXnicCenter-Vorlage von Mark Müller
|
||||
%% Willi Nüßer
|
||||
%% Waldemar Penner
|
||||
%% Ulrich Reus
|
||||
%% Frank Plass
|
||||
%% Oliver Tribeß
|
||||
%% Daniel Hintze
|
||||
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
|
||||
|
||||
% Wählen Sie die Optionen aus, indem Sie % vor der Option entfernen
|
||||
% Dokumentation des KOMA-Script-Packets: scrguide
|
||||
|
||||
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
|
||||
%% Optionen zum Layout des Artikels %%
|
||||
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
|
||||
\documentclass[%
|
||||
paper=A4, % alle weiteren Papierformat einstellbar
|
||||
fontsize=12pt, % Schriftgröße (12pt, 11pt (Standard))
|
||||
%BCOR12mm, % Bindekorrektur, bspw. 1 cm
|
||||
DIV14, % breiter Satzspiegel
|
||||
parskip=half, % Absatzformatierung s. scrguide 3.1
|
||||
%headsepline, % Trennline zum Seitenkopf
|
||||
%footsepline, % Trennline zum Seitenfuß
|
||||
%normalheadings, % Überschriften etwas kleiner (smallheadings)
|
||||
listof=totoc, % Tabellen & Abbildungsverzeichnis ins Inhaltsverzeichnis
|
||||
%bibtotoc, % Literaturverzeichnis im Inhalt
|
||||
%draft % Überlangen Zeilen in Ausgabe gekennzeichnet
|
||||
footinclude=false,% Fußzeile in die Satzspiegelberechnung einbeziehen
|
||||
headinclude=false, % Kopfzeile in die Satzspiegelberechnung einbeziehen
|
||||
final % draft beschleunigt die Kompilierung
|
||||
]
|
||||
{scrartcl}
|
||||
|
||||
% Reduzierung der Abstände zwischen Überschriften und Text
|
||||
\RedeclareSectionCommand[
|
||||
beforeskip=1\baselineskip,
|
||||
afterskip=.0001\baselineskip]{section}
|
||||
\RedeclareSectionCommand[
|
||||
beforeskip=.75\baselineskip,
|
||||
afterskip=.0001\baselineskip]{subsection}
|
||||
\RedeclareSectionCommand[
|
||||
beforeskip=.5\baselineskip,
|
||||
afterskip=.0001\baselineskip]{subsubsection}
|
||||
|
||||
% Seitenränder
|
||||
\usepackage[left=40mm, right=20mm, top=25mm, bottom=25mm]{geometry}
|
||||
|
||||
%\setuptoc{toc}{totoc} % Inhaltsverzeichnis ins Inhaltsverzeichnis
|
||||
|
||||
% Neue Deutsche Rechtschreibung und Deutsche Standardtexte
|
||||
\usepackage[ngerman]{babel}
|
||||
|
||||
% Umlaute können verwendet werden
|
||||
\usepackage[utf8]{inputenc}
|
||||
|
||||
% Echte Umlaute
|
||||
\usepackage[T1]{fontenc}
|
||||
|
||||
% Latin Modern Font, Type1-Schriftart für nicht-englische Texte
|
||||
\usepackage{lmodern}
|
||||
|
||||
% 1/2-zeiliger Zeilenabstand
|
||||
\usepackage[onehalfspacing]{setspace}
|
||||
|
||||
% Für die Defenition eigener Kopf- und Fußzeilen
|
||||
% \usepackage{fancyhdr}
|
||||
|
||||
% Für die Verwendung von Grafiken
|
||||
\usepackage[pdftex]{graphicx}
|
||||
|
||||
% Bessere Tabellen
|
||||
\usepackage{tabularx}
|
||||
|
||||
% Für die Befehle \toprule, \midrule und \bottomrule, z.B. in Tabellen
|
||||
\usepackage{booktabs}
|
||||
|
||||
% Erlaubt die Benutzung von Farben
|
||||
\usepackage{color}
|
||||
|
||||
% Links im PDF
|
||||
\usepackage{hyperref}
|
||||
|
||||
% Verbessertes URL-Handling mit \url{http://...}
|
||||
\usepackage{url}
|
||||
|
||||
% Listen ohne Abstände \begin{compactlist}...\end{compactlist}
|
||||
\usepackage{paralist}
|
||||
|
||||
% Ausgabe der aktuellen Uhrzeit für die Draft-Versionen
|
||||
\usepackage{datetime}
|
||||
|
||||
% Deutsche Anführungszeichen
|
||||
\usepackage[babel,german=quotes]{csquotes}
|
||||
|
||||
% Verbessert das Referenzieren von Kapiteln, Abbildungen etc.
|
||||
\usepackage[german,capitalise]{cleveref}
|
||||
|
||||
% Konfiguration der Abbildungs- und Tabellenbezeichnungen
|
||||
\usepackage[format=hang, font={footnotesize, sf}, labelfont=bf, justification=raggedright,singlelinecheck=false]{caption}
|
||||
|
||||
% Verbessert die Lesbarkeit durch Mikrotypografie
|
||||
\usepackage[activate={true,nocompatibility},final,tracking=true,kerning=true,spacing=true,factor=1100,stretch=10,shrink=10]{microtype}
|
||||
|
||||
% Abbildungen am exakten Ort platzieren
|
||||
\usepackage{float}
|
||||
|
||||
% Fußnoten an Überschriften
|
||||
\usepackage[stable]{footmisc}
|
||||
|
||||
|
||||
% Zitate und Quellenverzeichnis
|
||||
\usepackage[
|
||||
style=authoryear, % Zitierstil
|
||||
firstinits=false, % false = Vornamen werden ausgeschrieben
|
||||
natbib=true,
|
||||
urldate=long, % "besucht am" - Datum
|
||||
%url=false,
|
||||
date=long,
|
||||
dashed=false,
|
||||
maxcitenames=2, % max. Anzahl Autorennamen in Zitaten
|
||||
maxbibnames=99, % max. Anzahl Autorennamen im Quellenverzeichnis
|
||||
%backend=bibtex % Ggf. für ältere Distributionen bibtex verwenden
|
||||
backend=biber,
|
||||
autocite=footnote,
|
||||
uniquelist=false
|
||||
]{biblatex}
|
||||
|
||||
% Bibliograpthy
|
||||
\bibliography{library/library}
|
||||
|
||||
% Keine Einrückung bei einem neuen Absatz
|
||||
\parindent 0pt
|
||||
|
||||
% Ebenentiefe der Nummerierung
|
||||
\setcounter{secnumdepth}{3}
|
||||
|
||||
% Gliederungstiefe im Inhaltsverzeichnis
|
||||
\setcounter{tocdepth}{3}
|
||||
|
||||
% Tabellen- und Abbildungsverzeichnis mit Bezeichnung:
|
||||
\usepackage[titles]{tocloft}
|
||||
|
||||
% Sourcecode-Listings
|
||||
\usepackage{listings}
|
||||
|
||||
\definecolor{bluekeywords}{rgb}{0.13,0.13,1}
|
||||
\definecolor{lightbluekeywords}{rgb}{0.13,0.7,1}
|
||||
\definecolor{greencomments}{rgb}{0,0.5,0}
|
||||
\definecolor{redstrings}{rgb}{0.9,0,0}
|
||||
|
||||
\lstset{language=[Sharp]C,
|
||||
showspaces=false,
|
||||
showtabs=false,
|
||||
breaklines=true,
|
||||
showstringspaces=false,
|
||||
escapeinside={(*@}{@*)},
|
||||
commentstyle=\color{greencomments},
|
||||
keywordstyle=[0]\color{bluekeywords}\bfseries,
|
||||
keywordstyle=[1]\color{lightbluekeywords}\bfseries,
|
||||
stringstyle=\color{redstrings},
|
||||
basicstyle=\small\ttfamily,
|
||||
fontadjust,
|
||||
xrightmargin=1mm,
|
||||
keywords=[0]{string, int, public, var, static, using, object, void},
|
||||
keywords=[1]{File,UPFConfig,JsonConvert},
|
||||
tabsize=2,
|
||||
lineskip=-0.1em,
|
||||
frame=tb,
|
||||
numbers=left,
|
||||
numberstyle=\tiny,
|
||||
stepnumber=1,
|
||||
numbersep=5pt,
|
||||
escapeinside=||
|
||||
}
|
||||
|
||||
% Line-Functions %
|
||||
|
||||
\let\origthelstnumber\thelstnumber
|
||||
\makeatletter
|
||||
\newcommand*\Suppressnumber{%
|
||||
\lst@AddToHook{OnNewLine}{%
|
||||
\let\thelstnumber\relax%
|
||||
\advance\c@lstnumber-\@ne\relax%
|
||||
}%
|
||||
}
|
||||
|
||||
\newcommand*\Reactivatenumber{%
|
||||
\lst@AddToHook{OnNewLine}{%
|
||||
\let\thelstnumber\origthelstnumber%
|
||||
\advance\c@lstnumber\@ne\relax}%
|
||||
}
|
||||
\makeatother
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
% Bestimmte Warnungen unterdrücken
|
||||
% siehe http://tex.stackexchange.com/questions/51867/koma-warning-about-toc
|
||||
\usepackage{scrhack}
|
||||
|
||||
%% http://tex.stackexchange.com/questions/126839/how-to-add-a-colon-after-listing-label
|
||||
\makeatletter
|
||||
\begingroup\let\newcounter\@gobble\let\setcounter\@gobbletwo
|
||||
\globaldefs\@ne \let\c@loldepth\@ne
|
||||
\newlistof{listings}{lol}{\lstlistlistingname}
|
||||
\endgroup
|
||||
\let\l@lstlisting\l@listings
|
||||
\makeatother
|
||||
|
||||
\renewcommand*\cftfigpresnum{Abbildung~}
|
||||
\renewcommand*\cfttabpresnum{Tabelle~}
|
||||
\renewcommand*\cftlistingspresnum{Listing~}
|
||||
\renewcommand{\cftfigaftersnum}{:}
|
||||
\renewcommand{\cfttabaftersnum}{:}
|
||||
\renewcommand{\cftlistingsaftersnum}{:}
|
||||
\settowidth{\cftfignumwidth}{\cftfigpresnum 99~\cftfigaftersnum}
|
||||
\settowidth{\cfttabnumwidth}{\cfttabpresnum 99~\cftfigaftersnum}
|
||||
\settowidth{\cftlistingsnumwidth}{\cftlistingspresnum 99~\cftfigaftersnum}
|
||||
\setlength{\cfttabindent}{1.5em}
|
||||
\setlength{\cftfigindent}{1.5em}
|
||||
\setlength{\cftlistingsindent}{1.5em}
|
||||
|
||||
\renewcommand\lstlistlistingname{Listingverzeichnis}
|
||||
|
||||
% Style für Kopf- und Fußzeilenfelder
|
||||
% \pagestyle{fancy}
|
||||
% \fancyhf{}
|
||||
% \fancyhead[R]{\leftmark}
|
||||
% \fancyfoot[R]{\thepage}
|
||||
% \renewcommand{\sectionmark}[1]{\markboth{#1}{#1}}
|
||||
% \fancypagestyle{plain}{}
|
||||
|
||||
% Macro für Quellenangaben unter Abbildungen und Tabellen
|
||||
\newcommand{\source}[1]{\vspace{-.5\topsep}\caption*{\textsf{\textbf{Quelle:}} \textsf{#1}} }
|
||||
|
||||
%\makeatletter
|
||||
%\def\l@lstlisting#1#2{\@dottedtocline{1}{0em}{1.5em}{\lstlistingname\space{#1}}{#2}}
|
||||
%\makeatother
|
||||
|
||||
% Anhangsverzeichnis
|
||||
\usepackage[nohints]{minitoc} %Anhangsverzeichnis
|
||||
|
||||
\makeatletter
|
||||
\newcounter{fktnr}\setcounter{fktnr}{0}
|
||||
\newcounter{subfktnr}[fktnr]\setcounter{subfktnr}{0}
|
||||
|
||||
\renewcommand\thesubfktnr{\arabic{fktnr}.\arabic{subfktnr}}
|
||||
\newcounter{anhangcounter}
|
||||
\newcommand{\blatt}{\stepcounter{anhangcounter}}
|
||||
|
||||
\newcommand{\anhang}[1]{\setcounter{anhangcounter}{0}\refstepcounter{fktnr}
|
||||
\addcontentsline{fk}{subsection}{Anhang~\thefktnr: \hspace*{1em}#1}
|
||||
\subsection*{{Anhang~\thefktnr \hspace*{1em} #1 \hspace*{-1em}}}
|
||||
}
|
||||
|
||||
\newcommand{\subanhang}[1]{\setcounter{anhangcounter}{0}\refstepcounter{subfktnr}
|
||||
\addcontentsline{fk}{subsubsection}{Anhang~\thesubfktnr: \hspace*{1em}#1}
|
||||
\subsubsection*{{Anhang~\thesubfktnr \hspace*{1em} #1 \hspace*{-1em}}}
|
||||
}
|
||||
|
||||
\newcommand{\anhangsverzeichnis}{\mtcaddsection{\subsection*{Anhangsverzeichnis \@mkboth{FKT}{FKT}}}\@starttoc{fk}\newpage}
|
||||
|
||||
% Abkürzungsverzeichnis
|
||||
% \usepackage[acronym, % create list of acronyms
|
||||
% nonumberlist,
|
||||
% toc,
|
||||
% section,
|
||||
% nomain, % don't need main glossary for this example
|
||||
% hyperfirst=false,% don't hyperlink first use
|
||||
% sanitize=none % switch off sanitization as description
|
||||
% ]{glossaries}
|
||||
% \newglossarystyle{mylist}{%
|
||||
% \glossarystyle{long}% base this style on the list style
|
||||
% \renewcommand*{\glossaryentryfield}[5]{%
|
||||
% \glsentryitem{##1}\textbf{##2} & ##3 \\}%
|
||||
% }
|
||||
|
||||
% \input{config/Abkuerzungen}
|
||||
% \makeglossaries\makeglossaries
|
||||
|
||||
\usepackage{acronym}
|
15
config/ehrenwoertliche_erklaerung.tex
Normal file
15
config/ehrenwoertliche_erklaerung.tex
Normal file
|
@ -0,0 +1,15 @@
|
|||
%!TEX root = ../main.tex
|
||||
|
||||
\section*{Ehrenwörtliche Erklärung}
|
||||
\addcontentsline{toc}{section}{Ehrenwörtliche Erklärung}
|
||||
|
||||
Hiermit erkläre ich, dass ich die vorliegende Arbeit selbständig angefertigt habe.
|
||||
Es wurden nur die in der Arbeit ausdrücklich benannten Quellen und Hilfsmittel benutzt.
|
||||
Wörtlich oder sinngemäß übernommenes Gedankengut habe ich als solches kenntlich gemacht.
|
||||
Diese Arbeit hat in gleicher oder ähnlicher Form noch keiner Prüfungsbehörde vorgelegen.
|
||||
\vspace{20mm}
|
||||
|
||||
\ort, \abgabedatum
|
||||
\vspace{10mm}
|
||||
|
||||
\underline{\hspace{8cm}}\\\dokumentenautor
|
30
config/quellenverzeichnis.tex
Normal file
30
config/quellenverzeichnis.tex
Normal file
|
@ -0,0 +1,30 @@
|
|||
%!TEX root = ../main.tex
|
||||
|
||||
\section*{Quellenverzeichnis}
|
||||
\addcontentsline{toc}{section}{Quellenverzeichnis}
|
||||
|
||||
\defbibheading{mono}{\subsection*{Monographien}}
|
||||
\defbibheading{mag}{\subsection*{Aufsätze in Sammelbänden und Zeitschriften}}
|
||||
\defbibheading{art}{\subsection*{Zeitungsartikel}}
|
||||
\defbibheading{web}{\subsection*{Internetquellen}}
|
||||
\defbibheading{leg}{\subsection*{Rechtsprechung}}
|
||||
\defbibheading{comp}{\subsection*{Unternehmensunterlagen/Gesprächsnotizen}}
|
||||
|
||||
\setlength\bibitemsep{1.5\itemsep}
|
||||
\setlength{\bibhang}{2em}
|
||||
|
||||
\renewcommand{\baselinestretch}{1.50}\normalsize
|
||||
|
||||
\begingroup
|
||||
\sloppy
|
||||
|
||||
\printbibliography[heading=mono,keyword=mono]
|
||||
\printbibliography[heading=mag,keyword=mag]
|
||||
\printbibliography[heading=web,keyword=web]
|
||||
|
||||
% Bei Bedarf einkommentieren: (erzeugt sonst Warnungen)
|
||||
% \printbibliography[heading=art,keyword=art]
|
||||
% \printbibliography[heading=leg,keyword=leg]
|
||||
% \printbibliography[heading=comp,keyword=comp]
|
||||
|
||||
\endgroup
|
36
config/title.tex
Normal file
36
config/title.tex
Normal file
|
@ -0,0 +1,36 @@
|
|||
%!TEX root = ../main.tex
|
||||
|
||||
|
||||
\begin{titlepage}
|
||||
|
||||
\begin{center}
|
||||
|
||||
|
||||
\large {\institution}
|
||||
|
||||
\large {\dokumententyp}
|
||||
|
||||
|
||||
~\vspace{1.5cm}\\
|
||||
|
||||
\LARGE \textbf{\dokumententitel}
|
||||
|
||||
\LARGE {\dokumentenuntertitel}
|
||||
|
||||
\vspace{2cm}
|
||||
|
||||
|
||||
\large \textbf{Prüfer:}\\{\dokumentenpruefer}
|
||||
|
||||
\large \textbf{Verfasser}:\\{\dokumentenautor}\\Matrikel-Nr.: {\matrikelnr}\\{\dokumentenautoradresse}
|
||||
|
||||
\large \textbf{Studium:}\\{\studiengang}\\Studiengruppe: {\studiengruppe}
|
||||
|
||||
\large \textbf{Abgabetermin:}\\{\abgabedatum}
|
||||
|
||||
|
||||
\end{center}
|
||||
|
||||
|
||||
\end{titlepage}
|
||||
|
0
library/library.bib
Normal file
0
library/library.bib
Normal file
75
main.tex
Normal file
75
main.tex
Normal file
|
@ -0,0 +1,75 @@
|
|||
\input{config/config}
|
||||
|
||||
% Makros
|
||||
\newcommand{\dokumententyp}{Dokumententyp}
|
||||
\newcommand{\abgabedatum}{\today}
|
||||
\newcommand{\ort}{Ort}
|
||||
\newcommand{\dokumententitel}{Titel}
|
||||
\newcommand{\dokumentenuntertitel}{Untertitel}
|
||||
\newcommand{\dokumentenautor}{Autor}
|
||||
\newcommand{\matrikelnr}{Matrikel-Nr.}
|
||||
\newcommand{\dokumentenautoradresse}{Adresse}
|
||||
\newcommand{\dokumentenpruefer}{Prüfer}
|
||||
\newcommand{\studiengang}{Studiengang}
|
||||
\newcommand{\studiengruppe}{Studiengruppe}
|
||||
\newcommand{\institution}{Fachhochschule der Wirtschaft (FHDW)\\Bergisch Gladbach}
|
||||
|
||||
% PDF-Setup
|
||||
\hypersetup{
|
||||
colorlinks=false,
|
||||
pdfborder={0 0 0},
|
||||
pdftitle=\dokumententitel,
|
||||
pdfauthor=\dokumentenautor
|
||||
}
|
||||
|
||||
\begin{document}
|
||||
%%%%%%%%%%%%%%%
|
||||
%% Deckblatt %%
|
||||
%%%%%%%%%%%%%%%
|
||||
\input{config/title}
|
||||
|
||||
%%%%%%%%%%%%%%%%%%%
|
||||
%% Verzeichnisse %%
|
||||
%%%%%%%%%%%%%%%%%%%
|
||||
\pagenumbering{Roman}
|
||||
|
||||
% Inhaltsverzeichnis
|
||||
\tableofcontents
|
||||
\newpage
|
||||
|
||||
% Abkürzungsverzeichnis
|
||||
\input{config/abkuerzungen}
|
||||
\newpage
|
||||
|
||||
% Abbildungsverzeichnis
|
||||
\listoffigures
|
||||
\newpage
|
||||
|
||||
% Tabellenverzeichnis
|
||||
\listoftables
|
||||
\newpage
|
||||
|
||||
% Listingverzeichnis
|
||||
\lstlistoflistings\newpage
|
||||
\newpage
|
||||
|
||||
%%%%%%%%%%%%
|
||||
%% Inhalt %%
|
||||
%%%%%%%%%%%%
|
||||
\pagenumbering{arabic}
|
||||
|
||||
% insert chapter files here like this:
|
||||
% \input{chapter/myfile}
|
||||
% \newpage
|
||||
|
||||
%%%%%%%%%%%%%
|
||||
%% Schluss %%
|
||||
%%%%%%%%%%%%%
|
||||
% Quellenverzeichnis
|
||||
\input{config/quellenverzeichnis}
|
||||
\newpage
|
||||
|
||||
% Ehrenwörtliche Erklärung
|
||||
\input{config/ehrenwoertliche_erklaerung}
|
||||
|
||||
\end{document}
|
0
resources/.gitkeep
Normal file
0
resources/.gitkeep
Normal file
Loading…
Reference in New Issue
Block a user