fix(latex): add figure and table numbering prefixes to TOC
This commit is contained in:
@@ -109,9 +109,13 @@
|
|||||||
\setlength{\cftchapnumwidth}{3.5em}
|
\setlength{\cftchapnumwidth}{3.5em}
|
||||||
\setlength{\cftsecnumwidth}{3.5em}
|
\setlength{\cftsecnumwidth}{3.5em}
|
||||||
\setlength{\cftsubsecnumwidth}{2.5em}
|
\setlength{\cftsubsecnumwidth}{2.5em}
|
||||||
|
\setlength{\cftfignumwidth}{5em}
|
||||||
|
\setlength{\cfttabnumwidth}{4em}
|
||||||
\renewcommand \cftchapdotsep{4.5} % https://tex.stackexchange.com/a/273764
|
\renewcommand \cftchapdotsep{4.5} % https://tex.stackexchange.com/a/273764
|
||||||
\renewcommand{\cftchapleader}{\normalfont\cftdotfill{\cftsecdotsep}}
|
\renewcommand{\cftchapleader}{\normalfont\cftdotfill{\cftsecdotsep}}
|
||||||
\renewcommand{\cftchappagefont}{\normalfont}
|
\renewcommand{\cftchappagefont}{\normalfont}
|
||||||
|
\renewcommand{\cftfigpresnum}{\figurename~}
|
||||||
|
\renewcommand{\cfttabpresnum}{\tablename~}
|
||||||
|
|
||||||
% Ensure TOC and References Respect Custom Numbering
|
% Ensure TOC and References Respect Custom Numbering
|
||||||
\renewcommand{\thechapter}{\Roman{chapter}}
|
\renewcommand{\thechapter}{\Roman{chapter}}
|
||||||
|
|||||||
Reference in New Issue
Block a user