From 7ceb321d1a5ff73b32943c570fbb67537b4b1e6d Mon Sep 17 00:00:00 2001 From: ML_Maschinelles_Lernen_Grundlagen <> Date: Sat, 5 Feb 2022 10:27:15 +0100 Subject: [PATCH] Initial commit --- .gitignore | 13 ++++++++ Acronyms.tex | 6 ++++ Content.tex | 4 +++ Packages.tex | 36 +++++++++++++++++++++ Preface.tex | 11 +++++++ Readme.md | 7 ++++ Style.tex | 15 +++++++++ Template_Summary.tex | 29 +++++++++++++++++ TitlePage.tex | 14 ++++++++ chapters/ExamplePart/ExampleChapter.tex | 5 +++ images/Logo_KIT.svg | 43 +++++++++++++++++++++++++ parts/ExamplePart.tex | 3 ++ 12 files changed, 186 insertions(+) create mode 100644 .gitignore create mode 100644 Acronyms.tex create mode 100644 Content.tex create mode 100644 Packages.tex create mode 100644 Preface.tex create mode 100644 Readme.md create mode 100644 Style.tex create mode 100644 Template_Summary.tex create mode 100644 TitlePage.tex create mode 100644 chapters/ExamplePart/ExampleChapter.tex create mode 100644 images/Logo_KIT.svg create mode 100644 parts/ExamplePart.tex diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..9f182ce --- /dev/null +++ b/.gitignore @@ -0,0 +1,13 @@ +* +!*.tex +!*.bib +!images +!images/* +!parts +!parts/* +!chapters +!chapters/* +!appendix +!appendix/* +!.gitignore +!Readme.md \ No newline at end of file diff --git a/Acronyms.tex b/Acronyms.tex new file mode 100644 index 0000000..e1941c4 --- /dev/null +++ b/Acronyms.tex @@ -0,0 +1,6 @@ +%% +% list of acronyms +%% +\begin{acronym} + \acro{example}[EXMPL]{example of an acronym} +\end{acronym} \ No newline at end of file diff --git a/Content.tex b/Content.tex new file mode 100644 index 0000000..62a4a10 --- /dev/null +++ b/Content.tex @@ -0,0 +1,4 @@ +%all the main content goes here +\pagenumbering{arabic} + +\input{parts/ExamplePart.tex} \ No newline at end of file diff --git a/Packages.tex b/Packages.tex new file mode 100644 index 0000000..4d31e67 --- /dev/null +++ b/Packages.tex @@ -0,0 +1,36 @@ +%encoding +\usepackage[utf8]{inputenc} +\usepackage[T1]{fontenc} +%language +\usepackage[ngerman]{babel} +%images +\usepackage{graphicx} +\graphicspath{ {./images/} } +\usepackage{wrapfig} +\usepackage{float} +%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} +%acronyms +\usepackage[printonlyused]{acronym} +%header and footer +\usepackage{fancyhdr} +%custom font sizes +\usepackage{anyfontsize} +%bibliography +\usepackage[square, numbers]{natbib} \ No newline at end of file diff --git a/Preface.tex b/Preface.tex new file mode 100644 index 0000000..633768f --- /dev/null +++ b/Preface.tex @@ -0,0 +1,11 @@ +%all content that contains information about the main content (e.g. abbreviations) +\pagenumbering{roman} + +%table of contents +\tableofcontents +\clearpage + +\chapter*{Abkürzungsverzeichnis} +\input{Acronyms.tex} + +%acronyms \ 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/Style.tex b/Style.tex new file mode 100644 index 0000000..b6fd294 --- /dev/null +++ b/Style.tex @@ -0,0 +1,15 @@ +%header content +\fancypagestyle{plain}{ + \pagestyle{fancy} + \fancyhf{} + \chead{\textbf{Zusammenfassung \MODULE}} + \lfoot{\AUTHORCOMPACT~|~\DATE} + \rfoot{\thepage} +} + +\pagestyle{fancy} +\fancyhf{} +\chead{\textbf{Zusammenfassung \MODULE \\\vspace{1mm}}} +\lhead{\leftmark} +\lfoot{\AUTHORCOMPACT~|~\DATE} +\rfoot{\thepage} \ No newline at end of file diff --git a/Template_Summary.tex b/Template_Summary.tex new file mode 100644 index 0000000..314c8c3 --- /dev/null +++ b/Template_Summary.tex @@ -0,0 +1,29 @@ +\documentclass[a4paper,12pt,oneside]{scrbook} +%page format +\usepackage[ + a4paper, + top=35mm,right=20mm,bottom=30mm,left=20mm, + headheight=25mm + ]{geometry} + +\input{Packages.tex} +\input{Style.tex} + +\def \AUTHOR{Example Author\\author@example.com} +\def \MODULE{ExampleModule} +\def \MODULECOMPACT{EM} +\def \AUTHORCOMPACT{Example Author} +\def \DATE{Example Date} + + +\begin{document} + \input{TitlePage.tex} + \clearpage + + \input{Preface.tex} + \clearpage + + \input{Content.tex} + \clearpage + +\end{document} \ No newline at end of file diff --git a/TitlePage.tex b/TitlePage.tex new file mode 100644 index 0000000..8b20bf8 --- /dev/null +++ b/TitlePage.tex @@ -0,0 +1,14 @@ +\thispagestyle{empty} + +\begin{center} + \vspace*{-20mm} + \includesvg[width=.75\pdfpagewidth]{./images/Logo_KIT.svg}\\ + \vspace{25mm} + \Huge + \textbf{Zusammenfassung \MODULECOMPACT}\\ + \vspace{20mm} + \Large + \AUTHOR\\ + \vspace{20mm} + \DATE +\end{center} diff --git a/chapters/ExamplePart/ExampleChapter.tex b/chapters/ExamplePart/ExampleChapter.tex new file mode 100644 index 0000000..82f3050 --- /dev/null +++ b/chapters/ExamplePart/ExampleChapter.tex @@ -0,0 +1,5 @@ +\chapter{Example Chapter} +Example Text using \acs{example} +\clearpage +\section{Example Section} +Example Page 2 \ No newline at end of file diff --git a/images/Logo_KIT.svg b/images/Logo_KIT.svg new file mode 100644 index 0000000..7db97a9 --- /dev/null +++ b/images/Logo_KIT.svg @@ -0,0 +1,43 @@ + + + + + + + + + + + image/svg+xml + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/parts/ExamplePart.tex b/parts/ExamplePart.tex new file mode 100644 index 0000000..efc1090 --- /dev/null +++ b/parts/ExamplePart.tex @@ -0,0 +1,3 @@ +\part{Example Part} + +\input{chapters/ExamplePart/ExampleChapter.tex} \ No newline at end of file