commit 24d64e38c9b7ecbb6cc4cbb2b0327d7380414fb3 Author: Paul Date: Sat Oct 31 00:01:54 2020 +0100 basic structure inplemented. TODO: styling diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..a32b31c --- /dev/null +++ b/.gitignore @@ -0,0 +1,12 @@ +* +!*.tex +!*.pdf +!*.bib +!images +!images/* +!sections +!sections/* +!appendix +!appendix/* +!.gitignore +!Readme.md \ No newline at end of file diff --git a/Addendum.tex b/Addendum.tex new file mode 100644 index 0000000..142f9a9 --- /dev/null +++ b/Addendum.tex @@ -0,0 +1,17 @@ +\pagenumbering{Roman} + +%glossary +\printglossary + +\newpage + +%bibliography +\bibliographystyle{plain} +\bibliography{Bibliography} + +\newpage + +%appendix +\appendix +\section{Anhang} +\input{appendix/ExampleAppendix.tex} \ No newline at end of file diff --git a/Bibliography.bib b/Bibliography.bib new file mode 100644 index 0000000..5a5b974 --- /dev/null +++ b/Bibliography.bib @@ -0,0 +1,4 @@ +@article{example, + author = "some author", + title = "some title" +} \ No newline at end of file diff --git a/Content.tex b/Content.tex new file mode 100644 index 0000000..1a398ba --- /dev/null +++ b/Content.tex @@ -0,0 +1,4 @@ +%all the main content goes here +\pagenumbering{arabic} + +\input{sections/ExampleSection.tex} \ No newline at end of file diff --git a/Glossary.tex b/Glossary.tex new file mode 100644 index 0000000..f3da532 --- /dev/null +++ b/Glossary.tex @@ -0,0 +1,12 @@ +%% +% all references for the glossary as well as the abbreviation list +%% + +\makeglossaries + +\newglossaryentry{example}{ + name=example, + description={example glossary entry} + } + +\newacronym{empl}{EXMPL}{example} diff --git a/Packages.tex b/Packages.tex new file mode 100644 index 0000000..7bf5402 --- /dev/null +++ b/Packages.tex @@ -0,0 +1,29 @@ +%encoding +\usepackage[utf8]{inputenc} +\usepackage[T1]{fontenc} +%language +\usepackage[ngerman]{babel} +%images +\usepackage{graphicx} +\graphicspath{ {./images/} } +%svg images +\usepackage{svg} +%quotation +\usepackage[% +left = \glqq,% +right = \grqq,% +leftsub = \glq,% +rightsub = \grq% +]{dirtytalk} +%boxes +\usepackage[framemethod=tikz]{mdframed} +%enumeration +\usepackage{enumerate} +%references +\usepackage{hyperref} +%for code snippets +\usepackage{xcolor} +\usepackage{listings} +%glossary +\usepackage{datatool} +\usepackage[automake,acronym]{glossaries} \ No newline at end of file diff --git a/Preface.tex b/Preface.tex new file mode 100644 index 0000000..547c70e --- /dev/null +++ b/Preface.tex @@ -0,0 +1,17 @@ +%all content that contains information about the main content (e.g. abbreviations) + +\pagenumbering{roman} + +%table of contents +\tableofcontents +\clearpage + +%list of figures +\listoffigures + +%list of tables +\listoftables +\clearpage + +%abbreviations +\printglossary[type=\acronymtype, title=Abkürzungsverzeichnis] \ No newline at end of file diff --git a/Readme.md b/Readme.md new file mode 100644 index 0000000..4b6b3eb --- /dev/null +++ b/Readme.md @@ -0,0 +1,7 @@ +# How to use this template +1. fork +1. refactor +1. compile + +## Notice +Requires you to enable [--shell escape](https://tex.stackexchange.com/questions/516604/how-to-enable-shell-escape-or-write18-visual-studio-code-latex-workshop) \ No newline at end of file diff --git a/Template_Document.pdf b/Template_Document.pdf new file mode 100644 index 0000000..b2e4232 Binary files /dev/null and b/Template_Document.pdf differ diff --git a/Template_Document.tex b/Template_Document.tex new file mode 100644 index 0000000..3a9e7bf --- /dev/null +++ b/Template_Document.tex @@ -0,0 +1,29 @@ +\documentclass[a4paper,12pt,oneside]{scrartcl} +\usepackage[a4paper, margin=2cm]{geometry} + +\input{Packages.tex} + +\def \TITLE{Example Title} +\def \SUBTITLE{Example Subtitle} +\def \AUTHOR{Example Author} +\def \DATE{Example Date} + +\input{Glossary.tex} + +\begin{document} + + \input{TitlePage.tex} + + \newpage + + \input{Preface.tex} + + \newpage + + \input{Content.tex} + + \newpage + + \input{Addendum.tex} + +\end{document} \ No newline at end of file diff --git a/TitlePage.tex b/TitlePage.tex new file mode 100644 index 0000000..db6e29f --- /dev/null +++ b/TitlePage.tex @@ -0,0 +1,8 @@ +\title{\TITLE} +\author{\AUTHOR} +\subtitle{\SUBTITLE} +\date{\DATE} + +\clearpage +\maketitle +\thispagestyle{empty} \ No newline at end of file diff --git a/appendix/ExampleAppendix.tex b/appendix/ExampleAppendix.tex new file mode 100644 index 0000000..a1226ef --- /dev/null +++ b/appendix/ExampleAppendix.tex @@ -0,0 +1,2 @@ +\subsection{Example Appendix} +Example Appendix Text. \ No newline at end of file diff --git a/images/TH_OWL_Logo.svg b/images/TH_OWL_Logo.svg new file mode 100644 index 0000000..e9b0538 --- /dev/null +++ b/images/TH_OWL_Logo.svg @@ -0,0 +1,58 @@ + +image/svg+xml \ No newline at end of file diff --git a/images/TH_OWL_Logo_small.svg b/images/TH_OWL_Logo_small.svg new file mode 100644 index 0000000..ba5b034 --- /dev/null +++ b/images/TH_OWL_Logo_small.svg @@ -0,0 +1,66 @@ + +image/svg+xml diff --git a/images/TH_OWL_Logo_tiny.svg b/images/TH_OWL_Logo_tiny.svg new file mode 100644 index 0000000..0cd455d --- /dev/null +++ b/images/TH_OWL_Logo_tiny.svg @@ -0,0 +1,61 @@ + +image/svg+xml diff --git a/sections/ExampleSection.tex b/sections/ExampleSection.tex new file mode 100644 index 0000000..34107c6 --- /dev/null +++ b/sections/ExampleSection.tex @@ -0,0 +1,2 @@ +\section{Example Section} +Example Text \gls{example} using \acrshort{empl} and also citing \cite{example} \ No newline at end of file