Go to file
Ghyslain Leclerc de7129c2a1
Make section page width relative to linewidth
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.
2022-01-09 00:04:07 -05:00
demo Consistently use 'small caps'/\texttt{smallcaps} 2017-10-01 21:23:10 +02:00
doc Update URL to Paul Tol technical note 2018-07-30 11:45:24 +02:00
docker Updated Fira font paths to new location. 2018-05-10 15:52:44 -04:00
source Make section page width relative to linewidth 2022-01-09 00:04:07 -05:00
.gitignore Ignore PDF manual and demo 2015-12-06 22:10:29 +01:00
Makefile Updated Fira font paths to new location. 2018-05-10 15:52:44 -04:00
NEWS Release version 1.2 2017-01-23 12:55:26 +01:00
README.md Fix #322: point to correct Fira repo 2018-04-20 09:48:02 +02:00

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.

Sample

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:

  1. Download the source with a git clone of the Metropolis repository or as a zip archive of the latest development version.
  2. Compile the style files by running make sty inside the downloaded directory. (Or run LaTeX directly on source/metropolistheme.ins.)
  3. Move the resulting *.sty files to the folder containing your presentation. To use Metropolis with many presentations, run make install or move the *.sty files to a folder in your TeX path instead (might require sudo rights).
  4. Use the theme for your presentation by declaring \usetheme{metropolis} in the preamble of your Beamer document.
  5. 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.