monks/math_shift

The math-shift property indicates whether superscripts inside MathML formulas should be raised by a normal or compact shift.

Values

pub const compact: #(String, String)
  • : Indicates compact rendering. Superscripts in MathML formulas use the superscriptShiftUpCramped parameter from the OpenType MATH table, which is generally smaller.
pub const inherit: #(String, String)
pub const initial: #(String, String)
pub const normal: #(String, String)
  • : The initial value, indicates normal rendering. Superscripts in MathML formulas use the superscriptShiftUp parameter from the OpenType MATH table.
pub fn raw(value: String) -> #(String, String)

Enter a raw string value for math-shift

pub const revert: #(String, String)
pub const revert_layer: #(String, String)
pub const unset: #(String, String)
pub fn var(variable: String) -> #(String, String)

Enter a variable name to be used for math-shift. It will be wrapped in var() and have -- prepended.

Search Document