tables and figures now use the same counter
This commit is contained in:
Binary file not shown.
@@ -354,6 +354,15 @@ $endif$
|
|||||||
% nur für documentclass book
|
% nur für documentclass book
|
||||||
% \counterwithout{figure}{chapter}
|
% \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}
|
% \usepackage{titlesec}
|
||||||
% \titleformat*{\chapter}
|
% \titleformat*{\chapter}
|
||||||
% {\normalfont\fontsize{16pt}{19.2pt}\selectfont\bfseries}{\thechapter}{}{}
|
% {\normalfont\fontsize{16pt}{19.2pt}\selectfont\bfseries}{\thechapter}{}{}
|
||||||
|
|||||||
Reference in New Issue
Block a user