forked from TH_General/Template_Summary
Merge remote-tracking branch 'template/master'
This commit is contained in:
commit
28ebbad694
19
Appendix.tex
Normal file
19
Appendix.tex
Normal file
@ -0,0 +1,19 @@
|
||||
\pagenumbering{roman}
|
||||
|
||||
%glossary
|
||||
\printglossary[nonumberlist]
|
||||
|
||||
\newpage
|
||||
|
||||
%bibliography
|
||||
\phantomsection
|
||||
\addcontentsline{toc}{chapter}{Literatur}
|
||||
\bibliographystyle{IEEEtran-de}
|
||||
\bibliography{Bibliography.bib}
|
||||
|
||||
\newpage
|
||||
|
||||
%appendix
|
||||
\appendix
|
||||
\chapter{Anhang}
|
||||
\label{appendix}
|
58
Glossary.tex
Normal file
58
Glossary.tex
Normal file
@ -0,0 +1,58 @@
|
||||
%%
|
||||
% all references for the glossary as well as the abbreviation list and nomenclature
|
||||
%%
|
||||
% add glossary for nomenclature
|
||||
\newglossary{nomenclature}{nom}{ncl}{Nomenklatur}
|
||||
|
||||
\shorthandon{"}
|
||||
%--------------------
|
||||
%main glossary
|
||||
%--------------------
|
||||
\newglossaryentry{example}{
|
||||
name=Example,
|
||||
plural=Examples,
|
||||
description={This is an example for a main glossary entry}
|
||||
}
|
||||
|
||||
%--------------------
|
||||
%acronyms
|
||||
%--------------------
|
||||
\setabbreviationstyle[acronym]{long-short}
|
||||
|
||||
\newacronym{EXP}{EXP}{Example}
|
||||
|
||||
%--------------------
|
||||
%nomenclature
|
||||
%--------------------
|
||||
|
||||
%add new key
|
||||
\glsaddstoragekey{unit}{}{\glsentryunit}
|
||||
\glsnoexpandfields
|
||||
|
||||
\newcommand{\newnom}[5]{
|
||||
\newglossaryentry{#1}{
|
||||
name={#2},
|
||||
symbol={#3},
|
||||
description={#4},
|
||||
unit={#5},
|
||||
type=nomenclature,
|
||||
sort={#1}
|
||||
}
|
||||
}
|
||||
%use nomenclature entry (name + symbol) nomF=>First letter upper case
|
||||
\newcommand{\nomf}[1]{\glsentryname{#1} \texorpdfstring{\glslink{#1}{\boldmath\ensuremath{\glsentrysymbol{#1}}}}{}\xspace}
|
||||
\newcommand{\nomF}[1]{\Glsentryname{#1} \texorpdfstring{\glslink{#1}{\boldmath\ensuremath{\glsentrysymbol{#1}}}}{}\xspace}
|
||||
%use nomenclature entry (name) nomS=>First letter upper case
|
||||
\newcommand{\noms}[1]{\glsentryname{#1}\xspace}
|
||||
\newcommand{\nomS}[1]{\Glsentryname{#1}\xspace}
|
||||
%use nomenclature entry (symbol only)
|
||||
\newcommand{\nomsym}[1]{\texorpdfstring{\glslink{#1}{\boldmath\ensuremath{\glsentrysymbol{#1}}}}{#1}\xspace}
|
||||
%use nomenclature entry (use in equation)
|
||||
\newcommand{\nomeq}[1]{\glslink{#1}{\glsentrysymbol{#1}}}
|
||||
|
||||
\newnom{exampl}{Example}{e_xa_mp_le}{Example for a nomenclature entry}{\si{m}}
|
||||
|
||||
\shorthandoff{"}
|
||||
|
||||
\makeglossaries
|
||||
|
@ -1,4 +1,4 @@
|
||||
\documentclass[a4paper,12pt,oneside]{scrbook}
|
||||
\documentclass[ngerman,regno,a4paper,12pt,oneside]{scrbook}
|
||||
%page format
|
||||
\usepackage[
|
||||
a4paper,
|
||||
@ -9,12 +9,14 @@
|
||||
\input{Packages.tex}
|
||||
\input{Style.tex}
|
||||
|
||||
\def \AUTHOR{Paul Lödige\\paul.loedige@student.kit.edu}
|
||||
\def \MODULE{Maschinelles Lernen: Grundlagen und Algorithmen}
|
||||
\def \AUTHOR{Paul Lödige}
|
||||
\def \AUTHOREMAIL{paul.loedige@student.kit.edu}
|
||||
\def \AUTHORSTUDENTID{2423958}
|
||||
\def \MODULE{Maschinelles Lernen: Grundlagend und Algorithmen}
|
||||
\def \MODULECOMPACT{ML}
|
||||
\def \AUTHORCOMPACT{Paul Lödige}
|
||||
\def \DATE{\today}
|
||||
|
||||
\input{Glossary.tex}
|
||||
|
||||
\begin{document}
|
||||
\input{TitlePage.tex}
|
||||
@ -23,7 +25,12 @@
|
||||
\input{Preface.tex}
|
||||
\clearpage
|
||||
|
||||
\input{Content.tex}
|
||||
% {{{ Main Content%
|
||||
\pagenumbering{arabic}
|
||||
\part{Example Part}
|
||||
\input{chapters/ExamplePart/ExampleChapter.tex}
|
||||
\clearpage
|
||||
% }}} %
|
||||
|
||||
\input{Appendix.tex}
|
||||
\end{document}
|
||||
|
131
Packages.tex
131
Packages.tex
@ -1,36 +1,153 @@
|
||||
%--------------------
|
||||
%encoding
|
||||
%--------------------
|
||||
\usepackage[utf8]{inputenc}
|
||||
\usepackage[T1]{fontenc}
|
||||
|
||||
%--------------------
|
||||
%language
|
||||
\usepackage[ngerman]{babel}
|
||||
%--------------------
|
||||
\usepackage{babel}
|
||||
|
||||
%--------------------
|
||||
%images
|
||||
%--------------------
|
||||
\usepackage{graphicx}
|
||||
\graphicspath{ {./images/} }
|
||||
%figure wrapping
|
||||
\usepackage{wrapfig}
|
||||
%precise image placement
|
||||
\usepackage{float}
|
||||
%svg images
|
||||
\usepackage{svg}
|
||||
%quotation
|
||||
|
||||
%--------------------
|
||||
%german quotation
|
||||
%--------------------
|
||||
\usepackage[%
|
||||
left = \glqq,%
|
||||
right = \grqq,%
|
||||
leftsub = \glq,%
|
||||
rightsub = \grq%
|
||||
]{dirtytalk}
|
||||
%boxes
|
||||
\usepackage[framemethod=tikz]{mdframed}
|
||||
|
||||
|
||||
%--------------------
|
||||
%enumeration
|
||||
%--------------------
|
||||
\usepackage{enumerate}
|
||||
\usepackage[shortlabels]{enumitem}
|
||||
|
||||
%--------------------
|
||||
%references
|
||||
%--------------------
|
||||
\usepackage{hyperref}
|
||||
|
||||
%--------------------
|
||||
%for code snippets
|
||||
%--------------------
|
||||
\usepackage{xcolor}
|
||||
\usepackage{listings}
|
||||
%acronyms
|
||||
\usepackage[printonlyused]{acronym}
|
||||
% highlight block in equations
|
||||
\newcommand{\highlight}[2]{%
|
||||
\colorbox{#1}{$\displaystyle#2$}}
|
||||
|
||||
%--------------------
|
||||
%footnotes
|
||||
%--------------------
|
||||
%fix footnotes at the bottom of the page
|
||||
\usepackage[bottom]{footmisc}
|
||||
|
||||
%--------------------
|
||||
%tables
|
||||
%--------------------
|
||||
%enable X columns (columns with automatic width)
|
||||
\usepackage{tabularx}
|
||||
\newcolumntype{Y}{>{\centering\arraybackslash}X} %for centered X column
|
||||
%table longer than one page
|
||||
\usepackage{longtable}
|
||||
%colorfull tables
|
||||
\usepackage{colortbl}
|
||||
%multirows in tables
|
||||
\usepackage{multirow}
|
||||
%enable line break in nomenclature
|
||||
\usepackage{array}
|
||||
%footnotes for tables
|
||||
\usepackage{threeparttable}
|
||||
%enable rotation of table headers
|
||||
\newcommand\rothead{\bfseries\rotatebox{90}}
|
||||
|
||||
%--------------------
|
||||
%glossary & acronyms
|
||||
%--------------------
|
||||
\usepackage{datatool}
|
||||
\usepackage[automake,acronym]{glossaries-extra}
|
||||
%dynamic spaces after a link
|
||||
\usepackage{xspace}
|
||||
|
||||
%--------------------
|
||||
%header and footer
|
||||
%--------------------
|
||||
\usepackage{fancyhdr}
|
||||
|
||||
%--------------------
|
||||
%custom font sizes
|
||||
%--------------------
|
||||
\usepackage{anyfontsize}
|
||||
|
||||
%--------------------
|
||||
%bibliography
|
||||
\usepackage[square, numbers]{natbib}
|
||||
%--------------------
|
||||
\usepackage[square, numbers]{natbib}
|
||||
|
||||
%--------------------
|
||||
%conditional formating
|
||||
%--------------------
|
||||
\usepackage{ifthen}
|
||||
|
||||
%--------------------
|
||||
%equations
|
||||
%--------------------
|
||||
%math symbols and more
|
||||
\usepackage{amsmath}
|
||||
%special symbols
|
||||
\usepackage{fontawesome}
|
||||
%si units
|
||||
\usepackage[output-decimal-marker={,}]{siunitx}
|
||||
%referencing equations
|
||||
\usepackage[noabbrev, nameinlink]{cleveref}
|
||||
%decimal comma
|
||||
\usepackage{icomma}
|
||||
%bold math
|
||||
\usepackage{bm}
|
||||
|
||||
%--------------------
|
||||
%drawings & diagrams
|
||||
%--------------------
|
||||
\usepackage{tikz,pgfplots}
|
||||
\DeclareUnicodeCharacter{2212}{−}
|
||||
\usepgfplotslibrary{groupplots,dateplot}
|
||||
\pgfplotsset{compat=newest}
|
||||
\usetikzlibrary{calc,3d,shapes.arrows,patterns,shapes.geometric}
|
||||
\usepackage{pgf-umlsd}
|
||||
\usepackage{environ}
|
||||
\makeatletter
|
||||
\newsavebox{\measure@tikzpicture}
|
||||
\NewEnviron{scaletikzpicturetowidth}[1]{%
|
||||
\def\tikz@width{#1}%
|
||||
\def\tikzscale{1}\begin{lrbox}{\measure@tikzpicture}%
|
||||
\BODY
|
||||
\end{lrbox}%
|
||||
\pgfmathparse{#1/\wd\measure@tikzpicture}%
|
||||
\edef\tikzscale{\pgfmathresult}%
|
||||
\BODY
|
||||
}
|
||||
\makeatother
|
||||
%boxes
|
||||
\usepackage[framemethod=tikz]{mdframed}
|
||||
|
||||
%--------------------
|
||||
% landscape
|
||||
%--------------------
|
||||
\usepackage{pdflscape}
|
||||
|
||||
|
39
Preface.tex
39
Preface.tex
@ -1,11 +1,42 @@
|
||||
%%
|
||||
%all content that contains information about the main content (e.g. abbreviations)
|
||||
\pagenumbering{roman}
|
||||
%%
|
||||
\pagenumbering{Roman}
|
||||
|
||||
%table of contents
|
||||
\tableofcontents
|
||||
\clearpage
|
||||
|
||||
\chapter*{Abkürzungsverzeichnis}
|
||||
\input{Acronyms.tex}
|
||||
%list of figures
|
||||
\addcontentsline{toc}{chapter}{\listfigurename}
|
||||
\listoffigures
|
||||
%list of tables
|
||||
\addcontentsline{toc}{chapter}{\listtablename}
|
||||
\listoftables
|
||||
\clearpage
|
||||
%abbreviations
|
||||
\printglossary[type=\acronymtype, title=Abkürzungsverzeichnis, nonumberlist]
|
||||
\clearpage
|
||||
|
||||
%nomenclature
|
||||
%custom style
|
||||
\newglossarystyle{symbunitlong}{%
|
||||
\setglossarystyle{long4col}% base this style on the list style
|
||||
\renewcommand{\glsgroupskip}{}%avoids grouping the elements by alphabetical order
|
||||
\renewenvironment{theglossary}{% Change the table type --> 4 columns
|
||||
\renewcommand*{\arraystretch}{1.5}
|
||||
\begin{longtable}{>{\centering}p{.1\textwidth} >{\arraybackslash}p{.225\textwidth} p{.475\textwidth}>{\centering\arraybackslash}p{.1\textwidth}}}%
|
||||
{\end{longtable}}%
|
||||
%
|
||||
\renewcommand*{\glossaryheader}{% Change the table header
|
||||
\bfseries\large Symbol & \bfseries\large Bezeichnung & \large\bfseries Beschreibung & \large\bfseries Einheit\\
|
||||
\hline\endhead}%
|
||||
\renewcommand*{\glossentry}[2]{% Change the displayed items
|
||||
\boldmath\ensuremath{\glossentrysymbol{##1}}
|
||||
& \glstarget{##1}{\hspace*{0pt}\glossentryname{##1}} %
|
||||
& \glossentrydesc{##1}
|
||||
& \glsentryunit{##1}\tabularnewline
|
||||
}%
|
||||
}
|
||||
\printglossary[type=nomenclature, nonumberlist, style=symbunitlong]
|
||||
|
||||
%acronyms
|
@ -3,7 +3,7 @@
|
||||
\pagestyle{fancy}
|
||||
\fancyhf{}
|
||||
\chead{\textbf{Zusammenfassung \MODULE}}
|
||||
\lfoot{\AUTHORCOMPACT~|~\DATE}
|
||||
\lfoot{\AUTHOR~|~\DATE}
|
||||
\rfoot{\thepage}
|
||||
}
|
||||
|
||||
@ -11,5 +11,5 @@
|
||||
\fancyhf{}
|
||||
\chead{\textbf{Zusammenfassung \MODULE \\\vspace{1mm}}}
|
||||
\lhead{\leftmark}
|
||||
\lfoot{\AUTHORCOMPACT~|~\DATE}
|
||||
\rfoot{\thepage}
|
||||
\lfoot{\AUTHOR~|~\DATE}
|
||||
\rfoot{\thepage}
|
||||
|
@ -9,6 +9,8 @@
|
||||
\vspace{20mm}
|
||||
\Large
|
||||
\AUTHOR\\
|
||||
\href{mailto:\AUTHOREMAIL}{\AUTHOREMAIL}\\
|
||||
Matrikel Nr.: \AUTHORSTUDENTID\\
|
||||
\vspace{20mm}
|
||||
\DATE
|
||||
\end{center}
|
||||
|
@ -1,5 +1,8 @@
|
||||
\chapter{Example Chapter}
|
||||
Example Text using \acs{example}
|
||||
Example Text using \gls{example} and the acronym \gls{EXP}
|
||||
\begin{equation}
|
||||
\nomeq{exampl}
|
||||
\end{equation}
|
||||
\clearpage
|
||||
\section{Example Section}
|
||||
Example Page 2
|
||||
Example Page 2
|
||||
|
Loading…
x
Reference in New Issue
Block a user