In latex, "parentheses" such as \(\)
, $$
and \[\]
are constantly used. Is there a way to customize show-paren-mode
or is there some other mode to highlight these multi-character parentheses in latex-mode
as well as the traditional ones, ()[]{}
?
Taking this to the next level, is there a way to highlight beginning and end of latex environments? As in the example below (item
is just an example)
\begin{item} % <- should be hightlighted together when point is inside
OTHER TEXT
\end{item} % <- should be hightlighted together