<vertAlign> (Subscript/Superscript Text)

This element specifies the alignment which shall be applied to the contents of this run in relation to the default appearance of the run's text. This allows the text to be repositioned as subscript or superscript without altering the font size of the run properties.

If this element is not present, the default value is to leave the formatting applied at previous level in the style hierarchy. If this element is never applied in the style hierarchy, then the text shall not be subscript or superscript relative to the default baseline location for the contents of this run.

example:
<w:rPr>
  <w:vertAlign w:val="superscript" />
</w:rPr>

The resulting run is positioned as superscript, therefore it is rendered in a smaller size above the default baseline location for the contents of the run. ]

Parent Elements

<rPr>2.7.8.1); <rPr>2.3.1.29); <rPr>2.5.2.26); <rPr>2.3.2.25); <rPr>2.3.2.26); <rPr>2.7.4.4); <rPr>2.3.1.30); <rPr>2.9.26); <rPr>2.5.2.27); <rPr>2.7.5.2)

Attributes

Description

<val> (Subscript/Superscript Value)

Specifies the type of vertical alignment applied to the contents of the current run.

<w:rPr>
  <w:vertAlign w:val="superscript" />
</w:rPr>

The value of the @val attribute is superscript, therefore the run's contents are rendered in a smaller size above the default baseline location for the contents of the run. ]

The possible values for this attribute are defined by the ST_VerticalAlignRun simple type (§2.18.110).

The following XML Schema fragment defines the contents of this element:

<complexType name="CT_VerticalAlignRun">
	<attribute name="val" type="ST_VerticalAlignRun" use="required"/>
</complexType>