Skip to main content

replace_unicode_cmd

Function replace_unicode_cmd 

Source
pub fn replace_unicode_cmd(s: &str, uni: &str, tex: &str) -> String
Expand description

Replace a Unicode symbol with a LaTeX command, inserting a trailing space when the next character is alphabetic (prevents \foralli).