Re: MathPlayer 2.2 stretches parentheses to the size of the integral symbol.

MathPlayer is following the MathML spec.

In MathPlayer, the integral sign is not stretchy by default (the default is
left up to the renderer).  The rules say the stretchy chars (the parens)
should stretch to cover the non-stretchy.  In this case, the integral is a
bit taller than normal chars, so the parens stretch (symmetrically) to
cover them.  A summation sign is not tall enough to make them stretch.

Unfortunately, Firefox is doing this wrong.  If you use MathJax, you'll see
the same behavior as MathPlayer.  To use MathJax, add
<script type="text/javascript" src="
http://cdn.mathjax.org/mathjax/latest/MathJax.js?config=MML_HTMLorMML">
</script>

to the head of the file.

Neil Soiffer
Senior Scientist
Design Science, Inc.
www.dessci.com
~ Makers of MathType, MathFlow, MathPlayer, MathDaisy, Equation Editor ~




On Sun, Mar 25, 2012 at 8:39 PM, saf sied <saf_itpro@yahoo.com> wrote:

> Without using mrow tag around the parentheses, the above happens. This
> behavior does not happen with the summation symbol for example. Also, this
> is not an issue with Firefox (XHTML or HTML5). Is there any way we can get
> it to work for integrals without using mrow tag around the parentheses?
>
> To understand the problem, please copy the following and save as a “.htm”
> file. Thank you, Saf:
>
> /////////Begin: HTML file source view//////////
>
> <html xmlns:m="http://www.w3.org/1998/Math/MathML" >
>
> <head><object id="mathplayer"
> classid="clsid:32F66A20-7614-11D4-BD11-00104BD3F987"></object>
> <?import namespace="m" implementation="#mathplayer"?>
> </head>
>
> <body>
> <div>
> <p>Without using mrow tag around parenthesis</p>
> <br/>
>
> <m:math><m:mo>∫</m:mo><m:mi>f</m:mi><m:mo>(</m:mo><m:mi>t</m:mi><m:mo>)</m:mo><m:mi>d</m:mi><m:mi>t</m:mi></m:math>
> <br/>
>
> <p>After using mrow tag around parenthesis</p>
>
> <m:math><m:mo>∫</m:mo><m:mi>f</m:mi><m:mrow><m:mo>(</m:mo><m:mi>t</m:mi><m:mo>)</m:mo></m:mrow><m:mi>d</m:mi><m:mi>t</m:mi></m:math>
> <br/>
> <p>Without using mrow tag around parenthesis. Works ok with summation
> symbol</p>
> <br/>
>
> <m:math><m:mo>∑</m:mo><m:mi>f</m:mi><m:mo>(</m:mo><m:mi>t</m:mi><m:mo>)</m:mo><m:mi>d</m:mi><m:mi>t</m:mi></m:math>
> </div>
> </body>
>
> </html>
>
> /////////End: HTML file source view//////////
>
>

Received on Monday, 26 March 2012 05:17:00 UTC