Initial commit

This commit is contained in:
ML_Maschinelles_Lernen_Grundlagen 2022-02-05 10:27:15 +01:00
commit 7ceb321d1a
12 changed files with 186 additions and 0 deletions

13
.gitignore vendored Normal file
View File

@ -0,0 +1,13 @@
*
!*.tex
!*.bib
!images
!images/*
!parts
!parts/*
!chapters
!chapters/*
!appendix
!appendix/*
!.gitignore
!Readme.md

6
Acronyms.tex Normal file
View File

@ -0,0 +1,6 @@
%%
% list of acronyms
%%
\begin{acronym}
\acro{example}[EXMPL]{example of an acronym}
\end{acronym}

4
Content.tex Normal file
View File

@ -0,0 +1,4 @@
%all the main content goes here
\pagenumbering{arabic}
\input{parts/ExamplePart.tex}

36
Packages.tex Normal file
View File

@ -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}

11
Preface.tex Normal file
View File

@ -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

7
Readme.md Normal file
View File

@ -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)

15
Style.tex Normal file
View File

@ -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}

29
Template_Summary.tex Normal file
View File

@ -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}

14
TitlePage.tex Normal file
View File

@ -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}

View File

@ -0,0 +1,5 @@
\chapter{Example Chapter}
Example Text using \acs{example}
\clearpage
\section{Example Section}
Example Page 2

43
images/Logo_KIT.svg Normal file

File diff suppressed because one or more lines are too long

After

Width:  |  Height:  |  Size: 12 KiB

3
parts/ExamplePart.tex Normal file
View File

@ -0,0 +1,3 @@
\part{Example Part}
\input{chapters/ExamplePart/ExampleChapter.tex}