[Table of Contents] [docx version]

WordprocessingML Reference Material - Table of Contents

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: Consider a run which shall be positioning as superscript when displaying its contents. This requirement would be specified using the following WordprocessingML:

<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. end example]

Parent Elements

rPr2.7.8.1); rPr2.3.1.29); rPr2.5.2.26); rPr2.3.2.25); rPr2.3.2.26); rPr2.7.4.4); rPr2.3.1.30); rPr2.9.26); rPr2.5.2.27); rPr2.7.5.2)

 

Attributes

Description

val (Subscript/Superscript Value)

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

 

[Example: Consider a run which shall be positioning as superscript when displaying its contents. This requirement would be specified using the following WordprocessingML:

 

<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. end example]

 

The possible values for this attribute are defined by the ST_VerticalAlignRun simple type2.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>