53 lines
2.4 KiB
TeX
53 lines
2.4 KiB
TeX
% !TEX root = ../HSRTReport.cls
|
|
% ==============================================================================
|
|
% Equations Configuration Module
|
|
% ==============================================================================
|
|
% Description: Configuration for equation lists and equation formatting
|
|
% Author: Frederik Beimgraben
|
|
% License: Creative Commons CC BY 4.0
|
|
% ==============================================================================
|
|
|
|
% ==============================================================================
|
|
% List of Equations Configuration
|
|
% ==============================================================================
|
|
% Define custom list for equations
|
|
\newcommand{\listequationsname}{List of Equations}
|
|
\newlistof{myequations}{equ}{\listequationsname}
|
|
|
|
% Define equation name for references
|
|
\newcommand{\equationname}{Equation}
|
|
|
|
% ==============================================================================
|
|
% Equation List Commands
|
|
% ==============================================================================
|
|
% Command to add equations to the list
|
|
\newcommand{\myequations}[1]{%
|
|
\addcontentsline{equ}{myequations}{\protect\equationname~\numberline{\theequation:} #1}\par}
|
|
|
|
% ==============================================================================
|
|
% Equation Counter Configuration
|
|
% ==============================================================================
|
|
% Remove chapter dependency from equation counter
|
|
% (This allows continuous equation numbering throughout the document)
|
|
\counterwithout{equation}{chapter}
|
|
|
|
% ==============================================================================
|
|
% Equation Formatting Configuration
|
|
% ==============================================================================
|
|
% Set equation indentation to 1cm from margin
|
|
\setlength{\mathindent}{1cm}
|
|
|
|
% Configure fleqn option for left-aligned equations with indentation
|
|
\@fleqntrue
|
|
|
|
% Configure vertical spacing around equations
|
|
% Two lines spacing before and after equations as per requirements
|
|
\setlength{\abovedisplayskip}{24pt plus 6pt minus 6pt}
|
|
\setlength{\belowdisplayskip}{24pt plus 6pt minus 6pt}
|
|
\setlength{\abovedisplayshortskip}{12pt plus 3pt minus 3pt}
|
|
\setlength{\belowdisplayshortskip}{12pt plus 3pt minus 3pt}
|
|
|
|
% ==============================================================================
|
|
% End of Equations Configuration Module
|
|
% ==============================================================================
|