- From: Paul Topping <pault@dessci.com>
- Date: Wed, 15 Oct 2003 16:01:32 -0700
- To: 'Bill Naylor' <Bill.Naylor@mcs.vuw.ac.nz>, mam mam <mam1713@hotmail.com>
- Cc: www-math@w3.org, kultk@cch.com
There needs to be some <mrow> elements around the fraction numerator and
denominator. If I change the example to this:
<m:math>
<m:mrow>
<m:munder>
<m:mo>Π</m:mo>
<m:mfrac linethickness="0">
<m:mrow><m:mi>i</m:mi><m:mo>=</m:mo><m:mn>2</m:mn></m:mrow>
<m:mrow><m:mi>i</m:mi><m:mo>≠</m:mo><m:mi>t</m:mi></m:mrow>
</m:mfrac>
</m:munder>
</m:mrow>
</m:math>
then it works in MathPlayer as well.
Paul
> -----Original Message-----
> From: Bill Naylor [mailto:Bill.Naylor@mcs.vuw.ac.nz]
> Sent: Wednesday, October 15, 2003 3:57 PM
> To: mam mam
> Cc: www-math@w3.org; kultk@cch.com
> Subject: Re: double Subscript to a Base Element?
>
>
>
> On Thu, 16 Oct 2003, mam mam wrote:
>
> > Date: Thu, 16 Oct 2003 01:11:05 +0500
> > From: mam mam <mam1713@hotmail.com>
> > To: www-math@w3.org
> > Cc: kultk@cch.com
> > Subject: double Subscript to a Base Element?
> > Resent-Date: Wed, 15 Oct 2003 16:13:46 -0400 (EDT)
> > Resent-From: www-math@w3.org
> >
> >
> > Hi MathML Community
> >
> > I want to write an equation/expression using MathML where a base
> > element has two subscripts as shown in the attached file. Is it
> > possible?
> >
> > Regards.
> >
> > Muhammad Aslam
>
> If I understand you correctly, your problem is the first
> product on the second line? I suggest using an mfrac element
> with linethickness="0", together with an munder element. as in:
>
> <?xml version="1.0"?>
>
> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1 plus MathML
> 2.0//EN"
"http://www.w3.org/TR/MathML2/dtd/xhtml-math11-f.dtd">
<html xmlns:m="http://www.w3.org/1998/Math/MathML">
<head>
</head>
<body>
<m:math>
<m:mrow>
<m:munder>
<m:mo>Π</m:mo>
<m:mfrac linethickness="0">
<m:mi>i</m:mi><m:mo>=</m:mo><m:mn>2</m:mn>
<m:mi>i</m:mi><m:mo>≠</m:mo><m:mi>t</m:mi>
</m:mfrac>
</m:munder>
</m:mrow>
</m:math>
</body>
</html>
at least that works in mozilla,
cheers,
Bill
Received on Wednesday, 15 October 2003 19:01:44 UTC