Questions tagged [texmathp]
Determine if point is inside (La)TeX math mode.
3 questions
0 votes
2 answers
130 views
In LaTex mode, check if we are not in math mode for aas package
I am using the aas package (auto-activating snippets). When I want a snippet to expand we can do so by putting the following in the use-package declaration in the .emacs file: :cond #'texmathp "...
1 vote
1 answer
181 views
Distinction between inline and display math instead of default behavior of texmathp
The default behavior of texmathp gives true regardless of wheter the cursor is inside an inline or display math environment. Is there a way for texmathp to display true only if the cursor is inside an ...