From 77ff0da916479a5cd4934e4f2c1f8776881ba8cc Mon Sep 17 00:00:00 2001 From: Erwan Normand Date: Tue, 16 Apr 2024 21:06:21 +0200 Subject: [PATCH] Add \resetparts --- main.tex | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/main.tex b/main.tex index 5f8aad5..2f91b17 100644 --- a/main.tex +++ b/main.tex @@ -16,6 +16,8 @@ \let\bibcloseparen=\bibclosebracket% } +\usepackage{bookmark} % Manage bookmarks + \usepackage[draft, defaultColor=BlueViolet, xcolor=dvipsnames]{changes} % Track changes \usepackage{enumitem} % Customise lists @@ -70,6 +72,10 @@ \vspace*{0.5cm}% } +\newcommand*{\resetparts}{% End the parts in TOC to set chapters at the root level + \bookmarksetup{startatroot}% +} + %% Document \begin{document}