Assume that I have mistakenly written
$\signa$ instead of
$\sigma$ in a
Considering the fact that all correct math commands are stored in the file
LaTeX-math-default constants, is it possible that Emacs detect this error?
More precisely is it possible that Emacs detects that
\signa does not belong to the list of commands in
Obviously after compiling the
tex file, one can discover this error. But my question is about the detection of this error at Emacs level. Also assume that
ispell is not at disposal.
Edited: After the comment of Giordano let me make it precise that I am interested in checking the correctness of a single math command not the entire document. Defining a function which detects that
\signa does not belong to the list of commands provided by
Latex-math-default when the cursor is at
\signa would be perfect.