auctex
[Top][All Lists]
Advanced

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

[AUCTeX] Math mode in newenvironment not recognized


From: Florian Lindner
Subject: [AUCTeX] Math mode in newenvironment not recognized
Date: Wed, 27 May 2009 18:19:54 +0200

Hello,

I have a environment:

\newenvironment{formelgruppe}[1]{
\boxedminipage{1.0\linewidth} \emph{\Large{#1}} \csname align* \endcsname}
{\csname endalign*\endcsname \endboxedminipage \vspace{1cm}}

Used like that

\begin{formelgruppe}{Stoffgesetze für ideale Gase}
   pv &= RT \Longleftrightarrow pV = mRT
\end{formelgruppe}

As you see there is math in the environment. Auctex does not get this and treats like text (though preview-latex renders the formulas). Can I give auctex a hint that it should treat the content of formelgruppe like math?

Another minor things I would like to optimize is that auctex positions the cursur between the brackets of the environment argument (marked with x here) when using C-c C-e. Or even better asks for it! (something like: "first argument:" would be perfect ok).

\begin{formelgruppe}{x}

\end{formelgruppe}

Any way to achieve hat?

Thanks,

Florian



reply via email to

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