Skip to content

Commit

Permalink
Make flowchart numbering consistent
Browse files Browse the repository at this point in the history
Now all figures, tables and flowcharts are numbered with chapter.number.

Fixes: #395

Also added vertical space for list of tables so it matches the list of
figures and list of flowcharts
  • Loading branch information
cedounet committed Dec 26, 2024
1 parent ce2f210 commit aa2c80a
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions book/sourdough.sty
Original file line number Diff line number Diff line change
Expand Up @@ -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}{}}
Expand Down

0 comments on commit aa2c80a

Please sign in to comment.