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


<mglyph fontfamily="..." index="..." alt="..."/>


The mglyph element is provided as an extension mechanism to allow arbitrary symbols and other extended characters to be displayed. It is displayed as a specific glyph in a specific font, the values of which are determined by its attributes.


This element accepts the nine attributes common to all token elements. In addition, it accepts the three attributes shown in the following table.

Table: Attributes of mglyph.

Attribute Values Default
fontfamily string | css-fontfamily required
index integer required
alt string required

These attributes have the following meaning:

  • fontfamily: specifies the font in which the desired glyph appears.
  • index: is an integer that specifies the position of the desired glyph in the font.
  • alt: specifies some alternative text that is displayed as a fallback if the glyph specified by the other two attributes is not found.


<< 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