Skip to content

Commit

Permalink
try moving the enumitem settings to near the header-includes
Browse files Browse the repository at this point in the history
  • Loading branch information
chrisfenner committed Dec 3, 2023
1 parent c59a680 commit 2e8c528
Showing 1 changed file with 9 additions and 8 deletions.
17 changes: 9 additions & 8 deletions template/eisvogel.latex
Original file line number Diff line number Diff line change
Expand Up @@ -436,6 +436,15 @@ $endif$
$for(header-includes)$
$header-includes$
$endfor$

%% TCG docs tend to have deeply nested lists, too deep for Pandoc/Latex defaults.
\usepackage{enumitem}
\setlistdepth{9}
\setlist[itemize]{label=$\bullet$}
\renewlist{itemize}{itemize}{9}
\setlist[enumerate]{label=$\arabic*.$}
\renewlist{enumerate}{enumerate}{9}

$if(lang)$
\ifxetex
$if(mainfont)$
Expand Down Expand Up @@ -999,14 +1008,6 @@ $if(template)$
{}
$endif$

%% TCG docs tend to have deeply nested lists, too deep for Pandoc/Latex defaults.
\usepackage{enumitem}
\setlistdepth{9}
\setlist[itemize]{label=$\bullet$}
\renewlist{itemize}{itemize}{9}
\setlist[enumerate]{label=$\arabic*.$}
\renewlist{enumerate}{enumerate}{9}

\begin{document}

%%
Expand Down

0 comments on commit 2e8c528

Please sign in to comment.