mirror of https://github.com/matze/mtheme.git
Merge pull request #243 from jGleitz/fix-fontspec-option-clash
Fix fontspec option clash
This commit is contained in:
commit
72fddbd72b
|
@ -45,7 +45,11 @@
|
||||||
%
|
%
|
||||||
% \begin{macrocode}
|
% \begin{macrocode}
|
||||||
\ifboolexpr{bool {xetex} or bool {luatex}}{
|
\ifboolexpr{bool {xetex} or bool {luatex}}{
|
||||||
\RequirePackage[no-math]{fontspec}
|
\@ifpackageloaded{fontspec}{
|
||||||
|
\PassOptionsToPackage{no-math}{fontspec}
|
||||||
|
}{
|
||||||
|
\RequirePackage[no-math]{fontspec}
|
||||||
|
}
|
||||||
% \end{macrocode}
|
% \end{macrocode}
|
||||||
%
|
%
|
||||||
% \begin{macro}{\checkfont}
|
% \begin{macro}{\checkfont}
|
||||||
|
|
Loading…
Reference in New Issue