Function isotope

Source
pub fn isotope(
    symbol: &str,
    mass_number: usize,
    atomic_number: Option<usize>,
) -> MathMultiScript
Expand description

Build a isotopic symbol.

§Input

MathFenced::parentheses(vec![
    isotope("H", 1, None).into(),
    isotope("H", 2, Some(2)).into(),
    isotope("H", 3, None).into(),
]);

§Output

( H 1 , H 2 , H 3 )