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

Re: How do you divide?

From: Neil Soiffer <neil.soiffer@gmail.com>
Date: Fri, 13 Nov 2009 08:36:56 -0800
Message-ID: <d98bce170911130836y159f7eb6ha0d153f20067b2b2@mail.gmail.com>
To: David Carlisle <davidc@nag.co.uk>
Cc: dani@wiris.com, www-math@w3.org
I would recommend putting the mark on a row by itself since it appears to be
much wider than a column.  You could put it in an mtext (and use mglyph or a
char) so that it overflows the column boundary.

Neil Soiffer
Senior Scientist
Design Science, Inc.
www.dessci.com
~ Makers of MathType, MathFlow, MathPlayer, MathDaisy, WebEQ, Equation
Editor ~



On Fri, Nov 13, 2009 at 4:00 AM, David Carlisle <davidc@nag.co.uk> wrote:

>
>
> >  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
> calculation.
>
>
> David
>
>
>
> ________________________________________________________________________
> 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 16:45:26 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Saturday, 20 February 2010 06:13:06 GMT