XML technologies / MathML / Presentation elements / mspace

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

Syntax

<mspace/>

Description

The mspace element is used to insert a blank space of arbitrary size. The size of the space inserted is determined by the value of its attributes. The default values of the attributes are chosen to have no effect on visual rendering. Hence, to insert any additional space, you must use this element with explicit attribute values specified.

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

Attribute

Values

Default

width

number h-unit | namedspace

0 em

height

number v-unit

0 ex

depth

number v-unit

0 ex

These attributes have the following meaning:

  • width: is the distance from the left edge of the bounding box that defines the space.

  • height: is the distance from the baseline to the top of the bounding box.

  • depth: is the distance from the baseline to the bottom of the bounding box.

   

 

 

 

 

back to top