Add \chapternotoc
This commit is contained in:
1 parent
520be0856a
commit
8a4a0bdb81
1 file changed
+7
-4
+7
-4
@@ -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