2.7.17 DopMth

Office

The DopMth structure specifies document-wide math settings.


0


1


2


3


4


5


6


7


8


9

1
0


1


2


3


4


5


6


7


8


9

2
0


1


2


3


4


5


6


7


8


9

3
0


1

A

B

C

D

E

F

G

H

I

reserved2

ftcMath

dxaLeftMargin

...

dxaRightMargin

...

empty1

...

empty2

...

empty3

...

empty4

...

dxaIndentWrapped

...

A - mthbrk (2 bits): Specifies how to break on binary operators as specified in [ECMA-376] Part 4, Section 7.1.2.16 brkBin. This MUST be one of the following values.

Value

Meaning

0 (default)

Before.

In line wrapping, breaks occur on binary operators, so the binary operator appears before the break.

1

After.

In line wrapping, breaks occur on binary operators, so the binary operator appears after the break.

2

Repeat.

In line wrapping, breaks occur on binary operators, so the binary operator appears on both sides of the break.

B - mthbrkSub (2 bits): Specifies how to break on binary subtraction when mthbrk is 2 as specified in [ECMA-376] Part 4, Section 7.1.2.17 brkBinSub. This value MUST be one of the following.

Value

Meaning

0 (default)

Minus Minus.

Repetition of a subtraction sign after a line-wrapping break is minus on the first and second lines.

1

Plus Minus.

Repetition of a subtraction sign after a line-wrapping break is plus on the first line and minus on the second line.

2

Minus Plus.

Repetition of a subtraction sign after a line-wrapping break is minus on the first line and plus on the second line.

C - mthbpjc (3 bits): Specifies the default justification of math as specified in [ECMA-376] Part 4, Section 7.1.2.25 defJc. This MUST be one of the following values.

Value

Meaning

1 (default)

Centered as Group.

Justifies equations with respect to each other and centers the group of equations with respect to the page.

2

Center.

Centers each equation individually with respect to margins.

3

Left.

Left justification of the paragraph containing only math.

4

Right.

Right justification of the paragraph containing only math.

D - reserved1 (1 bit): This value is undefined and MUST be ignored.

E - fMathSmallFrac (1 bit): Specifies whether to use a reduced fraction size when displaying math that contains fractions as specified in [ECMA-376] Part 4, Section 7.1.2.98 smallFrac. By default, this value is 0.

F - fMathIntLimUndOvr (1 bit): Specifies that the default placement of integral limits when converting from a linear format is directly above and below the base as opposed to on the side of the base as specified in [ECMA-376] Part 4, Section 7.1.2.49 intLim. By default, this value is 0.

G - fMathNaryLimUndOvr (1 bit): Specifies that the default placement of n-ary limits other than integrals is directly above and below the base, as opposed to on the side of the base, as specified in [ECMA-376] Part 4, Section 7.1.2.71 naryLim. By default, this value is 0.

H - fMathWrapAlignLeft (1 bit): Specifies the left justification of the wrapped line of an equation as opposed to right justification of the wrapped line of an equation as specified in [ECMA-376] Part 4, Section 7.1.2.121 wrapRight where the meaning is the opposite of fMathWrapAlignLeft. By default, this value is 1.

I - fMathUseDispDefaults (1 bit): Specifies whether to use display math defaults as specified in [ECMA-376] Part 4, Section 7.1.2.30 dispDef. By default, this value is 1.

reserved2 (19 bits): This value MUST be zero, and MUST be ignored.

ftcMath (2 bytes): An index into an SttbfFfn structure that specifies the font to use for new equations in the document. The default font is Cambria Math.

dxaLeftMargin (4 bytes): A signed integer, in twips, that specifies the left margin for math. MUST be greater than or equal to 0 and less than or equal to 31680 as specified in [ECMA-376] Part 4, Section 7.1.2.59 lMargin. By default, this value is 0.

dxaRightMargin (4 bytes):  A signed integer in twips that specifies the right margin for math. This value MUST be greater than or equal to 0 and less than or equal to 31680, as specified in [ECMA-376] Part 4, Section 7.1.2.90 rMargin. By default, this value is 0.

empty1 (4 bytes):  This value MUST be 120, and MUST be ignored.

empty2 (4 bytes):  This value MUST be 120, and MUST be ignored.

empty3 (4 bytes): This value MUST be zero, and MUST be ignored.

empty4 (4 bytes): This value MUST be zero, and MUST be ignored.

dxaIndentWrapped (4 bytes): A signed integer, in twips, that specifies the indentation of the wrapped line of an equation. This value MUST be greater than or equal to 0 and less than or equal to 31680 as specified in [ECMA-376] Part 4, Section 7.1.2.120 wrapIndent. By default, this value is 1440.

Show: