Compare commits

...

6 Commits

7 changed files with 93 additions and 19 deletions

View File

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

View File

@ -35,8 +35,7 @@
% Equation Formatting Configuration % Equation Formatting Configuration
% ============================================================================== % ==============================================================================
% Set equation indentation to 1cm from margin % Set equation indentation to 1cm from margin
% Note: Equation indentation requires document class configuration % We redefine the equation environment to add left margin
% This will be handled via custom equation environments if needed
% Configure vertical spacing around equations % Configure vertical spacing around equations
% Two lines spacing before and after equations as per requirements % Two lines spacing before and after equations as per requirements
@ -45,6 +44,59 @@
\setlength{\abovedisplayshortskip}{12pt plus 3pt minus 3pt} \setlength{\abovedisplayshortskip}{12pt plus 3pt minus 3pt}
\setlength{\belowdisplayshortskip}{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 % End of Equations Configuration Module
% ============================================================================== % ==============================================================================

View File

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

View File

@ -44,11 +44,18 @@
% ============================================================================== % ==============================================================================
% Counter Configuration % Counter Configuration
% ============================================================================== % ==============================================================================
% Remove chapter dependency from figure, table, and equation counters % Configure figure and table numbering to include chapter number
\counterwithout{figure}{chapter} % Format: Chapter.Number (e.g., 2.3 for third figure in chapter 2)
\counterwithout{table}{chapter} \counterwithin{figure}{chapter}
\counterwithin{table}{chapter}
% Keep equation counter independent of chapters
\counterwithout{equation}{chapter} \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 % End of Sections Configuration Module
% ============================================================================== % ==============================================================================

View File

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

View File

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

View File

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