jgm/pandoc-templates — Issue #7: beamer: list labels shifted outside of blocks with fancy-enums
Author: dlaxalde
Created: 2012-03-07 15:35:43+00:00
State: open

The beamer template has:

$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$

It seems that when `fancy-enums` is enabled (apparently when there's a numbered list), the list labels appear out of the block environment.
A minimal example:

# A section

## A frame
something

### A block
1. b
2. a

built using `pandoc -t beamer in.txt -o out.pdf -V theme:Madrid` shows this.