mirror of
https://github.com/nganhkhoa/CTF-All-In-One.git
synced 2024-12-25 11:41:16 +07:00
14 lines
415 B
TeX
14 lines
415 B
TeX
|
\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}
|