Update subfiles document structure

This commit is contained in:
2026-06-29 20:19:50 +02:00
parent 5f447c955d
commit 0c14a1af00
17 changed files with 100 additions and 55 deletions
+24 -18
View File
@@ -10,7 +10,7 @@
\usepackage{setspace} % Line stretch
% Bibliography
\usepackage[backend=biber,urldate=iso,date=iso]{biblatex}
\usepackage[backend=biber,urldate=iso,date=iso,seconds=true]{biblatex}
\usepackage[nottoc,notlof,notlot]{tocbibind} % Include bibliography in ToC, nottoc disables the "Contents" entry for the ToC itself
% Figures
@@ -20,8 +20,8 @@
\usepackage[bottom]{footmisc} % Bottom not below footnote
% Math
% \usepackage{amsmath,amssymb,amsthm}
% \usepackage{mathtools} % Extension of amsmath
\usepackage{amsmath,amsthm} % Don't load amssymb with concmath-otf
\usepackage{mathtools} % Extension of amsmath
% \usepackage{upgreek} % For non italic greek (vectors/matrices)
\usepackage{unicode-math}
\usepackage{lualatex-math}
@@ -79,11 +79,11 @@
\usetikzlibrary{shadings, backgrounds}
\setlength{\headheight}{14pt}
% \mathtoolsset{showonlyrefs}
% \usepackage{xpatch}
% \makeatletter
% \xpretocmd\HyRef@autoref{\noeqref{#2}}{}{} % showonlyrefs mit \autoref
% \makeatother
\mathtoolsset{showonlyrefs}
\usepackage{xpatch}
\makeatletter
\xpretocmd\HyRef@autoref{\noeqref{#2}}{}{} % showonlyrefs mit \autoref
\makeatother
\makeatletter\newcommand{\tcb@cnt@codeblockautorefname}{Listing}\makeatother
@@ -154,25 +154,29 @@
\let\ref\undefined%
\newcommand{\ref}[1]{\PackageError{Thesis}{REF:\ Use \autoref{label} instead}{}}
\let\oldcite\cite%
\let\cite\undefined%
\newcommand{\cite}[1][\PackageError{Thesis}{CITE:\ Use \autocite{ref} instead}{}]
% Visualize "overfull-hbox"
\overfullrule=2cm
\pagestyle{empty}
\pagenumbering{gobble}
% \pagestyle{empty}
% \pagenumbering{gobble}
% Starting pages
\frontmatter%
\input{titlepage}
\cleardoublepage%
\frontmatter%
\pagestyle{plain}
\pagenumbering{Roman}
% \pagestyle{plain}
% \pagenumbering{Roman}
% \tableofcontents{\thispagestyle{plain}}
\tableofcontents%
\cleardoublepage%
\pagestyle{report}
% \pagestyle{report}
\setacronymstyle{short-long}
\printglossary[type=\acronymtype]
@@ -180,14 +184,16 @@
\printglossary%
\mainmatter%
\pagenumbering{arabic}
% \pagenumbering{arabic}
}
\AtEndDocument{%
\pagestyle{empty}
\pagenumbering{gobble}
\AtEndDocument{
% \pagestyle{empty}
% \pagenumbering{gobble}
\let\url\undefined%
\let\url\oldurl%
\let\cite\undefined%
\let\cite\oldcite%
\printbibliography[heading=bibintoc]
\cleardoublepage%