Search code examples
latexrenamepandocbeamer

Pandoc beamer change "Section 1" to "Chapter 1"


I was doing my thesis presentation and my guide insists that the "Section {1, 2, ..}" should be replaced with "Chapter {1, 2, ..}" as in below image.

Screenshot of "Section 1" that has to be replaced with "Chapter 1"

I tried a few tricks in YAML, and ended up with the below lines I think would help, but no use.

slide-level: 2
top-level-division: chapter

My LaTex skills a Level 2/10 but willing to dive deep if needed.

Thank you for helping!


Solution

  • Add

    \def\sectionname{Chapter}
    

    to your header-includes

    enter image description here