Skip to main content

Questions tagged [texmathp]

Determine if point is inside (La)TeX math mode.

0 votes
2 answers
130 views

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 "...
DennisJohnson's user avatar
1 vote
1 answer
181 views

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 ...
userrandrand's user avatar