22.1.2.65 mcJc

This element specifies the justification of a matrix column (or group of matrix columns) mc. When this element is omitted, the column is centered. Whether the element is absent or present without the val attribute, the default of the val attribute is center. The matrix below has three columns. The leftmost column is left-justified, 1 1 1 the rightmost column is right-justified, and the center column is centered: (23 23 23) 456 456 456

[Example: A simple example of this property in use is a 2x2 matrix with both columns centered:

<m:m>
  <m:mPr>
    <m:mcs>
      <m:mc>
        <m:mcPr>
          <m:count m:val="2"/>
          <m:mcJc m:val="center"/>
        </m:mcPr>
      </m:mc>
    </m:mcs>
  </m:mPr>
  <m:mr>
    <m:e>
      <m:r>
        <m:rPr>
          <m:scr m:val="roman"/>
          <m:sty m:val="p"/>
        </m:rPr>
        <m:t>1</m:t>
      </m:r >
    </m:e>
    <m:e>
      <m:r>
        <m:rPr>
          <m:scr m:val="roman"/>
          <m:sty m:val="p"/>
        </m:rPr>
        <m:t>2</m:t>
      </m:r >
    </m:e>
  </m:mr>
  <m:mr>
    <m:e>
      <m:r>
        <m:rPr>
          <m:scr m:val="roman"/>
          <m:sty m:val="p"/>
        </m:rPr>
        <m:t>3</m:t>
      </m:r >
    </m:e>
    <m:e>
      <m:r>
        <m:rPr>
          <m:scr m:val="roman"/>
          <m:sty m:val="p"/>
        </m:rPr>
        <m:t>4</m:t>
      </m:r >
    </m:e>
  </m:mr>
</m:m>

end example]

Attributes

val (Value)

Specifies the horizontal alignment of the parent element. Possible values are left,

<m:mcPr>
  <m:mcJc m:val="center"/>
  <m:count m:val="2"/>
</m:mcPr>

The possible values for this attribute are defined by the ST_XAlign simple type (22.9.2.18).

[Note: The W3C XML Schema definition of this element’s content model (CT_XAlign) is located in A.6.1. end note]

Last updated on