tables and figures now use the same counter

This commit is contained in:
Tuesday committed 2022-07-11 20:56:02 +02:00
1 parent bca68b188b
commit 0191e6c819
2 files changed
+9

No files matched your search

+9
View File
@@ -354,6 +354,15 @@ $endif$
% nur für documentclass book
% \counterwithout{figure}{chapter}
% Selber Counter für Figuren und Tabellen
% https://tex.stackexchange.com/questions/422131/how-to-use-the-same-numbering-counter-for-figures-tables-and-listings
\makeatletter
\let\c@table\c@figure
\let\c@lstlisting\c@figure
\let\ftype@table\ftype@figure
\let\ftype@listings\ftype@figure
\makeatother
% \usepackage{titlesec}
% \titleformat*{\chapter}
% {\normalfont\fontsize{16pt}{19.2pt}\selectfont\bfseries}{\thechapter}{}{}