Make flowchart numbering consistent

Now all figures, tables and flowcharts are numbered with chapter.number.

Fixes: https://github.com/hendricius/the-sourdough-framework/issues/395

Also added vertical space for list of tables so it matches the list of
figures and list of flowcharts
This commit is contained in:
Cedric
2024-12-26 15:25:55 +00:00
parent ce2f210f3a
commit aa2c80a048

View File

@@ -24,11 +24,14 @@
types=flowcharts,% ,
float,
floattype=4,%
counterwithin=chapter,
name=Flowchart,%
listname = {List of Flowcharts}
]{loc}
\setuptoc{loc}{chapteratlist}
\DeclareTOCStyleEntry[numwidth=3em]{tocline}{figure}
\DeclareTOCStyleEntry[numwidth=3em]{tocline}{flowchart}
\DeclareTOCStyleEntry[numwidth=3em]{tocline}{table}
% Common abbreviations
\newcommand{\ie}{\emph{i.e.}\@ifnextchar.{\!\@gobble}{}}