Merge pull request #57 from rchurchley/pdflatex

Only load font theme when compiling with XeLaTeX
This commit is contained in:
Matthias Vogelgesang 2015-05-27 08:14:32 +02:00
commit b89a5e1d94
1 changed files with 7 additions and 1 deletions

View File

@ -52,12 +52,18 @@
\RequirePackage{etoolbox}
\RequirePackage{tikz}
\RequirePackage{pgfplots}
\RequirePackage{ifxetex}
\usetikzlibrary{backgrounds}
\usetikzlibrary{calc}
\usecolortheme{metropolis}
\usefonttheme{metropolis}
\ifxetex
\usefonttheme{metropolis}
\else
\PackageWarning{beamerthemem}{You need to compile with XeLaTeX for the Fira fonts.}
\fi
%}}}
%{{{ --- Titlepage --------------------