Expand description
Mathematical formulas.
Re-exports§
pub use self::accent::Accent;
pub use self::accent::AccentElem;
Modules§
Structs§
- Align
Point Elem - A math alignment point:
&
,&&
. - Attach
Elem - A base with optional attachments.
- Augment
- Parameters specifying how augmentation lines should be drawn on a matrix.
- Augment
Offsets - The offsets at which augmentation lines should be drawn on a matrix.
- Binom
Elem - A binomial expression.
- Cancel
Elem - Displays a diagonal line over a part of an equation.
- Cases
Elem - A case distinction.
- Class
Elem - Forced use of a certain math class.
- Delimiter
- A delimiter is a single character that is used to delimit a matrix, vector or cases. The character has to be a Unicode codepoint tagged as a math “opening”, “closing” or “fence”.
- Delimiter
Pair - A pair of delimiters (one closing, one opening) used for matrices, vectors and cases.
- Equation
Elem - A mathematical equation.
- Frac
Elem - A mathematical fraction.
- Limits
Elem - Forces a base to display attachments as limits.
- LrElem
- Scales delimiters.
- MatElem
- A matrix.
- MidElem
- Scales delimiters vertically to the nearest surrounding
{lr()}
group. - OpElem
- A text operator in an equation.
- Overbrace
Elem - A horizontal brace over content, with an optional annotation above.
- Overbracket
Elem - A horizontal bracket over content, with an optional annotation above.
- Overline
Elem - A horizontal line over content.
- Overparen
Elem - A horizontal parenthesis over content, with an optional annotation above.
- Overshell
Elem - A horizontal tortoise shell bracket over content, with an optional annotation above.
- Primes
Elem - Grouped primes.
- Root
Elem - A general root.
- Scripts
Elem - Forces a base to display attachments as scripts.
- Stretch
Elem - Stretches a glyph.
- Underbrace
Elem - A horizontal brace under content, with an optional annotation below.
- Underbracket
Elem - A horizontal bracket under content, with an optional annotation below.
- Underline
Elem - A horizontal line under content.
- Underparen
Elem - A horizontal parenthesis under content, with an optional annotation below.
- Undershell
Elem - A horizontal tortoise shell bracket under content, with an optional annotation below.
- VecElem
- A column vector.
Enums§
- Cancel
Angle - Defines the cancel line.
- Math
Size - The size of elements in an equation.
- Math
Variant - A mathematical style variant, as defined by Unicode.
Constants§
Traits§
- Mathy
- Trait for recognizing math elements and auto-wrapping them in equations.
Functions§
- abs
- Takes the absolute value of an expression.
- bb
- Blackboard bold (double-struck) font style in math.
- bold
- Bold font style in math.
- cal
- Calligraphic font style in math.
- ceil
- Ceils an expression.
- display
- Forced display style in math.
- floor
- Floors an expression.
- frak
- Fraktur font style in math.
- inline
- Forced inline (text) style in math.
- italic
- Italic font style in math.
- module
- Create a module with all math definitions.
- mono
- Monospace font style in math.
- norm
- Takes the norm of an expression.
- round
- Rounds an expression.
- sans
- Sans-serif font style in math.
- script
- Forced script style in math.
- serif
- Serif (roman) font style in math.
- sqrt
- A square root.
- sscript
- Forced second script style in math.
- upright
- Upright (non-italic) font style in math.