Re: double Subscript to a Base Element?

I think the proper way to represent this is not to introduce new structures,
but simply say what you want:  add a newline char.  This is done as:

<math>
  <mrow>
    <munder>
      <mo movablelimits='false'>&prod;</mo>
      <mrow>
        <mi>i</mi>
        <mo>=</mo>
        <mn>2</mn>
        <mo>&InvisibleComma;</mo>
        <mspace linebreak='newline' />
        <mi>i</mi>
        <mo>&NotEqual;</mo>
        <mi>t</mi>
      </mrow>
    </munder>
    <mi>xxx</mi>
  </mrow>
</math>

Unfortunately, none of the renderers that I tried handled the linebreak
properly.  However, I think it correctly (and simply) represents the
intended meaning.

Neil Soiffer                     email: neils@dessci.com
Senior Scientist                 phone: 562-433-0685
Design Science, Inc.             http://www.dessci.com
"How Science Communicates"
MathType, WebEQ, MathPlayer, Equation Editor, TeXaide


----- Original Message ----- 
From: "Bill Naylor" <Bill.Naylor@mcs.vuw.ac.nz>
To: "Paul Topping" <pault@dessci.com>
Cc: "mam mam" <mam1713@hotmail.com>; <www-math@w3.org>; <kultk@cch.com>
Sent: Wednesday, October 15, 2003 8:04 PM
Subject: RE: double Subscript to a Base Element?


>
>
> an alternative to using these mfrac linethickness="0" 'tricks' is to use
> a nested munder:
>
> <m:math>
>   <m:mstyle displaystyle="true">
>     <m:mrow>
>       <m:munder>
>         <m:munder>
>           <m:mo>&prod;</m:mo>
>           <m:mrow><m:mi>i</m:mi><m:mo>=</m:mo><m:mn>2</m:mn></m:mrow>
>         </m:munder>
>         <m:mrow><m:mi>i</m:mi><m:mo>&#x2260;</m:mo><m:mi>t</m:mi></m:mrow>
>       </m:munder>
>     </m:mrow>
>   </m:mstyle>
> </m:math>
>
> though (in mozilla) the prod symbol is now much larger, I am sure though
> that there are attributes to control the size.
>
> Bill
>
> On Wed, 15 Oct 2003, Paul Topping wrote:
>
> > Date: Wed, 15 Oct 2003 16:01:32 -0700
> > From: Paul Topping <pault@dessci.com>
> > To: 'Bill Naylor' <Bill.Naylor@mcs.vuw.ac.nz>, mam mam
<mam1713@hotmail.com>
> > Cc: www-math@w3.org, kultk@cch.com
> > Subject: RE: double Subscript to a Base Element?
> > Resent-Date: Wed, 15 Oct 2003 19:01:45 -0400 (EDT)
> > Resent-From: www-math@w3.org
> >
> >
> > 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>&Pi;</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: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>&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 Thursday, 16 October 2003 01:35:33 UTC