# AUCTeX: How to edit enviroment templates

With (C-c C-e) AUCTeX allows to insert arbitrary environments. In my case I want to change the default aling-environemnt from

\begin{align}
\label{eq:145}

\end{align}

to insert comments in order to obtain blank lines like

%
\begin{align}
\label{eq:145}
%

%
\end{align}
%

Any suggestions?

Greetings,

R.

-

You need to add a function that performs the insertion. It should be something like: