ChemPal Documentation - v1.7.0
    Preparing search index...

    Module constants/science

    Variables

    SUBSCRIPTS

    A mapping of regular characters to their Unicode subscript equivalents. Used for converting numbers and basic mathematical symbols to subscript format.

    SUPERSCRIPTS

    A mapping of regular characters to their Unicode superscript equivalents. Used for converting numbers and basic mathematical symbols to superscript format. Commonly used for exponents, powers, and scientific notation.

    SUBSCRIPT_GLYPHS

    A mapping of ASCII digits to their Unicode subscript glyphs, written as the literal characters () rather than the \uXXXX escapes used by SUBSCRIPTS. The mapped values are identical to SUBSCRIPTS for the digit keys — this is purely the literal-glyph spelling, handy where a source regex needs the visible characters.

    SUPERSCRIPT_GLYPHS

    A mapping of ASCII digits to their Unicode superscript glyphs, written as the literal characters () rather than the \uXXXX escapes used by SUPERSCRIPTS. The mapped values are identical to SUPERSCRIPTS for the digit keys — this is purely the literal-glyph spelling, handy where a source regex needs the visible characters.