MathProperties class

Office 2013 and later

Math Properties. When the object is serialized out as xml, its qualified name is m:mathPr.

Namespace:  DocumentFormat.OpenXml.Math
Assembly:  DocumentFormat.OpenXml (in DocumentFormat.OpenXml.dll)

No code example is currently available or this language may not be supported.

[ISO/IEC 29500-1 1st Edition]

mathPr (Math Properties)

This element specifies the document-level properties for all math in the document.

[Example:

<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="0"/>
  <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>

These are the default settings for the math properties element and its children.

end example]

Parent Elements

settings (§17.15.1.78)

Child Elements

Subclause

brkBin (Break on Binary Operators)

§22.1.2.16

brkBinSub (Break on Binary Subtraction)

§22.1.2.17

defJc (Default Justification)

§22.1.2.25

dispDef (Use Display Math Defaults)

§22.1.2.30

interSp (Inter-Equation Spacing)

§22.1.2.48

intLim (Integral Limit Locations)

§22.1.2.49

intraSp (Intra-Equation Spacing)

§22.1.2.50

lMargin (Left Margin)

§22.1.2.59

mathFont (Math Font)

§22.1.2.61

naryLim (n-ary Limit Location)

§22.1.2.71

postSp (Post-Paragraph Spacing)

§22.1.2.85

preSp (Pre-Paragraph Spacing)

§22.1.2.86

rMargin (Right Margin)

§22.1.2.90

smallFrac (Small Fraction)

§22.1.2.98

wrapIndent (Wrap Indent)

§22.1.2.120

wrapRight (Wrap Right)

§22.1.2.121

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

© ISO/IEC29500: 2008.

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.
Show: