I'm now trying to move from MS Powerpoint to LaTeX Beamer, and thus I've found a theme on Github called mtheme (Metropolis package). It's somehow hard to use at first so that I write this Gist to remind myself when next time installation comes. The system for this setup is Mac OSX 10.10.5 with BasicTeX 2015.
- BasicTeX - lightweight MacTeX distribution
- Textmate - free text editor with LaTeX live preview bundle
- Skim - pdf viewer with sync support
- Fira Sans Font - font by Mozilla
- Fira Mono Font - font by Mozilla
Open TeX Live Utility and install the following packages:
- pgfopts.sty
- ccicons.sty
- pgfplots.sty
- Clone mtheme repo.
- In the cloned directory, check if any error raised by compiling
demo.tex
- this also compilesmtheme.dtx
.
$ make
- If there is any error appears, install them (mostly should be
.sty
). - Install theme by using
$ make install
command.
A minimal example:
\documentclass[10pt]{beamer}
\usetheme{m} % load mtheme
\title{A modern beamer theme} % define title
\date{\today} % define date
\author{Matthias Vogelgesang} % define author
\institute{Institute} % define institute
\begin{document}
\maketitle % create titlepage
\section{First Section} % create section
\begin{frame}{First Frame} % first frame
Lorem ipsum dolor sit amet, ...
\end{frame}
\begin{frame}{Second Frame} % second frame
Lorem ipsum dolor sit amet, ...
\end{frame}