use phf::phf_map;
#[derive(Debug, Clone, Copy, PartialEq, Eq)]
pub struct AccentMapping {
pub text: &'static str,
pub math: Option<&'static str>,
}
pub const UNICODE_ACCENTS: phf::Map<char, AccentMapping> = phf_map! {
'\u{0301}' => AccentMapping { text: "\\'", math: Some("\\acute") },
'\u{0300}' => AccentMapping { text: "\\`", math: Some("\\grave") },
'\u{0308}' => AccentMapping { text: "\\\"", math: Some("\\ddot") },
'\u{0303}' => AccentMapping { text: "\\~", math: Some("\\tilde") },
'\u{0304}' => AccentMapping { text: "\\=", math: Some("\\bar") },
'\u{0306}' => AccentMapping { text: "\\u", math: Some("\\breve") },
'\u{030c}' => AccentMapping { text: "\\v", math: Some("\\check") },
'\u{0302}' => AccentMapping { text: "\\^", math: Some("\\hat") },
'\u{0307}' => AccentMapping { text: "\\.", math: Some("\\dot") },
'\u{030a}' => AccentMapping { text: "\\r", math: Some("\\mathring") },
'\u{030b}' => AccentMapping { text: "\\H", math: None },
'\u{0327}' => AccentMapping { text: "\\c", math: None },
};