部分标题幻灯片与Pandoc和Beamer

时间:2015-11-12 13:29:41

标签: pandoc beamer

我正在使用pandoc + beamer进行一些幻灯片。如何创建标题幻灯片以介绍新的部分?

例如

____Slide 1_____
Section 1 ...
* bla
* bla
* bla
________________


_____Slide 2____


    Section 2      <--- How do I create this guy?

________________


____Slide 3_____
Section 2 ...
* bla
* bla
* bla
________________

2 个答案:

答案 0 :(得分:1)

如果您使用pandoc,只需添加选项--slide-level = 2

有关详细信息,请参阅http://pandoc.org/MANUAL.html#structuring-the-slide-show

答案 1 :(得分:1)

作为MWE:pandoc -t beamer --slide-level 2 foo.md -o foo.pdf

幻灯片结构必须为:

# This is a section slide

## This is the first slide in this section
 - list item 1
 - list item 2

## This is the next slide in this section
 - list item 1
 ![Image](./image1.png "alt text"){width:70%}

# This is the next section

## First slide of this section
 - list item 1
 - list item 2