aboutsummaryrefslogtreecommitdiff
path: root/templates/latex.template
diff options
context:
space:
mode:
Diffstat (limited to 'templates/latex.template')
-rw-r--r--templates/latex.template6
1 files changed, 6 insertions, 0 deletions
diff --git a/templates/latex.template b/templates/latex.template
index fb40d506a..bca71f091 100644
--- a/templates/latex.template
+++ b/templates/latex.template
@@ -25,6 +25,12 @@ $if(verbatim-in-note)$
\usepackage{fancyvrb}
$endif$
$if(fancy-enums)$
+% Redefine labelwidth for lists; otherwise, the enumerate package will cause
+% markers to extend beyond the left margin.
+\makeatletter\AtBeginDocument{%
+ \renewcommand{\@listi}
+ {\setlength{\labelwidth}{4em}}
+}\makeatother
\usepackage{enumerate}
$endif$
$if(tables)$