# RE: Questions about Elementary Math

From: Grégory Pakosz <gpakosz@myscript.com>
Date: Wed, 25 Jun 2014 15:32:11 +0000
To: Daniel Marques <dani@wiris.com>, David Carlisle <davidc@nag.co.uk>, "www-math@w3.org" <www-math@w3.org>
Message-ID: <1403710330810.20663@myscript.com>
David,

We're using the array environment (\\begin{array}) and we work around that.

The tabular environment could have been used as well.

Beside that, to my knowledge there's nothing to display elementary math with LaTeX but I'm not an expert.

Gregory

________________________________
From: Daniel Marques <dani@wiris.com>
Sent: Wednesday, June 25, 2014 5:17 PM
To: David Carlisle; Grégory Pakosz; www-math@w3.org
Subject: RE: Questions about Elementary Math

A little bit out of topic, but just wandering whether exists a proper LaTeX package to render "elementary math".

Dani

From: David Carlisle [mailto:davidc@nag.co.uk<mailto:davidc@nag.co.uk>]
Sent: miércoles, 25 de junio de 2014 17:11
To: Grégory Pakosz; 'www-math@w3.org<mailto:www-math@w3.org>'
Subject: Re: Questions about Elementary Math

On 24/06/2014 15:56, Grégory Pakosz wrote:

Hello,

I have two questions regarding elementary math as specified by MathML 3.0:

1) Is there a renderer out there that supports rendering additions, substractions, multiplications, and divisions with <mstack>, <mscarries>, and <mlongdiv> ? I failed to find one so far (downgrading IE to IE9 + installing a plugin isn't really future proof).

Possibly currently only MathPlayer supports it natively, and as you indicate that is not available in current IE
however it's possible to transform the markup to mathml2 for rendering in other clients.

The MathJax "content mathml" extension and the firefox  mathml-mml3ff addon both work by using some XSLT of mine
to translate the markup to mathml2 mtable.

Most of that content mathml to presentation transformation has also been re-encoded in javascript to avoid the XSLT stage
(which is very slow in chrome) although not currently the elementary math part, that shouldn't be hard to add, given some time.

2) Despite being XML, <mstack> relies on children order instead of named elements like <dividend>, <divisor>, <quotient>. What's the rationale behind this choice?

Positional children are used quite a lot in the mathml design: mfrac msub etc  also do not have named arguments.

Thanks you,

Gregory

David

Received on Wednesday, 25 June 2014 15:32:43 UTC

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