Only load font theme when compiling with XeLaTeX

This commit is contained in:
Ross Churchley 2015-05-26 12:36:37 -07:00
parent a54d7477a9
commit 9d26b9be64
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 --------------------