mpadded

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

Syntax

<mpadded>(child)*</mpadded>

Description

The mpadded element is used to make precise adjustments to the position of an expression relative to its surrounding elements. It changes the position of the bounding box used for rendering its contents by an amount determined by its attributes.

Attributes

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

Table: Attributes of mpadded.

Attribute Values Default
width [+ | -] number | (%[pseudo-unit] | pseudo-unit | h-unit | namedspace) same as content
lspace [+ | -] number | (%[pseudo-unit] | pseudo-unit | h-unit) same as the element's content
height [+ | -] number | (%[pseudo-unit] | pseudo-unit | h-unit) same as the element's content
depth [+ | -] number | (%[pseudo-unit] | pseudo-unit | h-unit) same as the element's content

These attributes have the following meaning:

  • width: specifies the horizontal width of the bounding box.
  • lspace: specifies the amount of blank space inserted before the left edge of the bounding box.
  • height: specifies the vertical distance between the baseline and the top of the bounding box.
  • depth: specifies the vertical distance between the baseline and the bottom of the bounding box.

   

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