XML technologies / MathML / Presentation elements / mtd

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

Syntax

<mtd>(child)*</mtd>

Description

The mtd element is used to represent a single cell in a table or matrix. It can occur only as a child element of an mtr or mlabeledtr element.

Attributes

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

Table: Attributes of mtd.

Attribute

Values

Default

rowalign

(top | bottom | center | baseline | axis)+

baseline

columnalign

(left | center | right)+

center

groupalign

groupalignment-list-list

{left}

rowspan

number

1

columnspan

number

1

These attributes have the following meaning:

  • rowalign, columnalign, and groupalign: have the same meaning as in the mtable element.

  • rowspan: allows a given cell in the table to occupy the specified number of rows.

  • columnspan: allows a given cell in the table to occupy the specified number of columns.

   

 

 

 

 

back to top