hunspell
hunspell copied to clipboard
disregard `\\texttt{}` (for `format = "latex"`) ?
Typically, \texttt{} is used to encapsulate variable names (etc) which would often not appear in a dictionary. Should this be exempted from spellcheck?
hunspell::hunspell(text = "\\texttt{foo\\_bar\\_baz}", format = "latex")
gives
[[1]] [1] "baz"