Skip to content

Commit

Permalink
move toc hacks
Browse files Browse the repository at this point in the history
  • Loading branch information
chrisfenner committed Dec 10, 2023
1 parent 8469274 commit 05254e5
Showing 1 changed file with 9 additions and 9 deletions.
18 changes: 9 additions & 9 deletions template/eisvogel.latex
Original file line number Diff line number Diff line change
Expand Up @@ -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}
Expand Down Expand Up @@ -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)$
Expand Down

0 comments on commit 05254e5

Please sign in to comment.