summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/latex/mathastext/mathastext.sty
diff options
context:
space:
mode:
Diffstat (limited to 'Master/texmf-dist/tex/latex/mathastext/mathastext.sty')
-rw-r--r--Master/texmf-dist/tex/latex/mathastext/mathastext.sty21
1 files changed, 11 insertions, 10 deletions
diff --git a/Master/texmf-dist/tex/latex/mathastext/mathastext.sty b/Master/texmf-dist/tex/latex/mathastext/mathastext.sty
index 41cad53044c..a82f5bc75ca 100644
--- a/Master/texmf-dist/tex/latex/mathastext/mathastext.sty
+++ b/Master/texmf-dist/tex/latex/mathastext/mathastext.sty
@@ -23,7 +23,7 @@
%%----------------------------------------------------------------
%% Package: mathastext
%% Info: Use the text font in math mode (JFB)
-%% Version: 1.3o 2016/05/03
+%% Version: 1.3p 2016/05/13
%% License: LPPL 1.3c (http://www.latex-project.org/lppl/lppl-1-3c.txt)
%% Copyright (C) 2011-2016 Jean-Francois Burnol <jfbu at free dot fr>
%% Examples of use of mathastext:
@@ -32,7 +32,7 @@
%%----------------------------------------------------------------
\NeedsTeXFormat{LaTeX2e}
\ProvidesPackage {mathastext}
- [2016/05/03 v1.3o Use the text font in math mode (JFB)]
+ [2016/05/13 v1.3p Use the text font in math mode (JFB)]
\let\mst@Umathcharnumdef\Umathcharnumdef
\let\mst@Umathcodenum \Umathcodenum
\let\mst@Umathcode \Umathcode
@@ -338,6 +338,7 @@ defaultbf,defaultit,defaultsf,defaulttt}\mst@nonormalboldtrue}
\mst@theeasy\mst@do@easynonletters \let\mst@theeasy\@gobble
\mst@thef\mst@do@az \let\mst@thef\@gobble
\mst@theF\mst@do@AZ \let\mst@theF\@gobble}%
+ \MTcustomizenewmcodes
\ifmst@subdued
\MTeverymathoff
\MTresetnewmcodes
@@ -484,9 +485,9 @@ defaultbf,defaultit,defaultsf,defaulttt}\mst@nonormalboldtrue}
\mathcode`\noexpand\/
\the\numexpr\unless\ifmst@noparen\symmtoperatorfont*\@cclvi\fi+47\relax\relax
}%
- \let\mst@originalnewmcodes@\newmcodes@
- \fi
- }
+ \let\mst@originalnewmcodes@\newmcodes@
+ \fi
+ }
\fi
\fi\fi
\newcommand*\MTresetnewmcodes{\ifx\mst@originalnewmcodes@\undefined\else
@@ -547,7 +548,7 @@ defaultbf,defaultit,defaultsf,defaulttt}\mst@nonormalboldtrue}
\catcode`E 12
\lowercase{\gdef\mst@fixmathfonts@ #1=NODE;#2#3\relax #4\@empty #5}%
{\ifx#2\empty\else\font\mst@mathfont=#1=base;#2#3\relax#5=\mst@mathfont\fi}
-\lowercase{\gdef\mst@fixmathfonts
+\lowercase{\gdef\MTfixmathfonts
{\expandafter\mst@fixmathfonts@
\fontname\textfont\symmtoperatorfont\relax\relax=NODE;\empty\relax\@empty
{\textfont\symmtoperatorfont}%
@@ -570,11 +571,11 @@ defaultbf,defaultit,defaultsf,defaulttt}\mst@nonormalboldtrue}
}%
\endgroup
\ifmst@LuaTeX
- \everymath\expandafter{\the\everymath\mst@@fixmathfonts}%
- \everydisplay\expandafter{\the\everydisplay\mst@@fixmathfonts}%
+ \everymath\expandafter{\the\everymath\mst@fixmathfonts}%
+ \everydisplay\expandafter{\the\everydisplay\mst@fixmathfonts}%
\fi
-\newcommand*\MTfixfonts{\let\mst@@fixmathfonts\mst@fixmathfonts}%
-\newcommand*\MTdonotfixfonts{\let\mst@@fixmathfonts\empty}%
+\newcommand*\MTfixfonts{\let\mst@fixmathfonts\MTfixmathfonts}%
+\newcommand*\MTdonotfixfonts{\let\mst@fixmathfonts\empty}%
\MTfixfonts
\let\mst@alph@omicron\mathnormal
\@ifpackageloaded{fourier}{\ifsloped\else\let\mst@alph@omicron\mathrm\fi}{}