metropolis_theme/README.md

2.1 KiB

Beamer mtheme

The mtheme is a Beamer theme with minimal visual. The core design principles of the theme were described in a blog post. Not convinced? Have a look at the demo slides.

Sample

Requirements

As of now, fonts, colors and the section indicator are hardcoded into the theme. Thus to compile the demo with make you must

  • use XeLaTeX,
  • install the Fira Sans font,
  • have a usable TikZ installation, and
  • install the Python package Pygments (pip install pygments).

Depending on the Linux distribution, the packaged name of Fira Sans might be Fira Sans OT instead of Fira Sans. In that case, you may have to edit beamerfontthememetropolis.sty.

Installing and compiling

To install the theme either run make install or copy the style files ending with .sty to the source files of your presentation.

To use this theme with Pandoc, you can run the following command

$ pandoc -t beamer --latex-engine=xelatex -V theme:m -o output.pdf input.md

Customization

Package options

The titleprogressbar option adds a thin progress bar similar to the section progress bar underneath each frame title

Progressbar

Commands

The \plain{title=[]}{body} command sets a slide in plain dark colors which can be useful to focus attentation on a single image.

pgfplot styles

The beamer theme also contains pre-defined pgfplot styles. Use the mlineplot key to plot line data and mbarplot or horizontal mbarplot to plot bar charts.

Charts

License

The theme itself is licensed under a Creative Commons Attribution-ShareAlike 4.0 International License. This means that if you change the theme and re-distribute it, you must retain the copyright notice header and license it under the same CC-BY-SA license. This does not affect the presentation that you create with the theme.