Beamer is a tool to create slide presentations using Latex. Since I was "forced" to use Latex for a project I am involved with, I am trying to use it as much as possible to get acquainted with its quirks; which, by the way, are a lot.

Some time ago I heard of Pandoc. A tool that allows you to export text created with markdown (supposedly the most intuitive way to format text without using an interfaced software such as Libreoffice). The idea of exporting my notes, such as below, directly to a slide(image further down) is very appealing to me, so I decided to combine both to generate a pdf presentation directly from my notes.

## The lesson plans

- 12 lessons plans grouped into 3 packs (one per term);
- Worksheets + Comments for the teacher + cut-outs;
- Topics covered:
    - equivalent fractions,
    - comparison of fractions,
    - addition and subtraction,
    - mixed numbers and improper fractions,
    - word problems.

slide generated with pandoc and beamer

You can check the complete file with my notes in markdown (actually, just a part of it - just enough to show the most important codes in markdown) and the resulting pdf presentation.

Once you have pandoc and latex (with packages to run beamer) installed, use just have to use the following command to compile the presentation:

pandoc -t beamer -o output.pdf

Basically, pandoc generates a latex file and then uses latex+beamer to create a pdf formatted as a presentation.

Some comments

  • The first block of content is the metadata, which generates the front page and set some parameters regarding the layout. The slide_level parameter determines how many sections and subsections (marked by # in the md file) are before something is an actual slide. The header-includes are some parameter to change the layout of the theme I used. The others are sort of self explanatory;
  • I really do not like beamer's default themes, so I used metropolis. It is well documented and very elegant. It has some limitations and small bugs, but it does work and looks really nice;
  • The standout slide (last one) did not work perfectly for me. When I used it in the middle of the presentation it affected the title of the next slide. I guess it is a problem in the interaction between pandoc and the theme;
  • Beamer does not offer fields for supervisors and funders, so I had to improvise. Apparently it is possible to solve this issue by tweaking the theme and I will try to do so when I get some spare time.
  • I decided not to use any reference system because in presentations I use to include just a few references, but bibtex should work as usual;

The complete presentation can be seen here.

About this post

Date: 09 Apr 2018

Author: Leonardo Barichello


research free software english

Related posts:
Hambleton bakery
Probably the best Beef Wellington in London
Where should I publish?


Subscribe to my RSS: