d2-rs-math 0.1.4

Rust port of D2's d2latex package and mathjax-go: LaTeX layout and SVG.
Documentation
// SPDX-License-Identifier: MPL-2.0
// Source-derived from mathjax-go v0.1.0 font/data_normal_gen.go,
// MathJax 3.2.2 Apache-2.0. See THIRD_PARTY_NOTICES.md.
pub(crate) struct Compound {
    pub codepoint: u32,
    pub height: f64,
    pub depth: f64,
    pub width: f64,
    pub class: usize,
    pub large: Option<(f64, f64, f64)>,
    pub content: &'static str,
}
pub(crate) const COMPOUNDS: &[Compound] = &[
    Compound {
        codepoint: 0x2033,
        height: 0.56,
        depth: 0.0,
        width: 0.55,
        class: 0,
        large: None,
        content: "′′",
    },
    Compound {
        codepoint: 0x2034,
        height: 0.56,
        depth: 0.0,
        width: 0.825,
        class: 0,
        large: None,
        content: "′′′",
    },
    Compound {
        codepoint: 0x2036,
        height: 0.56,
        depth: 0.0,
        width: 0.55,
        class: 0,
        large: None,
        content: "‵‵",
    },
    Compound {
        codepoint: 0x2037,
        height: 0.56,
        depth: 0.0,
        width: 0.825,
        class: 0,
        large: None,
        content: "‵‵‵",
    },
    Compound {
        codepoint: 0x2057,
        height: 0.56,
        depth: 0.0,
        width: 1.1,
        class: 0,
        large: None,
        content: "′′′′",
    },
    Compound {
        codepoint: 0x2204,
        height: 0.716,
        depth: 0.215,
        width: 0.556,
        class: 0,
        large: None,
        content: "∄",
    },
    Compound {
        codepoint: 0x220C,
        height: 0.716,
        depth: 0.215,
        width: 0.667,
        class: 3,
        large: None,
        content: "∌",
    },
    Compound {
        codepoint: 0x2244,
        height: 0.716,
        depth: 0.215,
        width: 0.778,
        class: 3,
        large: None,
        content: "≄",
    },
    Compound {
        codepoint: 0x2249,
        height: 0.716,
        depth: 0.215,
        width: 0.778,
        class: 3,
        large: None,
        content: "≉",
    },
    Compound {
        codepoint: 0x2262,
        height: 0.716,
        depth: 0.215,
        width: 0.778,
        class: 3,
        large: None,
        content: "≢",
    },
    Compound {
        codepoint: 0x226D,
        height: 0.716,
        depth: 0.215,
        width: 0.778,
        class: 3,
        large: None,
        content: "≭",
    },
    Compound {
        codepoint: 0x2274,
        height: 0.732,
        depth: 0.228,
        width: 0.778,
        class: 3,
        large: None,
        content: "≴",
    },
    Compound {
        codepoint: 0x2275,
        height: 0.732,
        depth: 0.228,
        width: 0.778,
        class: 3,
        large: None,
        content: "≵",
    },
    Compound {
        codepoint: 0x2278,
        height: 0.716,
        depth: 0.253,
        width: 0.778,
        class: 3,
        large: None,
        content: "≸",
    },
    Compound {
        codepoint: 0x2279,
        height: 0.716,
        depth: 0.253,
        width: 0.778,
        class: 3,
        large: None,
        content: "≹",
    },
    Compound {
        codepoint: 0x2284,
        height: 0.716,
        depth: 0.215,
        width: 0.778,
        class: 3,
        large: None,
        content: "⊄",
    },
    Compound {
        codepoint: 0x2285,
        height: 0.716,
        depth: 0.215,
        width: 0.778,
        class: 3,
        large: None,
        content: "⊅",
    },
    Compound {
        codepoint: 0x22E2,
        height: 0.716,
        depth: 0.215,
        width: 0.778,
        class: 3,
        large: None,
        content: "⋢",
    },
    Compound {
        codepoint: 0x22E3,
        height: 0.716,
        depth: 0.215,
        width: 0.778,
        class: 3,
        large: None,
        content: "⋣",
    },
    Compound {
        codepoint: 0x2A0C,
        height: 0.805,
        depth: 0.306,
        width: 1.638,
        class: 1,
        large: Some((1.36, 0.862, 2.168)),
        content: "∬∬",
    },
];