References:
The primes should by default be postfix accents that are automatically raised.
It corresponds to what mathematical authors expect, and it corresponds to the rendering of these Unicode points in normal HTML text. (There is more on this below in connection with strings of length greater than 1 as the content of an mi element.)
But note: There are two LaTeX commands in which “prime” is a substring of the command name: \prime and \backprime (the latter is provided by the LaTeX package amssymb). When used directly, their display appears to be parallel to the display of an operator like \cdot or \osum, i.e., midline, and, for example, the LaTeX markup $f^{\prime}$ appears to be equivalent to the markup $f'$. The MathML specification should address the possibility of midline use for the Unicode entities prime and backprime as opposed to normal use as raised postfix and prefix accents.
Below here prime and double-prime accents are handled either using <msup> or using the CSS vertical-align property with value “super” along with the attribute specification form="postfix" in postfix operator markup on single prime (but not on double prime) accents.
This and this use ′ and ″ as postfix operators, while <msup> is used here: and .
These are in 1×1 mtables in displaymath:
In some user agents there are font problems when U-2032 and U-2033 are used directly rather than by entity reference.
First observe that in regular HTML text the characters ′, ″, ‴, and ⁗ should all function in normal parallel fashion (apart from temporary font set mismatching) as postfix text accents. Witness: H′, H″, H‴, H⁗.
Is there any reason why this behavior should not be preserved when these prime accents are used without other markup inside presentation math symbol indicators (<mi>)? That is if one can easily write, using the Armenian letter peh,
պ = (պ′, պ″)
in ordinary HTML text, why should things not flow easily, as the mathematical author would obviously hope, when պ′ or պ″ is the sole content of an mi as in:
Various symbols marked up only in mi are here: .
This involves inline use of two primes in an mo that is styled for raising, and this is similar but with two consecutive mos.
In connection with these examples, note that it is both Mozilla behavior and the long-standing TeX custom that a math symbol denoted with more than one alphabetical character is rendered upright (and, therefore, as if in the HTML namespace). When counting characters in a Unicode string for this purpose, only “word” characters, in the sense of regular expression terminology, should be used.