Skip to content

Commit

Permalink
Merge pull request #14 from michaelroland/mathastext14-improvements
Browse files Browse the repository at this point in the history
Improvements and fixes for mathastext
  • Loading branch information
michaelroland authored Oct 18, 2024
2 parents d945c75 + 302bddf commit 6a71acf
Showing 1 changed file with 13 additions and 1 deletion.
14 changes: 13 additions & 1 deletion beamerfontthemejku.sty
Original file line number Diff line number Diff line change
Expand Up @@ -310,7 +310,19 @@
%%
\ifbool{jkubeamer@mathastext}{%
\usepackage[italic,defaultmathsizes,eulergreek,nosmalldelims]{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 6a71acf

Please sign in to comment.