mglyph

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

Syntax

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

Description

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.

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

 

 

 


 

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