\setcounter{tocdepth}{3} % change listings name below code \renewcommand{\lstlistingname}{\DICTListingName} % add table of contents entry \addstarredchapter{\DICTListOfCodeSnippets} % List of Listings -> List of Algorithms \renewcommand{\lstlistlistingname}{\DICTListOfCodeSnippets} \lstlistoflistings % update mark for use of \leftmark and \rightmark \markboth{\DICTListOfCodeSnippets}{\DICTListOfCodeSnippets}