pub struct Constants<'a> { /* private fields */ }
Expand description

Implementations

Percentage of scaling down for level 1 superscripts and subscripts.

Percentage of scaling down for level 2 (scriptScript) superscripts and subscripts.

Minimum height required for a delimited expression (contained within parentheses, etc.) to be treated as a sub-formula.

Minimum height of n-ary operators (such as integral and summation) for formulas in display mode (that is, appearing as standalone page elements, not embedded inline within text).

White space to be left between math formulas to ensure proper line spacing.

Axis height of the font.

Maximum (ink) height of accent base that does not require raising the accents.

Maximum (ink) height of accent base that does not require flattening the accents.

The standard shift down applied to subscript elements.

Maximum allowed height of the (ink) top of subscripts that does not require moving subscripts further down.

Minimum allowed drop of the baseline of subscripts relative to the (ink) bottom of the base.

Standard shift up applied to superscript elements.

Standard shift of superscripts relative to the base, in cramped style.

Minimum allowed height of the (ink) bottom of superscripts that does not require moving subscripts further up.

Maximum allowed drop of the baseline of superscripts relative to the (ink) top of the base.

Minimum gap between the superscript and subscript ink.

The maximum level to which the (ink) bottom of superscript can be pushed to increase the gap between superscript and subscript, before subscript starts being moved down.

Extra white space to be added after each subscript and superscript.

Minimum gap between the (ink) bottom of the upper limit, and the (ink) top of the base operator.

Minimum distance between baseline of upper limit and (ink) top of the base operator.

Minimum gap between (ink) top of the lower limit, and (ink) bottom of the base operator.

Minimum distance between baseline of the lower limit and (ink) bottom of the base operator.

Standard shift up applied to the top element of a stack.

Standard shift up applied to the top element of a stack in display style.

Standard shift down applied to the bottom element of a stack.

Standard shift down applied to the bottom element of a stack in display style.

Minimum gap between (ink) bottom of the top element of a stack, and the (ink) top of the bottom element.

Minimum gap between (ink) bottom of the top element of a stack, and the (ink) top of the bottom element in display style.

Standard shift up applied to the top element of the stretch stack.

Standard shift down applied to the bottom element of the stretch stack.

Minimum gap between the ink of the stretched element, and the (ink) bottom of the element above.

Minimum gap between the ink of the stretched element, and the (ink) top of the element below.

Standard shift up applied to the numerator.

Standard shift up applied to the numerator in display style.

Standard shift down applied to the denominator.

Standard shift down applied to the denominator in display style.

Minimum tolerated gap between the (ink) bottom of the numerator and the ink of the fraction bar.

Minimum tolerated gap between the (ink) bottom of the numerator and the ink of the fraction bar in display style.

Thickness of the fraction bar.

Minimum tolerated gap between the (ink) top of the denominator and the ink of the fraction bar.

Minimum tolerated gap between the (ink) top of the denominator and the ink of the fraction bar in display style.

Horizontal distance between the top and bottom elements of a skewed fraction.

Vertical distance between the ink of the top and bottom elements of a skewed fraction.

Distance between the overbar and the (ink) top of he base.

Thickness of overbar.

Extra white space reserved above the overbar.

Distance between underbar and (ink) bottom of the base.

Thickness of underbar.

Extra white space reserved below the underbar.

Space between the (ink) top of the expression and the bar over it.

Space between the (ink) top of the expression and the bar over it.

Thickness of the radical rule.

Extra white space reserved above the radical.

Extra horizontal kern before the degree of a radical, if such is present.

Negative kern after the degree of a radical, if such is present.

Height of the bottom of the radical degree, if such is present, in proportion to the ascender of the radical sign.

Trait Implementations

Returns a copy of the value. Read more
Performs copy-assignment from source. Read more
Formats the value using the given formatter. Read more

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more
Immutably borrows from an owned value. Read more
Mutably borrows from an owned value. Read more

Returns the argument unchanged.

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

The resulting type after obtaining ownership.
Creates owned data from borrowed data, usually by cloning. Read more
Uses borrowed data to replace owned data, usually by cloning. Read more
The type returned in the event of a conversion error.
Performs the conversion.
The type returned in the event of a conversion error.
Performs the conversion.