W3C home > Mailing lists > Public > www-math@w3.org > January 2011

RE: What is "f'(x)" as MathML?

From: J.Fine <j.fine@open.ac.uk>
Date: Fri, 21 Jan 2011 10:39:46 +0000
To: 'Urs Holzer' <urs@andonyar.com>, "'www-math@w3.org'" <www-math@w3.org>
Message-ID: <A969C9F865F27B428A8E60E39D3CED154AC1D83ECD@KIELDERCMS1.open.ac.uk>
Thank you very much, Urs, for this reply, particularly the last paragraph.  And thanks also to David and Daniel.

I consider my question to be answered.  However, I am very interested in any other examples where the 'wrong' markup is required to get the 'correct' output in major web browsers.

Jonathan

> -----Original Message-----
> From: www-math-request@w3.org
> [mailto:www-math-request@w3.org] On Behalf Of Urs Holzer
> Sent: 21 January 2011 10:32
> To: 'www-math@w3.org'
> Subject: Re: What is "f'(x)" as MathML?
>
> Hi
>
> > Forgive me for asking a question that might already have been
> > answered, but what is the 'correct' translation of the TeX notation
> > mathematics "f'(x)" into presentation MathML?
>
> Okay, just wanted to answer but David was faster.  What he
> wrote is equivalent to what I think is correct:
>
> <math>
>   <mrow>
>     <msup>
>       <mi>f</mi>
>       <mo>&#x2032;</mo>
>     </msup>
>     <mo>&#x2061;</mo>
>     <mrow>
>       <mo>(</mo>
>       <mi>x</mi>
>       <mo>)</mo>
>     </mrow>
>   </mrow>
> </math>
>
> The invisible function application U+2032 and the prime
> U+2061 are documented here:
> http://www.unicode.org/charts/PDF/U2000.pdf
>
> Note that as far as I have seen it on this mailinglist (I am
> not part of the working group) you should use msup to place
> the accent, even if some MathML renderers make the prime too small.
>
> Greetings
> Urs
>
>

-- 
The Open University is incorporated by Royal Charter (RC 000391), an exempt charity in England & Wales and a charity registered in Scotland (SC 038302).
Received on Friday, 21 January 2011 10:41:19 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Friday, 21 January 2011 10:41:20 GMT