Skip to content

Commit

Permalink
Renamed appendixtoc and appendixlists commands for more clarity
Browse files Browse the repository at this point in the history
  • Loading branch information
MariusStuber committed Feb 15, 2022
1 parent ea36a58 commit c48e3fe
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions appendix.tex
Original file line number Diff line number Diff line change
Expand Up @@ -29,13 +29,13 @@
% Prevent sections and subsections from being added to table of contents (OPTIONAL)
%----------------------------------------------------------

\appendixtoc
\appendixnotocdepth

%----------------------------------------------------------
% Remove figures, tables and listings from list of figures / tables / listings (OPTIONAL)
%----------------------------------------------------------

%\appendixlists
%\appendixnolists

%----------------------------------------------------------
% Appendix chapters
Expand Down
4 changes: 2 additions & 2 deletions format.tex
Original file line number Diff line number Diff line change
Expand Up @@ -251,7 +251,7 @@
\makeatother

% Prevent sections and subsections from being added to table of contents
\newcommand{\appendixtoc}{
\newcommand{\appendixnotocdepth}{
\addtocontents{toc}{\protect\setcounter{tocdepth}{0}}
}

Expand Down Expand Up @@ -308,7 +308,7 @@
{{\ifthenelse{\equal{#1}{lol}}{}%
{\tmpaddcontentsline{#1}{#2}{#3}}}}}}

\newcommand{\appendixlists}{
\newcommand{\appendixnolists}{
\renewcommand{\addcontentsline}{\appendixaddcontentsline}
}

Expand Down

0 comments on commit c48e3fe

Please sign in to comment.