XML-Technologien / MathML / Presentation elements / msubsup

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

Syntax

<msubsup>base subscript superscript</msubsup>

Description

The msubsup element is used for representing a subscript attached to a base.

By default, the msubsup element automatically increments scriptlevel by 1 and sets displaystyle to false in both subscript and superscript but leaves both attributes unchanged within base.

Attributes

This element has the two attributes shown in the following table.

Table: Attributes of msubsup.

Attribute

Values

Default

subscriptshift

number v-unit

automatic

superscriptshift

number v-unit

automatic

These attributes have the following meaning:

  • subscriptshift: specifies the minimum amount by which the subscript should be shifted down relative to the baseline of the base expression.

  • superscriptshift: specifies the minimum amount by which the superscript should be shifted up relative to the baseline of the base expression.

   

 

 

 

 

nach oben