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

Re: How do you divide?

From: David Carlisle <davidc@nag.co.uk>
Date: Fri, 13 Nov 2009 12:00:20 GMT
Message-Id: <200911131200.nADC0KBR010241@edinburgh.nag.co.uk>
To: dani@wiris.com
Cc: www-math@w3.org

>  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:27:39 UTC

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