Forum Bugs

Very large 'padding' in mfrac bevelled

DanielPharos
The 'padding' between the enumerator and denominator of a mfrac bevelled is quite large, making the result look quite bad. See the screenshot. The fraction should be drawn much smaller, preferably something like:
http://seriot.ch/images/latex/fractions.png (just a random image I found)

Here's code to reproduce (I'm using Prince 9 on Mac OS X 10.8):
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1 plus MathML 2.0//EN"
"http://www.w3.org/Math/DTD/mathml2/xhtml-math11-f.dtd">
<HTML xmlns="http://www.w3.org/1999/xhtml" lang="en" xml:lang="en">
<BODY>
<math xmlns="http://www.w3.org/1998/Math/MathML" display="block">
<mrow><mi>12345</mi><mfrac bevelled="true"><mn>1</mn><mn>4</mn></mfrac><mi>12345</mi></mrow>
</math>
</BODY>
</HTML>
  1. Screen Shot 2013-09-05 at 2.04.39 PM.png8.6 kB
mikeday
For simple numeric fractions it might be better to use the precomposed Unicode characters, eg. U+BC for one quarter, or an OpenType font that supports the "frac" feature. We do plan to improve MathML rendering, but our focus is on JavaScript DOM support for the time being.
DanielPharos
Ah, that Unicode character works fine! In fact, the named version of it (&frac14;) works fine too, thanks!