- From: Neil Soiffer <neil.soiffer@gmail.com>
- Date: Thu, 12 Nov 2009 07:40:28 -0800
- To: David Carlisle <davidc@nag.co.uk>
- Cc: dani@wiris.com, smwatt@gmail.com, www-math@w3.org
- Message-ID: <d98bce170911120740s7ae215a5y7e4ecf7f6f861792@mail.gmail.com>
Yes, David is correct, but here's the correct markup (it's even simpler): <mlongdiv longdivstyle="shortstackedrightright"> <mn> 435,3</mn> <mn> 3 </mn> <mn> 1306</mn> <msgroup position="1" shift="-1"> <mn> 10</mn> <mn> 16</mn> <msrow position='-1'> <mn> 1,0</mn> </msrow> <mn> 1</mn> </msgroup> </mlongdiv> Neil On Thu, Nov 12, 2009 at 5:36 AM, David Carlisle <davidc@nag.co.uk> wrote: > > > The whole list is automatically doubled if you omit the step of > > writing the "auxiliary products". For example, in Spain we do not use to > > write them. See attached image. So maybe it should be a way to specify > that. > > > Actually the mathml doesn't have any special markup for the stack of > calculation so you can I think just use shortstackedrightright > but omit the rows of the mlongdiv with mn corresponding to the products > and the mlines to get the layout that you show. > > so something like > > <mlongdiv longdivstyle="shortstackedrightright"> > <mn> 435,3</mn> > <mn> 3 </mn> > <mn> 1306</mn> > <msgroup position="2" shift="-1"> > <msgroup> > <mn> 10</mn> > </msgroup> > <msgroup> > <mn> 16</mn> > <mn> 1,0</mn> > </msgroup> > <msgroup position='-1'> > <mn> 1</mn> > </msgroup> > </msgroup> > </mlongdiv> > > > (untested as I haven't got an implementation of this yet) > > 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 Thursday, 12 November 2009 15:41:01 UTC