Add \chapternotoc
This commit is contained in:
@@ -160,10 +160,13 @@
|
||||
\newcommand{\tabref}[1]{Table~\ref{tab:#1}}
|
||||
|
||||
%% Structure
|
||||
\newcommand{\sectionstartoc}[1]{
|
||||
\section*{#1}\addcontentsline{toc}{section}{#1}}
|
||||
\newcommand{\sectionstarbookmark}[1]{\pdfbookmark[section]{#1}{#1}
|
||||
\section*{#1}}
|
||||
\newcommand{\chapternotoc}[1]{%
|
||||
\begingroup%
|
||||
\renewcommand{\addtocontents}[2]{}%
|
||||
\chapter*{#1}%
|
||||
\endgroup%
|
||||
}
|
||||
|
||||
|
||||
\newcommand{\subsectionstartoc}[1]{
|
||||
\subsection*{#1}\addcontentsline{toc}{subsection}{#1}}
|
||||
|
||||
Reference in New Issue
Block a user