PeachDrawing.Text
PeachDrawing.Text.OpenType
MathConstantsTable Class
The named constants a math layout algorithm reads to position fractions, radicals, scripts, stacks and limits (the
MathConstants table).
public sealed class MathConstantsTable
Inheritance System.Object → MathConstantsTable
Remarks
Every value is in design units, apart from the percentages, so a length at a size is the value times the size divided by UnitsPerEm. The values are those of the table’s records; the device tables that adjust a value at particular pixel sizes are not read.
| Properties | |
|---|---|
| AccentBaseHeight | The tallest base an accent is placed on without being raised: on a taller base the accent moves up with it. |
| AxisHeight | The height of the math axis above the baseline: the line that fraction bars and operators are centred on. |
| DelimitedSubFormulaMinHeight | The least height a delimited expression must have to be treated as a subformula. |
| DisplayOperatorMinHeight | The least height of an n-ary operator (an integral or a summation) in display style. |
| FlattenedAccentBaseHeight | The least height of a base for which the flattened form of an accent is used. |
| FractionDenomDisplayStyleGapMin | The least gap between the fraction rule and the top of a denominator in display style. |
| FractionDenominatorDisplayStyleShiftDown | The standard distance a denominator is shifted down in display style. |
| FractionDenominatorGapMin | The least gap between the fraction rule and the top of a denominator. |
| FractionDenominatorShiftDown | The standard distance a denominator is shifted down. |
| FractionNumDisplayStyleGapMin | The least gap between the bottom of a numerator and the fraction rule in display style. |
| FractionNumeratorDisplayStyleShiftUp | The standard distance a numerator is shifted up in display style. |
| FractionNumeratorGapMin | The least gap between the bottom of a numerator and the fraction rule. |
| FractionNumeratorShiftUp | The standard distance a numerator is shifted up. |
| FractionRuleThickness | The thickness of the fraction rule. |
| LowerLimitBaselineDropMin | The least distance between the baseline of a lower limit and the bottom of its base operator. |
| LowerLimitGapMin | The least gap between the top of a lower limit and the bottom of its base operator. |
| MathLeading | The white space to leave between formulas so that lines keep a proper spacing. |
| OverbarExtraAscender | The extra white space reserved above an overbar. |
| OverbarRuleThickness | The thickness of an overbar. |
| OverbarVerticalGap | The distance between an overbar and the top of its base. |
| RadicalDegreeBottomRaisePercent | The height of the bottom of the degree of a radical as a percentage of the ascent of the radical sign. |
| RadicalDisplayStyleVerticalGap | The space between the top of the radicand and the radical rule, in display style. |
| RadicalExtraAscender | The extra white space reserved above a radical. |
| RadicalKernAfterDegree | The kern after the degree of a radical, which is usually negative. |
| RadicalKernBeforeDegree | The extra white space reserved before the degree of a radical. |
| RadicalRuleThickness | The thickness of the radical rule. |
| RadicalVerticalGap | The space between the top of the radicand and the radical rule, in text style. |
| ScriptPercentScaleDown | The percentage a level 1 superscript or subscript is scaled down to, such as 80. |
| ScriptScriptPercentScaleDown | The percentage a level 2 superscript or subscript is scaled down to, such as 60. |
| SkewedFractionHorizontalGap | The horizontal distance between the top and bottom elements of a skewed fraction. |
| SkewedFractionVerticalGap | The vertical distance between the ink of the top and bottom elements of a skewed fraction. |
| SpaceAfterScript | The extra white space added after each subscript and superscript. |
| StackBottomDisplayStyleShiftDown | The standard distance the bottom element of a stack is shifted down in display style. |
| StackBottomShiftDown | The standard distance the bottom element of a stack is shifted down. |
| StackDisplayStyleGapMin | The least gap between the elements of a stack in display style. |
| StackGapMin | The least gap between the bottom of the top element of a stack and the top of the bottom element. |
| StackTopDisplayStyleShiftUp | The standard distance the top element of a stack is shifted up in display style. |
| StackTopShiftUp | The standard distance the top element of a stack is shifted up. |
| StretchStackBottomShiftDown | The standard distance the bottom element of a stretch stack is shifted down. |
| StretchStackGapAboveMin | The least gap between the ink of the stretched element of a stretch stack and the bottom of the element above it. |
| StretchStackGapBelowMin | The least gap between the ink of the stretched element of a stretch stack and the top of the element below it. |
| StretchStackTopShiftUp | The standard distance the top element of a stretch stack is shifted up. |
| SubscriptBaselineDropMin | The least drop of a subscript’s baseline below the bottom of its base. |
| SubscriptShiftDown | The standard distance a subscript is shifted down from the baseline. |
| SubscriptTopMax | The greatest height of the top of a subscript that does not need moving further down. |
| SubSuperscriptGapMin | The least gap between the bottom of a superscript and the top of a subscript when both are present. |
| SuperscriptBaselineDropMax | The greatest drop of a superscript’s baseline below the top of its base. |
| SuperscriptBottomMaxWithSubscript | The greatest height the bottom of a superscript is pushed up to open a gap from a subscript, before the subscript starts moving down. |
| SuperscriptBottomMin | The least height of the bottom of a superscript that does not need moving further up. |
| SuperscriptShiftUp | The standard distance a superscript is shifted up from the baseline. |
| SuperscriptShiftUpCramped | The standard distance a superscript is shifted up in cramped style. |
| UnderbarExtraDescender | The extra white space reserved below an underbar. |
| UnderbarRuleThickness | The thickness of an underbar. |
| UnderbarVerticalGap | The distance between an underbar and the bottom of its base. |
| UpperLimitBaselineRiseMin | The least distance between the baseline of an upper limit and the top of its base operator. |
| UpperLimitGapMin | The least gap between the bottom of an upper limit and the top of its base operator. |