diff --git a/5-back/figures.tex b/5-back/figures.tex index 97f1344..a30042f 100644 --- a/5-back/figures.tex +++ b/5-back/figures.tex @@ -1,5 +1,9 @@ -{ - \hypersetup{linkcolor=black} - \listoffigures - \addcontentsline{toc}{chapter}{\listfigurename} -} +\chapterstartoc{List of Figures} +\label{figures} + +{% Set the link color to black only for the list of figures + \hypersetup{linkcolor=black}% + \makeatletter% + \@starttoc{lof}% Print the list of figures without the title + \makeatother% +}% diff --git a/5-back/tables.tex b/5-back/tables.tex index e9eb683..06e638f 100644 --- a/5-back/tables.tex +++ b/5-back/tables.tex @@ -1,5 +1,10 @@ -{ - \hypersetup{linkcolor=black} - \listoftables - \addcontentsline{toc}{chapter}{\listtablename} -} +\chapterstartoc{List of Tables} +\label{tables} + +{% Set the link color to black only for the list of tables + \hypersetup{linkcolor=black}% + \makeatletter% + \@starttoc{lof}% Print the list of tables without the title + \makeatother% +}% +