(Excerpt from "The MathML Handbook" by Pavi Sandhu)


<mfrac>numerator denominator</mfrac>


The mfrac element is used to display fractions or fraction-like notation, such as binomial coefficients.


This element accepts the four attributes shown in the following table.

Table: Attributes of mfrac.

Attribute Values Default
linethickness number [v-unit] | thin | medium | thick axis
numalign left | center | right center
denomalign (left | center | right)+ center
bevelled true | false false

These attributes have the following meaning:

  • linethickness: specifies the thickness of the line that separates the numerator and denominator.
  • numalign: specifies the horizontal alignment of the numerator.
  • denomalign: specifies the horizontal alignment of the denominator.
  • bevelled: when false, the numerator is shown above the denominator with a horizontal line between them; when true, a slightly raised numerator is shown to the left of a slightly lowered denominator with a diagonal line between them.


<< back next >>




Tipp der data2type-Redaktion:
Zum Thema MathML bieten wir auch folgende Schulungen zur Vertiefung und professionellen Fortbildung an:


Copyright © CHARLES RIVER MEDIA, INC., Massachusetts (USA) 2003
Printing of the online version is permitted exclusively for private use. Otherwise this chapter from the book "The MathML Handbook" is subject to the same provisions as those applicable for the hardcover edition: The work including all its components is protected by copyright. All rights reserved, including reproduction, translation, microfilming as well as storage and processing in electronic systems.

CHARLES RIVER MEDIA, INC., 20 Downer Avenue, Suite 3, Hingham, Massachusetts 02043, United States of America