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