From 06d7d532be2fa0f26ee29a00e35e3f6bd5aa8056 Mon Sep 17 00:00:00 2001 From: paul-loedige Date: Wed, 20 Jan 2021 15:28:46 +0100 Subject: [PATCH] changed style --- .gitignore | 4 ++-- Acronyms.tex | 6 ++++++ Addendum.tex | 17 ----------------- Bibliography.bib | 4 ---- Content.tex | 2 +- Glossary.tex | 12 ------------ Preface.tex | 11 +---------- Style.tex | 20 +++++++++++--------- Template_Summary.tex | 12 ++++++++---- appendix/ExampleAppendix.tex | 2 -- chapters/ExampleChapter.tex | 5 +++++ sections/ExampleSection.tex | 2 -- 12 files changed, 34 insertions(+), 63 deletions(-) create mode 100644 Acronyms.tex delete mode 100644 Addendum.tex delete mode 100644 Bibliography.bib delete mode 100644 Glossary.tex delete mode 100644 appendix/ExampleAppendix.tex create mode 100644 chapters/ExampleChapter.tex delete mode 100644 sections/ExampleSection.tex diff --git a/.gitignore b/.gitignore index 40ef656..945fb52 100644 --- a/.gitignore +++ b/.gitignore @@ -3,8 +3,8 @@ !*.bib !images !images/* -!sections -!sections/* +!chapters +!chapters/* !appendix !appendix/* !.gitignore diff --git a/Acronyms.tex b/Acronyms.tex new file mode 100644 index 0000000..d5ddd66 --- /dev/null +++ b/Acronyms.tex @@ -0,0 +1,6 @@ +%% +% list of acronyms +%% +\makeglossaries + +\newacronym{empl}{EXMPL}{example} \ No newline at end of file diff --git a/Addendum.tex b/Addendum.tex deleted file mode 100644 index 0d64038..0000000 --- a/Addendum.tex +++ /dev/null @@ -1,17 +0,0 @@ -\pagenumbering{Roman} - -%glossary -\printglossary - -\newpage - -%bibliography -\bibliographystyle{plainnat} -\bibliography{Bibliography.bib} - -\newpage - -%appendix -\appendix -\section{Anhang} -\input{appendix/ExampleAppendix.tex} \ No newline at end of file diff --git a/Bibliography.bib b/Bibliography.bib deleted file mode 100644 index 5a5b974..0000000 --- a/Bibliography.bib +++ /dev/null @@ -1,4 +0,0 @@ -@article{example, - author = "some author", - title = "some title" -} \ No newline at end of file diff --git a/Content.tex b/Content.tex index 1a398ba..794f959 100644 --- a/Content.tex +++ b/Content.tex @@ -1,4 +1,4 @@ %all the main content goes here \pagenumbering{arabic} -\input{sections/ExampleSection.tex} \ No newline at end of file +\input{chapters/ExampleChapter.tex} \ No newline at end of file diff --git a/Glossary.tex b/Glossary.tex deleted file mode 100644 index f3da532..0000000 --- a/Glossary.tex +++ /dev/null @@ -1,12 +0,0 @@ -%% -% 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/Preface.tex b/Preface.tex index a440148..8a3b640 100644 --- a/Preface.tex +++ b/Preface.tex @@ -1,18 +1,9 @@ %all content that contains information about the main content (e.g. abbreviations) - \pagenumbering{roman} %table of contents \tableofcontents \clearpage -%list of figures -\listoffigures -\clearpage - -%list of tables -\listoftables -\clearpage - %abbreviations -\printglossary[type=\acronymtype, title=Abkürzungsverzeichnis] \ No newline at end of file +\printglossaries \ No newline at end of file diff --git a/Style.tex b/Style.tex index dfaddd6..e415da3 100644 --- a/Style.tex +++ b/Style.tex @@ -1,14 +1,16 @@ -%page format -\usepackage[ - a4paper, - top=35mm,right=20mm,bottom=30mm,left=20mm, - headheight=25mm - ]{geometry} %header content +\fancypagestyle{plain}{ + \pagestyle{fancy} + \fancyhf{} + \chead{\textbf{Zusammenfassung \MODULE}} + \lfoot{\AUTHORCOMPACT~|~\DATE} + \rfoot{\thepage} +} + \pagestyle{fancy} \fancyhf{} -\rhead{\textbf{Zusammenfassung\\\MODULE}} -\lhead{\large\leftmark} -\chead{\includesvg[width=20mm]{./images/TH_OWL_Logo_small}} +\lhead{\large\rightmark} +\chead{\textbf{Zusammenfassung \MODULE \\\vspace{2mm}}} +\rhead{\leftmark} \lfoot{\AUTHORCOMPACT~|~\DATE} \rfoot{\thepage} \ No newline at end of file diff --git a/Template_Summary.tex b/Template_Summary.tex index 3e4e0b0..b887fa5 100644 --- a/Template_Summary.tex +++ b/Template_Summary.tex @@ -1,4 +1,10 @@ -\documentclass[a4paper,12pt,oneside]{scrartcl} +\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} @@ -9,7 +15,7 @@ \def \AUTHORCOMPACT{Example Author} \def \DATE{Example Date} -\input{Glossary.tex} +\input{Acronyms.tex} \begin{document} @@ -22,6 +28,4 @@ \input{Content.tex} \clearpage - \input{Addendum.tex} - \end{document} \ No newline at end of file diff --git a/appendix/ExampleAppendix.tex b/appendix/ExampleAppendix.tex deleted file mode 100644 index a1226ef..0000000 --- a/appendix/ExampleAppendix.tex +++ /dev/null @@ -1,2 +0,0 @@ -\subsection{Example Appendix} -Example Appendix Text. \ No newline at end of file diff --git a/chapters/ExampleChapter.tex b/chapters/ExampleChapter.tex new file mode 100644 index 0000000..2701c1f --- /dev/null +++ b/chapters/ExampleChapter.tex @@ -0,0 +1,5 @@ +\chapter{Example Chapter} +Example Text using \acrshort{empl}. +\clearpage +\section{Example Section} +Example Page 2 \ No newline at end of file diff --git a/sections/ExampleSection.tex b/sections/ExampleSection.tex deleted file mode 100644 index 34107c6..0000000 --- a/sections/ExampleSection.tex +++ /dev/null @@ -1,2 +0,0 @@ -\section{Example Section} -Example Text \gls{example} using \acrshort{empl} and also citing \cite{example} \ No newline at end of file