summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/latex/mathastext
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2011-03-16 22:15:52 +0000
committerKarl Berry <karl@freefriends.org>2011-03-16 22:15:52 +0000
commit538724699092e8574ce16196aeebb330dac1d6c7 (patch)
treec88d4a04c1100c015b812b04c32cd6ccddd0ea73 /Master/texmf-dist/tex/latex/mathastext
parentd34bf77a2d4ca330856db5dce536f6f65345b2d4 (diff)
mathastext 1.13b (15mar11)
git-svn-id: svn://tug.org/texlive/trunk@21737 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/tex/latex/mathastext')
-rw-r--r--Master/texmf-dist/tex/latex/mathastext/mathastext.sty14
1 files changed, 9 insertions, 5 deletions
diff --git a/Master/texmf-dist/tex/latex/mathastext/mathastext.sty b/Master/texmf-dist/tex/latex/mathastext/mathastext.sty
index ef14e342c10..76203d9972d 100644
--- a/Master/texmf-dist/tex/latex/mathastext/mathastext.sty
+++ b/Master/texmf-dist/tex/latex/mathastext/mathastext.sty
@@ -31,7 +31,7 @@
%%
\NeedsTeXFormat{LaTeX2e}
\ProvidesFile{mathastext.sty}
- [2011/03/11 1.13 Use the text font in simple mathematics]
+ [2011/03/15 1.13b Use the text font in simple mathematics]
\newif\ifXeTeX
\begingroup\expandafter\expandafter\expandafter\endgroup
\expandafter\ifx\csname XeTeXinterchartoks\endcsname\relax
@@ -692,10 +692,14 @@ noplusnominus,noequal,noexclam,noasterisk,nospecials,nolessnomore}}
\mathchar\expandafter"\ms@tmp\relax\else\char"26\relax\fi}
\fi
\ifmt@symbolmisc
-\let\prod\undefined
-\DeclareMathSymbol{\prod}{\mathop}{mtpsymbol}{213}
-\let\sum\undefined
-\DeclareMathSymbol{\sum}{\mathop}{mtpsymbol}{229}
+\let\mst@prod\prod
+\let\defaultprod\prod
+\DeclareMathSymbol{\prodpsy}{\mathop}{mtpsymbol}{213}
+\renewcommand{\prod}{\ifinner\prodpsy\else\mst@prod\fi}
+\let\mst@sum\sum
+\let\defaultsum\sum
+\DeclareMathSymbol{\sumpsy}{\mathop}{mtpsymbol}{229}
+\renewcommand{\sum}{\ifinner\sumpsy\else\mst@sum\fi}
\DeclareMathSymbol{\mt@implies}{\mathrel}{mtpsymbol}{222}
\DeclareRobustCommand{\implies}{\;\mt@implies\;}
\DeclareMathSymbol{\mt@impliedby}{\mathrel}{mtpsymbol}{220}