L.6.1.11 Matrix Object

The Matrix object consists of one or more elements laid out in one or more rows and one or more 1 2 1 columns (delimiters not included). Examples include and [ ]. (3 4) 1 5 6

Example XML (left matrix):

<m:oMathPara>
  <m:oMath>
    <m:d>
      <m:e>
        <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: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:mr>
            <m:e>
              <m:r>
                <m:t>5</m:t>
              </m:r>
            </m:e>
            <m:e>
              <m:r>
                <m:t>6</m:t>
              </m:r>
            </m:e>
          </m:mr>
        </m:m>
      </m:e>
    </m:d>
  </m:oMath>
</m:oMathPara>

The entire matrix can be aligned, with respect to the surrounding text, at the center, with the top row, or with the bottom row. This property is defined as baseJc. Spacing between columns can be defined using cGp, cGpRule, and cSp. Column Gap refers to the space between the end of one column and the start of the next; column spacing refers to the space between two corresponding edges of adjacent columns.

image

Row spacing can also be defined using rSp and rSpRule. Row spacing is defined as the distance between baselines on adjacent matrix rows:

image

Finally, a matrix can have hidden placeholders (hidePlc). The identity matrix above has hidden

image

placeholders, while the following matrix has placeholders showing:

Last updated on