diff --git a/source/beamerfontthememetropolis.dtx b/source/beamerfontthememetropolis.dtx index 9888f05..277809c 100644 --- a/source/beamerfontthememetropolis.dtx +++ b/source/beamerfontthememetropolis.dtx @@ -45,7 +45,11 @@ % % \begin{macrocode} \ifboolexpr{bool {xetex} or bool {luatex}}{ - \RequirePackage[no-math]{fontspec} + \@ifpackageloaded{fontspec}{ + \PassOptionsToPackage{no-math}{fontspec} + }{ + \RequirePackage[no-math]{fontspec} + } % \end{macrocode} % % \begin{macro}{\checkfont}