22.1.2.61 mathFont

This element specifies the default math font to be used in the document. If this element is omitted, font substitution (17.8.2) should be used to determine the most appropriate font for use throughout the document. [Example: The XML containing this property is:

<m:mathPr>
  <m:mathFont m:val="Cambria Math"/>
  <m:brkBin m:val="before"/>
  <m:brkBinSub m:val="--"/>
  <m:smallFrac m:val="0"/>
  <m:dispDef/>
  <m:lMargin m:val="1440"/>
  <m:rMargin m:val="0"/>
  <m:defJc m:val="centerGroup"/>
  <m:wrapIndent m:val="1440"/>
  <m:intLim m:val="subSup"/>
  <m:naryLim m:val="undOvr"/>
</m:mathPr>

end example]

[Example:

Given the following equation:

and the following XML:

<m:mathFont m:val="Cambria Math"/>

Because the document option for Math font is set to the mathematically enabled font Cambria Math, Math is formatted with that font.

end example]

Attributes

val (value)

Specifies the default math font to be used in the document.

The possible values for this attribute are defined by the ST_String simple type (22.9.2.13).

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

Last updated on