Konfiguriere Abbildungs- und Tabellennummerierung nach Kapiteln (X.Y Format)

This commit is contained in:
Frederik Beimgraben 2025-10-30 01:38:38 +01:00
parent b173449c84
commit 385042b5fa

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
% ==============================================================================