I'm trying to use the fncychap package to decorate titles. It works well but not for ToC, LoF, and LoT which I use tocloft for them. Is there any way to get around it?
Here's my MWE:
Code: Select all
\documentclass[a4paper, 12pt]{book}
\usepackage{tocloft}
\usepackage{algorithm2e}
\usepackage[Sonny]{fncychap}
\begin{document}
\renewcommand\contentsname{Table of Contents}
\tableofcontents
\newpage
\addcontentsline{toc}{chapter}{List of Tables}
\listoftables
\newpage
\addcontentsline{toc}{chapter}{List of Figures}
\listoffigures
\newpage
\addcontentsline{toc}{chapter}{List of Algorithms}
\listofalgorithms
\end{document}
Ahmed Salah