This commit is contained in:
Frederik Beimgraben 2025-10-30 04:37:02 +01:00
parent 13b143a92c
commit afc4c624ad
9 changed files with 51 additions and 24 deletions

BIN
06_template_demo.pdf Normal file

Binary file not shown.

View File

@ -15,6 +15,11 @@
% Generate the main table of contents with custom formatting % Generate the main table of contents with custom formatting
% The blenderfont provides a consistent typographic style % The blenderfont provides a consistent typographic style
% ------------------------------------------------------------------------------ % ------------------------------------------------------------------------------
\newcommand{\offsetA}{\vspace{-5.5em}}
\newcommand{\offsetB}{\vspace{-1em}}
\newpage \newpage
\pagestyle{fancy} \pagestyle{fancy}
{ {
@ -25,6 +30,7 @@
% Formatting % Formatting
\blenderfont \blenderfont
\chapter*{\oldcontentsname} \chapter*{\oldcontentsname}
\offsetA\offsetB
\tableofcontents \tableofcontents
} }
@ -56,21 +62,25 @@
% List of Figures % List of Figures
\chapter*{\oldlistfigurename} \chapter*{\oldlistfigurename}
\offsetA\offsetB
\listoffigures \listoffigures
% List of Tables % List of Tables
\vspace{1em} \vspace{1em}
\chapter*{\oldlisttablename} \chapter*{\oldlisttablename}
\offsetA\offsetB
\listoftables \listoftables
% List of Listings % List of Listings
\vspace{1em} \vspace{1em}
\chapter*{\oldlstlistlistingname} \chapter*{\oldlstlistlistingname}
\offsetB
\lstlistoflistings \lstlistoflistings
% List of Equations % List of Equations
\vspace{1em} \vspace{1em}
\chapter*{\oldlistequationsname} \chapter*{\oldlistequationsname}
\offsetA\offsetB
\listofmyequations \listofmyequations
} }
@ -107,6 +117,9 @@
} }
} }
% Break pages for following chapters
\AddToHook{cmd/chapter/before}{\clearpage}
% ============================================================================== % ==============================================================================
% End of Table of Contents and Lists % End of Table of Contents and Lists
% ============================================================================== % ==============================================================================

View File

@ -83,6 +83,7 @@ Die Fußnotentexte sollten nicht länger als 4 Zeilen sein. Ebenso sollte vermie
Formeln werden vom Rand einheitlich um 1\,cm eingerückt und vom vorhergehenden und nachfolgenden Absatz um zwei Zeilen abgesetzt. Jede Formel ist über eine fortlaufend aufsteigend zu vergebende Nummer zu kennzeichnen. Bei Formeln, die durch Umformung auseinander hervorgehen, können die Zwischenschritte durch eine einheitliche Nummer, ergänzt um einen Buchstaben, referenziert werden. Formeln werden vom Rand einheitlich um 1\,cm eingerückt und vom vorhergehenden und nachfolgenden Absatz um zwei Zeilen abgesetzt. Jede Formel ist über eine fortlaufend aufsteigend zu vergebende Nummer zu kennzeichnen. Bei Formeln, die durch Umformung auseinander hervorgehen, können die Zwischenschritte durch eine einheitliche Nummer, ergänzt um einen Buchstaben, referenziert werden.
Beispiel für die Mitternachtsformel: Beispiel für die Mitternachtsformel:
\begin{equation} \begin{equation}
x = \frac{-b \pm \sqrt{b^2 - 4ac}}{2a} x = \frac{-b \pm \sqrt{b^2 - 4ac}}{2a}
\label{eq:mitternachtsformel} \label{eq:mitternachtsformel}

View File

@ -87,6 +87,7 @@ Formeln können direkt im Text verwendet werden, wie z.\,B. $E = mc^2$ oder $a^2
\label{subsec:abgesetzte_formeln} \label{subsec:abgesetzte_formeln}
Einfache nummerierte Gleichung: Einfache nummerierte Gleichung:
\begin{equation} \begin{equation}
\nabla \times \vec{E} = -\frac{\partial \vec{B}}{\partial t} \nabla \times \vec{E} = -\frac{\partial \vec{B}}{\partial t}
\label{eq:maxwell1} \label{eq:maxwell1}
@ -94,13 +95,16 @@ Einfache nummerierte Gleichung:
\myequations{Erste Maxwell-Gleichung (Faradaysches Induktionsgesetz)} \myequations{Erste Maxwell-Gleichung (Faradaysches Induktionsgesetz)}
Mehrzeilige Gleichung mit Alignment: Mehrzeilige Gleichung mit Alignment:
\begin{align}
f(x) & = x^2 + 2x + 1 \\ \begin{align*}
& = (x + 1)^2 f(x) & = x^2 + 2x + 1 \\
& = (x + 1)^2 \numbereq
\label{eq:binomial} \label{eq:binomial}
\end{align} \end{align*}
\myequations{Binomische Formel}
Matrix-Darstellung: Matrix-Darstellung:
\begin{equation} \begin{equation}
\mathbf{A} = \begin{pmatrix} \mathbf{A} = \begin{pmatrix}
a_{11} & a_{12} & a_{13} \\ a_{11} & a_{12} & a_{13} \\

View File

@ -180,6 +180,7 @@ For important equations, use the equation environment:
= \mu_0 \vec{J} = \mu_0 \vec{J}
\label{eq:maxwell} \label{eq:maxwell}
\end{equation} \end{equation}
\myequations{Maxwell's Equations}
Equation \eqref{eq:maxwell} represents one of Maxwell's equations. Equation \eqref{eq:maxwell} represents one of Maxwell's equations.
@ -201,6 +202,7 @@ Matrix example:
\end{bmatrix} \end{bmatrix}
\label{eq:matrix} \label{eq:matrix}
\end{equation} \end{equation}
\myequations{Matrix}
% ============================================================================== % ==============================================================================
% Section: Figures and Graphics % Section: Figures and Graphics

View File

@ -21,8 +21,16 @@
% Equation List Commands % Equation List Commands
% ============================================================================== % ==============================================================================
% Command to add equations to the list % Command to add equations to the list
\newcommand{\myequations}[1]{% \newfloat{Formel}{htbp}{}
\addcontentsline{equ}{myequations}{\protect\equationname~\numberline{\theequation:} #1}\par} \newcommand\numbereq{\addtocounter{equation}{1}\tag{\theequation}}
\newcommand{\myequations}[1]{
% Add Floating (N) #1 below (This function is called after the equation environment)
\captionof{Formel}{#1}\vspace{1em}
% Add to list of equations
\cftaddtitleline{equ}{myequations}{\quad\blenderfont(\theequation)\quad #1}{\blenderfont\thepage}\par
}
% ============================================================================== % ==============================================================================
% Equation Counter Configuration % Equation Counter Configuration

View File

@ -120,16 +120,6 @@
} }
} }
% ==============================================================================
% Chapter Start Configuration
% ==============================================================================
% Ensure chapters start on a new page
\let\originalchapter\chapter
\renewcommand{\chapter}[1]{%
\clearpage%
\originalchapter{#1}%
}
% ============================================================================== % ==============================================================================
% Override Default Page Styles % Override Default Page Styles
% ============================================================================== % ==============================================================================

View File

@ -38,18 +38,29 @@
% Figure and Table TOC Formatting % Figure and Table TOC Formatting
% ============================================================================== % ==============================================================================
% Configure font for figure entries in list of figures % Configure font for figure entries in list of figures
\renewcommand\cftfigfont{\blenderfont\color{gray}} \renewcommand\cftfigfont{\blenderfont}
\renewcommand\cftfigpagefont{\blenderfont\color{gray}} \renewcommand\cftfigpagefont{\blenderfont}
% Configure font for table entries in list of tables % Configure font for table entries in list of tables
\renewcommand\cfttabfont{\blenderfont\color{gray}} \renewcommand\cfttabfont{\blenderfont}
\renewcommand\cfttabpagefont{\blenderfont\color{gray}} \renewcommand\cfttabpagefont{\blenderfont}
% Configure font for equation entries in list of equations
% Define robust font commands
% Configure font for listing entries in lstlistings list
\renewcommand*{\l@lstlisting}[2]{
\@dottedtocline{1}{1em}{2.3em}
{\blenderfont#1}
{\blenderfont#2}
}
% ============================================================================== % ==============================================================================
% Dot Separation Configuration % Dot Separation Configuration
% ============================================================================== % ==============================================================================
% Set spacing between dots in TOC % Set spacing between dots in TOC
\renewcommand{\cftdotsep}{1.5} % \renewcommand{\cftdotsep}{1.5}
% ============================================================================== % ==============================================================================
% End of Table of Contents Configuration Module % End of Table of Contents Configuration Module

View File

@ -157,9 +157,7 @@
% ------------------------------------------------------------------------------ % ------------------------------------------------------------------------------
% Name for the list of equations (appears as chapter/section title) % Name for the list of equations (appears as chapter/section title)
\renewcommand{\listequationsname}{Formeln und Gleichungen} \renewcommand{\listequationsname}{Formeln}
% Name for individual equation references
\renewcommand{\equationname}{Formel} \renewcommand{\equationname}{Formel}
% ------------------------------------------------------------------------------ % ------------------------------------------------------------------------------