Compare commits

..

6 Commits

7 changed files with 93 additions and 19 deletions

View File

@ -18,6 +18,7 @@
% ------------------------------------------------------------------------------
{
\newpage
\pagestyle{fancy} % Ensure fancy page style is active after title page
\blenderfont
\vspace*{-5.5em}
\tableofcontents

View File

@ -35,8 +35,7 @@
% Equation Formatting Configuration
% ==============================================================================
% Set equation indentation to 1cm from margin
% Note: Equation indentation requires document class configuration
% This will be handled via custom equation environments if needed
% We redefine the equation environment to add left margin
% Configure vertical spacing around equations
% Two lines spacing before and after equations as per requirements
@ -45,6 +44,59 @@
\setlength{\abovedisplayshortskip}{12pt plus 3pt minus 3pt}
\setlength{\belowdisplayshortskip}{12pt plus 3pt minus 3pt}
% Save original equation environments
\let\originalequation\equation
\let\endoriginalequation\endequation
\let\originalequationstar\[
\let\endoriginalequationstar\]
% Redefine equation environment with 1cm left indent
\renewenvironment{equation}{%
\vspace{\abovedisplayskip}%
\noindent\hspace{1cm}\begin{minipage}{\dimexpr\textwidth-1cm\relax}%
\originalequation%
}{%
\endoriginalequation%
\end{minipage}%
\vspace{\belowdisplayskip}%
}
% Redefine displaymath with 1cm left indent
\renewenvironment{displaymath}{%
\vspace{\abovedisplayskip}%
\noindent\hspace{1cm}\begin{minipage}{\dimexpr\textwidth-1cm\relax}%
\[%
}{%
\]%
\end{minipage}%
\vspace{\belowdisplayskip}%
}
% ==============================================================================
% Alternative Indented Equation Environments
% ==============================================================================
% These can be used when you don't want global indentation
\newenvironment{indentedequation}{%
\vspace{\abovedisplayskip}%
\noindent\hspace{1cm}\begin{minipage}{\dimexpr\textwidth-1cm\relax}%
\originalequation%
}{%
\endoriginalequation%
\end{minipage}%
\vspace{\belowdisplayskip}%
}
% Define unnumbered version
\newenvironment{indentedequation*}{%
\vspace{\abovedisplayskip}%
\noindent\hspace{1cm}\begin{minipage}{\dimexpr\textwidth-1cm\relax}%
\[%
}{%
\]%
\end{minipage}%
\vspace{\belowdisplayskip}%
}
% ==============================================================================
% End of Equations Configuration Module
% ==============================================================================

View File

@ -28,6 +28,9 @@
% Set page number font style
\setkomafont{pagenumber}{\color{gray}\blenderfont\selectfont}
% Adjust footer position - move up by reducing footskip
\setlength{\footskip}{25pt} % Reduced from default to move footer up
% ==============================================================================
% Header and Footer Setup
% ==============================================================================
@ -38,14 +41,14 @@
% Header Configuration
% ------------------------------------------------------------------------------
% Left header: Chapter number and title
% Right header: Empty (no page number in header as per requirements)
\fancyhead[L]{%
% Right header: Document title
\fancyhead[R]{%
\color{gray}\blenderfont%
\ifnum\value{chapter}>0%
\thechapter\quad\leftmark%
\fi%
}
\fancyhead[R]{} % Empty right header
\fancyhead[L]{\color{gray}\blenderfont\@title} % Document title on right
% Update chapter marks to show only chapter name without "Chapter" prefix
\renewcommand{\chaptermark}[1]{\markboth{#1}{}}
@ -55,8 +58,8 @@
% Footer Configuration
% ------------------------------------------------------------------------------
% Footer format: Author Name | Module Name | Page X of Y
% The footer is centered and uses proper spacing
\fancyfoot[C]{%
% The footer is centered
\fancyfoot[L]{%
\color{gray}\blenderfont%
\@author%
\quad|\quad%
@ -72,10 +75,10 @@
\fancypagestyle{plain}{
\fancyhf{}
% No header on chapter start pages
\fancyhead[L]{}
\fancyhead[R]{}
\fancyhead[L]{}
% Same footer as regular pages
\fancyfoot[C]{%
\fancyfoot[L]{%
\color{gray}\blenderfont%
\@author%
\quad|\quad%
@ -92,14 +95,14 @@
% Explicitly define the fancy page style
\fancypagestyle{fancy}{
\fancyhf{}
\fancyhead[L]{%
\fancyhead[R]{%
\color{gray}\blenderfont%
\ifnum\value{chapter}>0%
\thechapter\quad\leftmark%
\fi%
}
\fancyhead[R]{}
\fancyfoot[C]{%
\fancyhead[L]{\color{gray}\blenderfont\@title}
\fancyfoot[L]{%
\color{gray}\blenderfont%
\@author%
\quad|\quad%

View File

@ -44,11 +44,18 @@
% ==============================================================================
% Counter Configuration
% ==============================================================================
% Remove chapter dependency from figure, table, and equation counters
\counterwithout{figure}{chapter}
\counterwithout{table}{chapter}
% Configure figure and table numbering to include chapter number
% Format: Chapter.Number (e.g., 2.3 for third figure in chapter 2)
\counterwithin{figure}{chapter}
\counterwithin{table}{chapter}
% Keep equation counter independent of chapters
\counterwithout{equation}{chapter}
% Redefine the format to show as "Chapter.Number" instead of "Chapter:Number"
\renewcommand{\thefigure}{\thechapter.\arabic{figure}}
\renewcommand{\thetable}{\thechapter.\arabic{table}}
% ==============================================================================
% End of Sections Configuration Module
% ==============================================================================

View File

@ -11,8 +11,9 @@
% Bibliography management
\RequirePackage[
backend=biber,
sorting=none,
style=ieee
sorting=nyt,
style=apa,
citestyle=apa
]{biblatex}
% Context-sensitive quotation marks

View File

@ -44,6 +44,12 @@
% Configuration in Settings/General.tex
\maketitle
% ------------------------------------------------------------------------------
% Set Page Style
% ------------------------------------------------------------------------------
% Ensure fancy page style is active after title page for headers/footers
\pagestyle{fancy}
% ------------------------------------------------------------------------------
% Document Spacing
% ------------------------------------------------------------------------------

View File

@ -54,13 +54,17 @@
% Add spacing between sections
\AddTitlePageDataSpace{5pt}
% --- Author Information ---
% Student name, semester, and contact information
\author{Hans Maria Muster}
\makeatletter
\AddTitlePageDataLine{Vorgelegt von}{
Hans Maria Muster \newline
\@author \newline
X. Fachsemester \newline
\href{mailto:hans-maria.muster@student.hs-reutlingen.de}{hans-maria.muster@student.hs-reutlingen.de}
}
\makeatother
% Add spacing
\AddTitlePageDataSpace{5pt}
@ -143,7 +147,7 @@
% This is typically the course or module code and name
% Example: \newcommand{\modulename}{SAT - Seminararbeit Technik}
% ------------------------------------------------------------------------------
\newcommand{\modulename}{Modulname}
\newcommand{\modulename}{METI6.3 SAT WiSe 25/26}
% ------------------------------------------------------------------------------
% List of Equations Configuration