MathConstant Enum

The constants of mathematical layout: OpenType specification, "MATH - The Mathematical Typesetting Table", "MathConstants table", in the order of the table.

public enum MathConstant

Fields

NameValueDescription
ScriptPercentScaleDown0The percentage of scaling down for the level 1 superscripts and subscripts.
ScriptScriptPercentScaleDown1The percentage of scaling down for the level 2 (script script) superscripts and subscripts.
DelimitedSubFormulaMinHeight2The minimum height required for a delimited expression to be treated as a sub-formula.
DisplayOperatorMinHeight3The minimum height of n-ary operators (such as integral and summation) for formulas in display mode.
MathLeading4The white space to be left between math formulas to ensure proper line spacing.
AxisHeight5The axis height of the font: the height of the center of fractions, of the minus sign and of the stretched delimiters.
AccentBaseHeight6The maximum height of a base that does not require raising its accents.
FlattenedAccentBaseHeight7The maximum height of a base that does not require flattening its accents.
SubscriptShiftDown8The standard shift down applied to subscript elements.
SubscriptTopMax9The maximum allowed height of the top of a subscript that does not require moving it down.
SubscriptBaselineDropMin10The minimum allowed drop of the baseline of a subscript relative to the bottom of the base.
SuperscriptShiftUp11The standard shift up applied to superscript elements.
SuperscriptShiftUpCramped12The standard shift up applied to superscript elements when the current style is cramped.
SuperscriptBottomMin13The minimum allowed height of the bottom of a superscript that does not require moving it up.
SuperscriptBaselineDropMax14The maximum allowed drop of the baseline of a superscript relative to the top of the base.
SubSuperscriptGapMin15The minimum gap between the superscript and the subscript ink.
SuperscriptBottomMaxWithSubscript16The maximum height of the bottom of a superscript when the subscript is moved down to make room for it.
SpaceAfterScript17The extra white space added to the right of a subscript or superscript.
UpperLimitGapMin18The minimum gap between the bottom of an upper limit and the top of the base operator.
UpperLimitBaselineRiseMin19The minimum distance between the baseline of an upper limit and the top of the base operator.
LowerLimitGapMin20The minimum gap between the top of a lower limit and the bottom of the base operator.
LowerLimitBaselineDropMin21The minimum distance between the baseline of a lower limit and the bottom of the base operator.
StackTopShiftUp22The standard shift up applied to the top element of a stack.
StackTopDisplayStyleShiftUp23The standard shift up applied to the top element of a stack in display style.
StackBottomShiftDown24The standard shift down applied to the bottom element of a stack.
StackBottomDisplayStyleShiftDown25The standard shift down applied to the bottom element of a stack in display style.
StackGapMin26The minimum gap between the bottom of the top element of a stack and the top of the bottom element.
StackDisplayStyleGapMin27The minimum gap between the bottom of the top element of a stack and the top of the bottom element in display style.
StretchStackTopShiftUp28The standard shift up applied to the top element of a stretch stack.
StretchStackBottomShiftDown29The standard shift down applied to the bottom element of a stretch stack.
StretchStackGapAboveMin30The minimum gap between the ink of the stretched element and the ink bottom of the element above.
StretchStackGapBelowMin31The minimum gap between the ink of the stretched element and the ink top of the element below.
FractionNumeratorShiftUp32The standard shift up applied to the numerator.
FractionNumeratorDisplayStyleShiftUp33The standard shift up applied to the numerator in display style.
FractionDenominatorShiftDown34The standard shift down applied to the denominator.
FractionDenominatorDisplayStyleShiftDown35The standard shift down applied to the denominator in display style.
FractionNumeratorGapMin36The minimum tolerated gap between the ink bottom of the numerator and the ink of the fraction bar.
FractionNumDisplayStyleGapMin37The minimum tolerated gap between the ink bottom of the numerator and the ink of the fraction bar in display style.
FractionRuleThickness38The thickness of the fraction bar.
FractionDenominatorGapMin39The minimum tolerated gap between the ink top of the denominator and the ink of the fraction bar.
FractionDenomDisplayStyleGapMin40The minimum tolerated gap between the ink top of the denominator and the ink of the fraction bar in display style.
SkewedFractionHorizontalGap41The horizontal distance between the top and bottom elements of a skewed fraction.
SkewedFractionVerticalGap42The vertical distance between the ink of the top and bottom elements of a skewed fraction.
OverbarVerticalGap43The distance between the overbar and the ink top of the base.
OverbarRuleThickness44The thickness of the overbar.
OverbarExtraAscender45The extra white space reserved above the overbar.
UnderbarVerticalGap46The distance between the underbar and the ink bottom of the base.
UnderbarRuleThickness47The thickness of the underbar.
UnderbarExtraDescender48The extra white space reserved below the underbar.
RadicalVerticalGap49The space between the ink top of the radicand and the radical bar.
RadicalDisplayStyleVerticalGap50The space between the ink top of the radicand and the radical bar in display style.
RadicalRuleThickness51The thickness of the radical bar.
RadicalExtraAscender52The extra white space reserved above the radical bar.
RadicalKernBeforeDegree53The extra horizontal kern before the degree of a radical.
RadicalKernAfterDegree54The negative kern after the degree of a radical.
RadicalDegreeBottomRaisePercent55The height of the bottom of the degree of a radical, as a percentage of the height of the radical sign.