summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/latex/mathastext
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2016-05-13 21:21:22 +0000
committerKarl Berry <karl@freefriends.org>2016-05-13 21:21:22 +0000
commit034a0a8f8c4b9a2a3566558fb7c06882c28d52b1 (patch)
tree87b4c1c1eec89070b530d0d2242c3fb11afd97aa /Master/texmf-dist/tex/latex/mathastext
parent29e604114791c68932c080bc68c23e811d355e7d (diff)
mathastext (13may16)
git-svn-id: svn://tug.org/texlive/trunk@41096 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/tex/latex/mathastext')
-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}{}