I want the list of figures and the list of tables to appear in my table of contents as sections instead of as chapters. A bit like the elements right above (from summary to acronyms)
A quick reminder that I used
\listoftables
\listoffigures
To automatically generate the list of tables and figures
I also used
\section*{Summary} \label{sec:summary} \addcontentsline{toc}{section}{\nameref{sec:summary}}
To create and and the sections to the table of contents
\usepackage{etoolbox}\patchcmd{\listoffigures}{\chapter}{\section}{}{}
and similarly for\listoftables
\renewcommand