From c8e9c8ef800ee2e8452a0941b2475bbc822392a0 Mon Sep 17 00:00:00 2001 From: Erwan Normand Date: Tue, 8 Apr 2025 17:05:47 +0200 Subject: [PATCH] Style --- utils/commands.tex | 18 ++++++++++++------ 1 file changed, 12 insertions(+), 6 deletions(-) diff --git a/utils/commands.tex b/utils/commands.tex index e725e72..13a1ac5 100644 --- a/utils/commands.tex +++ b/utils/commands.tex @@ -158,14 +158,20 @@ \newcommand{\footnotemarkrepeat}{\footnotemark[\value{footnote}]} % Repeat the last footnote mark %% Structure -\newcommand{\chapterstartoc}[1]{\chapter*{#1}\addcontentsline{toc}{chapter}{#1}} -\newcommand{\chapterstarbookmark}[1]{\pdfbookmark[chapter]{#1}{#1}\chapter*{#1}} +\newcommand{\chapterstartoc}[1]{ +\chapter*{#1}\addcontentsline{toc}{chapter}{#1}} +\newcommand{\chapterstarbookmark}[1]{\pdfbookmark[chapter]{#1}{#1} +\chapter*{#1}} -\newcommand{\sectionstartoc}[1]{\section*{#1}\addcontentsline{toc}{section}{#1}} -\newcommand{\sectionstarbookmark}[1]{\pdfbookmark[section]{#1}{#1}\section*{#1}} +\newcommand{\sectionstartoc}[1]{ +\section*{#1}\addcontentsline{toc}{section}{#1}} +\newcommand{\sectionstarbookmark}[1]{\pdfbookmark[section]{#1}{#1} +\section*{#1}} -\newcommand{\subsectionstartoc}[1]{\subsection*{#1}\addcontentsline{toc}{subsection}{#1}} -\newcommand{\subsectionstarbookmark}[1]{\pdfbookmark[subsection]{#1}{#1}\subsection*{#1}} +\newcommand{\subsectionstartoc}[1]{ +\subsection*{#1}\addcontentsline{toc}{subsection}{#1}} +\newcommand{\subsectionstarbookmark}[1]{\pdfbookmark[subsection]{#1}{#1} +\subsection*{#1}} \newcommand{\subsubsubsection}[1]{\paragraph*{\textit{#1}}}