Arash Esbati <[email protected]> writes:

> Thanks.  While you're on top of font-latex.el game again, can you also
> have a look at my proposal here?
>
>     http://lists.gnu.org/archive/html/auctex-devel/2017-04/msg00011.html

Yes, I have no objections. :-)

> On my wish list is also correct fontification for optional and/or
> mandatory arguments of math environments, e.g.:
>
>     \documentclass{article}
>     \usepackage{amsmath}
>     \usepackage[overload]{empheq}
>     \begin{document}
>
>     \begin{align}
>       a_1 &= b_1 + c_1
>     \end{align}
>
>     \begin{empheq}{align}
>       a_1 &= b_1 + c_1
>     \end{empheq}
>
>     \begin{empheq}[left=\empheqlbrace]{align}
>       \label{eq:2}
>       a_1 &= b_1 + c_1
>     \end{empheq}
>     \end{document}
>
> I think the functions `font-latex-match-math-envII' and
> `font-latex-extend-region-backwards-math-envII' should be changed for
> this.  Right?

Absolutly correct. :-)

Bye,
Tassilo

_______________________________________________
auctex mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/auctex

Reply via email to