113 lines
3.3 KiB
TeX
113 lines
3.3 KiB
TeX
% !TEX root = ../Main.tex
|
|
% ==============================================================================
|
|
% Table of Contents and Lists
|
|
% ==============================================================================
|
|
% Description: This file generates the table of contents and all document lists
|
|
% including figures, tables, equations, listings, and glossaries.
|
|
% The formatting uses the blenderfont style for consistency.
|
|
% Author: [Your Name]
|
|
% Date: [Date]
|
|
% ==============================================================================
|
|
|
|
% ------------------------------------------------------------------------------
|
|
% Table of Contents
|
|
% ------------------------------------------------------------------------------
|
|
% Generate the main table of contents with custom formatting
|
|
% The blenderfont provides a consistent typographic style
|
|
% ------------------------------------------------------------------------------
|
|
\newpage
|
|
\pagestyle{fancy}
|
|
{
|
|
% Remove title
|
|
\let\oldcontentsname\contentsname
|
|
\renewcommand{\contentsname}{}
|
|
|
|
% Formatting
|
|
\blenderfont
|
|
\chapter*{\oldcontentsname}
|
|
\tableofcontents
|
|
}
|
|
|
|
% Add vertical fill to push subsequent content down
|
|
\vspace{\fill}
|
|
|
|
% ------------------------------------------------------------------------------
|
|
% Lists of Figures, Tables, Listings, and Equations
|
|
% ------------------------------------------------------------------------------
|
|
% Generate all lists on a single page with compact spacing
|
|
% The lists will only show entries if they exist
|
|
% ------------------------------------------------------------------------------
|
|
\newpage
|
|
\pagestyle{fancy}
|
|
{
|
|
% Remove titles
|
|
\let\oldlistfigurename\listfigurename
|
|
\let\oldlisttablename\listtablename
|
|
\let\oldlstlistlistingname\lstlistlistingname
|
|
\let\oldlistequationsname\listequationsname
|
|
\renewcommand{\listfigurename}{}
|
|
\renewcommand{\listtablename}{}
|
|
\renewcommand{\lstlistlistingname}{}
|
|
\renewcommand{\listequationsname}{}
|
|
|
|
% Formatting
|
|
\noindent
|
|
\blenderfont
|
|
|
|
% List of Figures
|
|
\chapter*{\oldlistfigurename}
|
|
\listoffigures
|
|
|
|
% List of Tables
|
|
\vspace{1em}
|
|
\chapter*{\oldlisttablename}
|
|
\listoftables
|
|
|
|
% List of Listings
|
|
\vspace{1em}
|
|
\chapter*{\oldlstlistlistingname}
|
|
\lstlistoflistings
|
|
|
|
% List of Equations
|
|
\vspace{1em}
|
|
\chapter*{\oldlistequationsname}
|
|
\listofmyequations
|
|
}
|
|
|
|
% ------------------------------------------------------------------------------
|
|
% Glossary Section
|
|
% ------------------------------------------------------------------------------
|
|
% Generate glossary and list of acronyms
|
|
% Two separate glossaries are printed:
|
|
% 1. Main glossary with technical terms
|
|
% 2. Acronym list with abbreviations
|
|
% ------------------------------------------------------------------------------
|
|
{
|
|
\noindent
|
|
\blenderfont
|
|
|
|
% --- Main Glossary ---
|
|
% Print main glossary with German header "Wort"
|
|
{
|
|
\renewcommand*{\entryname}{Wort}
|
|
\newpage
|
|
\pagestyle{fancy}
|
|
\vspace*{-2.25em}
|
|
\printglossary
|
|
}
|
|
|
|
% --- Acronym List ---
|
|
% Print acronym glossary with German header "Abkürzung"
|
|
{
|
|
\renewcommand*{\entryname}{Abkürzung}
|
|
\newpage
|
|
\pagestyle{fancy}
|
|
\vspace*{-2.25em}
|
|
\printglossary[type=\acronymtype]
|
|
}
|
|
}
|
|
|
|
% ==============================================================================
|
|
% End of Table of Contents and Lists
|
|
% ==============================================================================
|