de7129c2a1
Because the minipage width of the section page was hard coded to 22em, the proportions did not look quite right (at least to me) when using, for instance, "aspectratio=169" in a presentation. Making the size of the minipage a fraction of the linewidth preserves the proportions and looks better to me. This PR only proposes that change. What follows is simply my calculations, so someone can spot a mistake and correct me if there is one. I looked into the beamer.cls file and found that the slide width for the 4:3 aspect ratio is 12.8cm. Beamer uses the geometry package to set the left and right horizontal margins to 1cm. Thus, the linewidth is 10.8cm. The default font size is 11pt. Using TeX's definition of a point (i.e. ~0.035146cm) and the fact that an em is equal to the font size in pt, converting 22em in cm gave me ~8.505cm which translates to 0.787\linewidth based on the measurements above. |
||
---|---|---|
demo | ||
doc | ||
docker | ||
source | ||
.gitignore | ||
Makefile | ||
NEWS | ||
README.md |
README.md
Metropolis
IMPORTANT NOTICES FOR VERSION 1.0
- The package and theme name changed from m to metropolis!
- The
title format
values have been restructured. Please refer to the manual.
Metropolis is a simple, modern Beamer theme suitable for anyone to use. It tries to minimize noise and maximize space for content; the only visual flourish it offers is an (optional) progress bar added to each slide. The core design principles of the theme were described in a blog post here.
Not convinced? Have a look at the demo slides.
Installation
To install a stable version of this theme, please refer to update instructions of your TeX distribution. Metropolis is on CTAN since December 2014 thus it is part of MikTeX and will be part of TeX Live 2016.
Installing Metropolis from source, like any Beamer theme, involves four easy steps:
- Download the source with a
git clone
of the Metropolis repository or as a zip archive of the latest development version. - Compile the style files by running
make sty
inside the downloaded directory. (Or run LaTeX directly onsource/metropolistheme.ins
.) - Move the resulting
*.sty
files to the folder containing your presentation. To use Metropolis with many presentations, runmake install
or move the*.sty
files to a folder in your TeX path instead (might requiresudo
rights). - Use the theme for your presentation by declaring
\usetheme{metropolis}
in the preamble of your Beamer document. - For best results install Mozilla's Fira Sans.
Usage
The following code shows a minimal example of a Beamer presentation using Metropolis.
\documentclass{beamer}
\usetheme{metropolis} % Use metropolis theme
\title{A minimal example}
\date{\today}
\author{Matthias Vogelgesang}
\institute{Centre for Modern Beamer Themes}
\begin{document}
\maketitle
\section{First Section}
\begin{frame}{First Frame}
Hello, world!
\end{frame}
\end{document}
Detailed information on using Metropolis can be found in the manual.
For an alternative dark color theme, please have a look at Ross Churchley's excellent owl theme.
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.