Hi Arash, > Greg Bognar via General discussion about AUCTeX <[email protected]> writes: > > > Hi, when I insert a new frame in a Beamer document, C-c C-e asks me for the > > title and then inserts a frame this way: > > > > \begin{frame} > > \frametitle{My title} > > > > \end{frame} > > > > I would prefer to format my frames like this: > > > > \begin{frame}\frametitle{My title} > > > > \end{frame} > > > > Is there a user option I can change? > > No, this is hard coded in beamer.el. Check the definition here[1] if > you're interested in the details. > > Footnotes: > [1] http://git.savannah.gnu.org/cgit/auctex.git/tree/style/beamer.el#n146
Yes, that's what I thought. Is there a way to, say, copy and modify that definition and add it as a new environment? E.g., calling `myframe' that inserts the frame with the customized formatting? All the best, Greg
