From: Robert Miner <robertm@dessci.com>

Date: Tue, 13 Nov 2007 12:00:00 -0800

Message-ID: <D1EFB337111B674B8F1BE155B01C6DD602695783@franklin.corp.dessci>

To: <c.mueller@jacobs-university.de>

Cc: <www-math@w3.org>

Date: Tue, 13 Nov 2007 12:00:00 -0800

Message-ID: <D1EFB337111B674B8F1BE155B01C6DD602695783@franklin.corp.dessci>

To: <c.mueller@jacobs-university.de>

Cc: <www-math@w3.org>

Hi. 0xaf alias ¯ alias ‾ is the right character. (BTW, ‾ is an HTML entity name, and not included in the MathML DTD. Maybe it doesn't matter in your context, but #x203E; is a lot more portable. Also, it isn't stretchy.) Both MathPlayer and Firefox will both render <math xmlns="http://www.w3.org/1998/Math/MathML"> <mrow> <mover> <mrow> <mi>x</mi> <mo>+</mo> <mi>y</mi> </mrow> <mo>‾</mo> </mover> </mrow> </math> with a stretchy horizontal bar. However, you have to be careful. If you put in an extra mrow about the OverBar, then Firefox won't stretch it anymore. That is <math xmlns="http://www.w3.org/1998/Math/MathML"> <mrow> <mover> <mrow> <mi>x</mi> <mo>+</mo> <mi>y</mi> </mrow> <mrow> <mo>‾</mo> </mrow> </mover> </mrow> </math> will only render with the bar properly stretched in MathPlayer, and not in Firefox. This looks like a bug in Firefox. Specifically, the implementation of "embellished operators" is wrong, since the wrapping mrow should have no effect on the stretching of the bar, though it obviously does. I've appended my test page below. --Robert Robert Miner Vice President, Research and Development Design Science, Inc. 140 Pine Avenue, 4th Floor Long Beach, California 90802 USA Tel: (651) 223-2883 Fax: (651) 292-0014 robertm@dessci.com www.dessci.com ~ Makers of MathType, MathFlow, MathPlayer, WebEQ, Equation Editor, TexAide ~ ============== <?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="http://www.w3.org/1999/xhtml" > <head> <title>A MathML template</title> </head> <body> <h2>MathML Example</h2> <p>Buggy case:</p> <math xmlns="http://www.w3.org/1998/Math/MathML"> <mrow> <mover> <mrow> <mi>x</mi> <mo>+</mo> <mi>y</mi> </mrow> <mrow> <mo>‾</mo> </mrow> </mover> </mrow> </math> <p>Good case:</p> <math xmlns="http://www.w3.org/1998/Math/MathML"> <mrow> <mover> <mrow> <mi>x</mi> <mo>+</mo> <mi>y</mi> </mrow> <mo>‾</mo> </mover> </mrow> </math> </body> </html> ==================================== > -----Original Message----- > From: www-math-request@w3.org [mailto:www-math-request@w3.org] On Behalf > Of Christine Müller > Sent: Monday, November 12, 2007 3:21 AM > To: www-math@w3.org > Subject: Question to pMathML > > > Dear all, > > I have a question on how to present an "overline" in the following term: > I have tried "¯" and "‾" but both only result in a single "-" > overline, but I am looking for an overline that automatically stretches > across the whole term. So right now I am simply putting a bunch of these > signs, but would rather have a more proper solution. > > I appreciate your suggestions! > > Best, > Christine > > > <m:math xmlns:m="http://www.w3.org/1998/Math/MathML"> > <m:mrow> > <m:mover> > <m:mrow> > <m:mo>(</m:mo> > <m:mi>x123</m:mi> > <m:mo>*</m:mo> > <m:mi>x172</m:mi> > <m:mo>)</m:mo> > </m:mrow> > <m:mo>‾‾‾‾‾‾‾‾‾&ol > ine;‾‾‾</m:mo> > </m:mover> > </m:mrow> > </m:math> > > > > >Received on Tuesday, 13 November 2007 20:00:48 UTC

*
This archive was generated by hypermail 2.3.1
: Tuesday, 6 January 2015 21:27:39 UTC
*