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

RE: How do you divide?

From: Daniel Marquès Solé <dani@wiris.com>
Date: Fri, 13 Nov 2009 13:31:25 +0100
To: David Carlisle <davidc@nag.co.uk>
CC: "www-math@w3.org" <www-math@w3.org>
Message-ID: <B3A97FE6657B3941A2BE77937D5AF3CA02A62AC4DD@mbx03.exchange.lan>
Hello David,

Thank you very much! We are familiar with the menclose but not with the mlongdiv buecause that's MathML 3 and we do not implement it.



-----Mensaje original-----
De: David Carlisle [mailto:davidc@nag.co.uk] 
Enviado el: viernes, 13 de noviembre de 2009 13:00
Para: Daniel Marquès Solé
CC: www-math@w3.org
Asunto: Re: How do you divide?

>  In order to highlight the residue, we usually wrap it with some kind
>  of mark. See attached file. Is that feasible in MathML? 

You can use an menclose (I just tried it putting a circle round the
final 1, which worked fine).  But menclose doesn't, by default, have the
kind of diagonal line-half-circle-line annoation that you showed. But
if one of the standard menclose annotations is OK, or you are targetting
a specific renderer with an extended set, it should be feasible, yes.
Currently (I think) you'd have to just put the annotation on the final
digit, otherwise you will lose the column alignment, but so long as the
notation you choose is "mainly" to the right, perhaps this will be not
too bad a restriction?

the menclose notations can be one or more of:

("longdiv" | "actuarial" | "radical" | "box" | "roundedbox" | "circle" |
"left" | "right" | "top" | "bottom" | "updiagonalstrike" |
"downdiagonalstrike" | "verticalstrike" | "horizontalstrike" |
"madruwb") +  

If it is too much of a restriction then you always have the fallback of
using an  image included by mglyph with the mark and adjust its
position with mpadded ie essentially consider this final mark as
artwork to be "manually tweaked" into the right place relative to the


The Numerical Algorithms Group Ltd is a company registered in England
and Wales with company number 1249803. The registered office is:
Wilkinson House, Jordan Hill Road, Oxford OX2 8DR, United Kingdom.

This e-mail has been scanned for all viruses by Star. The service is
powered by MessageLabs. 
Received on Friday, 13 November 2009 12:32:01 UTC

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