From 05254e55f3941ff0ac76fbe86162a90c434b9c1f Mon Sep 17 00:00:00 2001 From: Chris Fenner Date: Sat, 9 Dec 2023 21:21:11 -0800 Subject: [PATCH] move toc hacks --- template/eisvogel.latex | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/template/eisvogel.latex b/template/eisvogel.latex index 62bb4bd..0545ea0 100644 --- a/template/eisvogel.latex +++ b/template/eisvogel.latex @@ -68,15 +68,6 @@ $endif$ \DeclareRobustCommand\squelch[1]{ \BeginAccSupp{method=plain,ActualText={}}#1\EndAccSupp{}} -% Clean up the TOC a bit by ensuring that long section numbers don't overlap. -% https://tex.stackexchange.com/questions/64115/table-of-contents-chapter-number-width -\usepackage{tocloft} -\makeatletter -\renewcommand{\numberline}[1]{ - \@cftbsnum #1\@cftasnum~\@cftasnumb -} -\makeatother - \usepackage{amsmath,amssymb} \usepackage{mathtools} \usepackage{setspace} @@ -138,6 +129,15 @@ $endif$ \IfFileExists{bookmark.sty}{\usepackage{bookmark}}{\usepackage{hyperref}} +% Clean up the TOC a bit by ensuring that long section numbers don't overlap. +% https://tex.stackexchange.com/questions/64115/table-of-contents-chapter-number-width +\usepackage{tocloft} +\makeatletter +\renewcommand{\numberline}[1]{ + \@cftbsnum #1\@cftasnum~\@cftasnumb +} +\makeatother + % PDF metadata \hypersetup{ $if(title-meta)$