W3C home > Mailing lists > Public > www-math@w3.org > July 2009

RE: MathML browser test page

From: Joe Java <joe.java@eyeasme.com>
Date: Fri, 17 Jul 2009 05:41:35 -0700
Message-Id: <20090717054135.eeb015f6c9d0e1fdff594d2c3206cf5d.9a69ec5fa6.wbe@email04.secureserver.net>
To: "Neil Soiffer" <Neils@dessci.com>
Cc: www-math@w3.org
Hello Neil,

1.  I fixed the problem with the right and left column alignments in 
the sphere volume example.  I was also able to fix the 
columnalign problem (the "pop" effect) in the Differentiable
Manifold example. Thank you for your help.

2. Yes, it did take some time to pick the correct heights for the 
arrows in the Cichon's diagram example.  

Where is a list of "stretchy" characters?  

Yes, the arrow should be stretched automatically, but should it not
look the same if manually set?  What I am trying to say is that
Firefox does not work correctly and the arrow is not automatically 
stretched.  I fixed the problem by manually setting the arrow size.
Is it not OK to do that?  I would think that the system would see
that the author set the character's size to a particular value and 
it would honor that set value.  

   -------- Original Message --------
 Subject: Re: MathML browser test page
 From: Neil Soiffer <Neils@dessci.com>
 Date: Thu, July 16, 2009 8:24 pm
 To: Joe Java <joe.java@eyeasme.com>
 Cc: www-math@w3.org

On Thu, Jul 16, 2009 at 7:20 PM, Joe Java <joe.java@eyeasme.com> wrote:
 Hello Neil,

You are welcome.

1.  That problem I posted about has to do with an equation I pulled out
of an
article on Differentiable Manifolds.  The column alignment specification
IS in the source 
 code.  The problem is Firefox does not left justify the two equations
to the left bracket 
UNTIL the cursor is moved into the table cell of the equation.  They are
first center 
aligned then they "pop" into the correct position when the cursor is
moved over them.
I am ignorant as to how to left justify in this situation without using
I would welcome learning how to do this in a better way

Where you have (for example)
   <mtd style="text-align: left">
you should use
   <mtd columnalign="left" style="text-align: left">

or better yet, since you consistently use the same alignments, pull them
up to the mtable level:

<mtable class="close" columnalign="right left">
Implementations that more completely implement mtable than Firefox does
will do the right thing.


2.  I did not know that the arrows should have stretched on their own.
Should not the arrows look the same even if a person manually sets the
 rather than letting the size be automatically set?  

The size of an arrow or other stretchy character that is the only entry
in an mtd should stretch  to be the same size as the biggest mtd in the
row/column (depending on the direction the character can stretch).  In
this case, I believe you have rowspan=3, so it should cover the height
of the three rows spanned.  If you override it as you did, that forces
the size (your minsize=maxsize) and a MathML renderer should use those
I assume it took you some trial and error to get that size right, but
MathML *should* get the size right for you.  Again, Firefox doesn't
implement that so you have to do what you did to get it to look right in
Firefox (there might be other workarounds for the Firefox bug), but in
general, you shouldn't need to do those sort of things.

Neil Soiffer
Senior Scientist
Design Science, Inc.
~ Makers of MathType, MathFlow, MathPlayer, MathDaisy, WebEQ, Equation
Editor ~
Received on Friday, 17 July 2009 12:42:17 UTC

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