From 538724699092e8574ce16196aeebb330dac1d6c7 Mon Sep 17 00:00:00 2001 From: Karl Berry Date: Wed, 16 Mar 2011 22:15:52 +0000 Subject: mathastext 1.13b (15mar11) git-svn-id: svn://tug.org/texlive/trunk@21737 c570f23f-e606-0410-a88d-b1316a301751 --- Master/texmf-dist/tex/latex/mathastext/mathastext.sty | 14 +++++++++----- 1 file changed, 9 insertions(+), 5 deletions(-) (limited to 'Master/texmf-dist/tex/latex/mathastext') 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} -- cgit v1.2.3