[Table of Contents] [docx version]
WordprocessingML Reference Material - Table of Contents
position (Vertically Raised or Lowered Text)
This element specifies the amount by which text shall be raised or lowered for this run in relation to the default baseline of the surrounding non-positioned text. This allows the text to be repositioned without altering the font size of the contents.
If the val attribute is positive, then the parent run shall be raised above the baseline of the surrounding text by the specified number of half-points. If the val attribute is negative, then the parent run shall be lowered below the baseline of the surrounding text by the specified number of half-points.
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 raised or lowered relative to the default baseline location for the contents of this run.
[Example: Consider a run which shall be positioned 12 points above the default baseline location when displaying its contents. This requirement would be specified using the following WordprocessingML:
<w:rPr>
<w:position w:val="24" />
</w:rPr>
The resulting run is positioned 24 half-points above the default baseline location because the contents of the val attribute are positive. end example]
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 (Signed Half-Point Measurement) |
Specifies a positive or negative measurement in half-points (1/144 of an inch).
The contents of this attribute value are interpreted based on the context of the parent XML element.
[Example: Consider the following WordprocessingML fragment:
<w:rPr> <w:position w:val="-12" /> </w:rPr>
In this case, the value in the val attribute is amount by which the specified run shall be raised or lowered compared to the baseline of the surrounding text.
In all cases, the value is interpreted in the context of the parent element. end example]
The possible values for this attribute are defined by the ST_SignedHpsMeasure simple type (§2.18.87). |
The following XML Schema fragment defines the contents of this element:
<complexType name="CT_SignedHpsMeasure">
<attribute name="val" type="ST_SignedHpsMeasure" use="required"/>
</complexType>