W3C home > Mailing lists > Public > www-math@w3.org > October 2003

Re: double Subscript to a Base Element?

From: Bill Naylor <Bill.Naylor@mcs.vuw.ac.nz>
Date: Thu, 16 Oct 2003 11:59:28 +1300 (NZDT)
To: mam mam <mam1713@hotmail.com>
Cc: www-math@w3.org, kultk@cch.com
Message-ID: <Pine.SOL.4.56.0310161158320.16877@debretts.mcs.vuw.ac.nz>


Ooops sorry, that was the markup that didn't work, this one does!

<?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:mstyle displaystyle="true">
    <m:mrow>
      <m:munder>
        <m:mo>&prod;</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>&#x2260;</m:mo><m:mi>t</m:mi></m:mrow>
        </m:mfrac>
      </m:munder>
    </m:mrow>
  </m:mstyle>
</m:math>
</body>
</html>

Bill

On Thu, 16 Oct 2003, Bill Naylor wrote:

> Date: Thu, 16 Oct 2003 11:56:14 +1300 (NZDT)
> From: Bill Naylor <Bill.Naylor@mcs.vuw.ac.nz>
> To: mam mam <mam1713@hotmail.com>
> 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>&Pi;</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>&#x2260;</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:03:31 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Saturday, 20 February 2010 06:12:55 GMT