Merge pull request #57 from rchurchley/pdflatex
Only load font theme when compiling with XeLaTeX
This commit is contained in:
commit
b89a5e1d94
|
@ -52,12 +52,18 @@
|
||||||
\RequirePackage{etoolbox}
|
\RequirePackage{etoolbox}
|
||||||
\RequirePackage{tikz}
|
\RequirePackage{tikz}
|
||||||
\RequirePackage{pgfplots}
|
\RequirePackage{pgfplots}
|
||||||
|
\RequirePackage{ifxetex}
|
||||||
|
|
||||||
\usetikzlibrary{backgrounds}
|
\usetikzlibrary{backgrounds}
|
||||||
\usetikzlibrary{calc}
|
\usetikzlibrary{calc}
|
||||||
|
|
||||||
\usecolortheme{metropolis}
|
\usecolortheme{metropolis}
|
||||||
\usefonttheme{metropolis}
|
|
||||||
|
\ifxetex
|
||||||
|
\usefonttheme{metropolis}
|
||||||
|
\else
|
||||||
|
\PackageWarning{beamerthemem}{You need to compile with XeLaTeX for the Fira fonts.}
|
||||||
|
\fi
|
||||||
|
|
||||||
%}}}
|
%}}}
|
||||||
%{{{ --- Titlepage --------------------
|
%{{{ --- Titlepage --------------------
|
||||||
|
|
Loading…
Reference in New Issue