help-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: LaTeX \newenvironment math recognition


From: Fab Wermelinger
Subject: Re: LaTeX \newenvironment math recognition
Date: Wed, 28 Mar 2012 19:27:18 -0000
User-agent: G2/1.0

On Nov 15, 3:18 pm, Fab Wermelinger <fab4...@gmail.com> wrote:
> Dear all,
>
> I have a LaTeX-mode/Emacs related problem. When I define a new
> environment in LaTeX with the \newenvironment{myenv}{begenv}{endenv}
> command, how can I get Emacs to perform the correct syntax
> highlighting.  That is, myenv is a math based environment. So when I
> include, e.g. "$" at the end of begenv and at the beginning of endenv,
> how can I get Emacs to highlight math syntax in my document whenever I
> use my custom environment \begin{myenv} ... \end{myenv}? This works
> somehow with the amsmath environments such as \begin{align} ...
> \end{align}.
>
> thanks
> Fab

Dear all,

The solution to my problem can be found here:

http://tex.stackexchange.com/questions/22573/how-can-i-tell-auctex-that-breqn-is-a-math-environment


reply via email to

[Prev in Thread] Current Thread [Next in Thread]