monks/math_depth

The math-depth property describes a notion of depth for each element of a mathematical formula, with respect to the top-level container of that formula. This is used to scale the computed value of the font-size of elements when font-size: math is applied.

font-size: math is the default for <math> elements in the MathML Core User Agent stylesheet, so it’s not necessary to specify it explicitly.

Values

pub const auto_add: #(String, String)
  • : Set to the inherited math-depth plus 1 when inherited math-style is compact.
pub const inherit: #(String, String)
pub const initial: #(String, String)
pub fn raw(value: String) -> #(String, String)

Enter a raw string value for math-depth

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-depth. It will be wrapped in var() and have -- prepended.

Search Document