paul-g
paul-g

Reputation: 3877

Section title slide with Pandoc and Beamer

I am using pandoc + beamer for some slides. How can I create a title slide to introduce a new section?

For example

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


_____Slide 2____


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

________________


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

Upvotes: 4

Views: 4046

Answers (2)

dearN
dearN

Reputation: 1276

As an MWE: pandoc -t beamer --slide-level 2 foo.md -o foo.pdf

The slide structure would need to be:

# 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

Upvotes: 1

If you are using pandoc just add the option --slide-level=2

See http://pandoc.org/MANUAL.html#structuring-the-slide-show for details.

Upvotes: 4

Related Questions