summaryrefslogtreecommitdiff
path: root/template.tex
diff options
context:
space:
mode:
Diffstat (limited to 'template.tex')
-rw-r--r--template.tex102
1 files changed, 102 insertions, 0 deletions
diff --git a/template.tex b/template.tex
new file mode 100644
index 0000000..d75d772
--- /dev/null
+++ b/template.tex
@@ -0,0 +1,102 @@
+% !TEX TS-program = xelatex
+\documentclass[12pt]{article}
+
+% Language english, ngerman, ...
+\usepackage[english]{babel}
+
+% Font
+\usepackage{fontspec}
+\setmainfont{Times New Roman}
+
+% Citations
+\usepackage[
+ backend=bibtex,
+ style=authoryear %your citation style goes here
+]{biblatex}
+\addbibresource{/home/marcel/Documents/Uni/references.bib} %your .bib file
+% for short citations, like Wittgenstein or Aristoteles
+\DeclareCiteCommand{\shortcite}[\mkbibparens]
+ {\usebibmacro{prenote}}
+ {\printfield{shorttitle}} % nur shorttitle
+ {\multicitedelim}
+ {\addspace\printfield{postnote}}
+\DeclareFieldFormat{postnote}{#1} %entfernt p. vor Seitenzahl
+
+% Page Layout, like Word
+\usepackage[a4paper, left=2.5cm, right=2.5cm, top=2.5cm, bottom=2cm]{geometry}
+
+% line-spacing 1.5, like Word
+\usepackage{setspace}
+\setstretch{1.5}
+
+% Space between paragraphs
+\setlength{\parindent}{0pt}
+\setlength{\parskip}{0.1\baselineskip}
+
+% Headline Styling
+\usepackage{titlesec}
+\titleformat{\section}
+ {\normalfont\Large\bfseries}{\thesection.}{1em}{}
+\titleformat{\subsection}
+ {\normalfont\large\bfseries}{\thesubsection.}{1em}{}
+\titleformat{\subsubsection}
+ {\normalfont\normalsize\bfseries}{\thesubsubsection.}{1em}{}
+
+% Table of Contents Styling
+\usepackage{fancyhdr}
+\usepackage{afterpage}
+\usepackage{tocloft}
+\renewcommand{\cftsecleader}{\cftdotfill{\cftdotsep}}
+\renewcommand{\cftsubsecleader}{\cftdotfill{\cftdotsep}}
+\renewcommand{\cftsubsubsecleader}{\cftdotfill{\cftdotsep}}
+
+\pagenumbering{gobble}
+
+\begin{document}
+
+% Title Page (page 1)
+\begin{titlepage}
+ \centering
+ \vspace*{5cm}
+
+ {\Large Seminar Paper \par}
+ {\Huge\bfseries Title \par}
+ \vspace{2cm}
+
+ {\Large LV-Titel \par}
+ {\Large Prof \par}
+ {\Large Semester \par}
+
+ \vfill
+
+ {\Large Your Name \par}
+ {\Large Matriculation Number: XXXXXX \par}
+\end{titlepage}
+
+% Table of Contents
+\tableofcontents
+\clearpage
+
+% Page numbering starts here
+\pagenumbering{arabic}
+\setcounter{page}{1}
+
+% Here starts the actual paper
+% normal quote: \parencite[Seite(n)]{bibtexeintrag}
+% shortform, for example: Wittgenstein: \shortcite[10]{identifier}
+\section{Introduction}
+
+\clearpage
+
+
+\section{Heading}
+
+\subsection{Sub-Heading}
+
+\clearpage
+
+
+% Literaturverzeichnis
+\printbibliography[heading=bibintoc]
+\end{document}
+