Skip to content

Commit

Permalink
Use everymath option to avoid bug in mathastext (as of version 1.4b)
Browse files Browse the repository at this point in the history
  • Loading branch information
michaelroland committed Oct 17, 2024
1 parent 57d6552 commit 1fbf232
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions beamerfontthemejku.sty
Original file line number Diff line number Diff line change
Expand Up @@ -317,6 +317,18 @@
%%
\ifbool{jkubeamer@mathastext}{%
\ifxetex%
% As of version 1.4, mathastext no longer compiles with XeLaTeX unless we
% the (deprecated) everymath option or the nominus option. Bug has been
% acknowledged by mathastext author. Until then, we are safe to use everymath:
\PassOptionsToPackage{everymath}{mathastext}
% In the future, we may also want to consider to use nominus (and use the
% standard math font for it). In that case, we should do this for at least
% the three basic operators +/-/= to achieve consistent operator alignment.
% Actually, this looks very promising in combination with FiraMath and we
% might want to consider always doing that in future (not just for XeLaTeX):
%\PassOptionsToPackage{noplus,nominus,noequal}{mathastext}
\fi
\usepackage[italic,defaultmathsizes,eulergreek,nosmalldelims,unicodeminus]{mathastext}
}{}
Expand Down

0 comments on commit 1fbf232

Please sign in to comment.