pub enum Visual {
SquareRoot,
Root,
Fraction(Option<Dimension>),
Negation,
}Expand description
Modifies the visual representation of the following element(s)
Variants§
SquareRoot
The following element is the content of the root.
Root
The 2 following elements are the radicand and the index of the root.
Fraction(Option<Dimension>)
The 2 following elements are the numerator and denominator of the fraction.
If the content of the variant is None, then the size of the middle line is set to the
default size, otherwise the size is set to the specified size.
Negation
The “negation” operator as in “not equal” (≠) or “does not exist” (∄). This applies to the next event in the stream.
This event can occur before an arbitrary event, not just a Content event. It is left to
the renderer to determine how to apply the negation. In LaTeX, the renderer usually
generates an akward looking negation across the next element, when it does not correspond
to a commonly negated element.