22.1.2.93 rSpRule
This element specifies the type of vertical spacing between columns in a matrix. The following table demonstrates possible values of rSpRule along with their definitions and examples.
Value
Line spacing between rows
Single line gap
1.5 line gap
Example (non-normative)
2 line gap
Exactly (rely on value of rGp, measured in points)
Multiple (rely on value of rGp, measured in lines)
Whether the element is absent or present without the val attribute, the default of the val attribute is 0 (or single line gap).
[Example:
<m:m>
<m:mPr>
<m:rSpRule m:val="2"/>
</m:mPr>
<m:mr>
<m:e>
<m:r>
<m:t>1</m:t>
</m:r>
</m:e>
<m:e>
<m:r>
<m:t>2</m:t>
</m:r>
</m:e>
</m:mr>
<m:mr>
<m:e>
<m:r>
<m:t>3</m:t>
</m:r>
</m:e>
<m:e>
<m:r>
<m:t>4</m:t>
</m:r>
</m:e>
</m:mr>
</m:m>
Because the row spacing rule is set to 2, there is twice as much space between the matrix rows as usual.
end example]
Attributes
val (Value)
Specifies the type of spacing between rows and/or columns. Possible values are 0, 1, 2, 3, or 4, whose definitions are contained in the following table:
Value
Column/Row Gap
Example
Single spacing gap (1 em)
1.5 spacing gap (1.5 ems)
2 spacing gap (2 ems)
Exactly (for columns, rely on value of cGp, measured in twips) (for rows, rely on value of
Attributes
[Note: The W3C XML Schema definition of this element’s content model (CT_SpacingRule) is located in A.6.1. end note]