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

_______________________________________________
auctex mailing list
auctex@gnu.org
http://lists.gnu.org/mailman/listinfo/auctex

Reply via email to