mirror of https://github.com/matze/mtheme.git
Only load font theme when compiling with XeLaTeX
This commit is contained in:
parent
a54d7477a9
commit
9d26b9be64
|
@ -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 --------------------
|
||||
|
|
Loading…
Reference in New Issue