From ac5b77306517d846a9118df5321e7c690799da7c Mon Sep 17 00:00:00 2001 From: Erwan Normand Date: Thu, 26 Sep 2024 20:48:32 +0200 Subject: [PATCH] Fix sans-serif in list of figures and tables --- 5-back/figures.tex | 14 +++++++++----- 5-back/tables.tex | 15 ++++++++++----- 2 files changed, 19 insertions(+), 10 deletions(-) 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% +}% +