* Stephen Eglen (2006-06-07) writes:

> "Ryan Krauss" <[EMAIL PROTECTED]> writes:

[frame environment]

>> How can I set up a command like the one used to insert a figure that
>> prompts me for the frametitle and then puts the cursor in the contents
>> area?
>
> Dear Ryan,
> Here's what I use (nb it doesn't prompt you for the title, but leaves
> you in the right spot for it).
>
> Stephen
>
>
> (defun beamer-template-frame ()
>   "Create a simple template and move point to after \\frametitle."
>   (interactive)
>   (LaTeX-environment-menu "frame")

This will prompt for a frame title with AUCTeX 11.8x if you have
parsing enabled.

The functionality is currently broken as \frametitle is put on the
same line as \begin{frame} but I am working on a fix.

-- 
Ralf


_______________________________________________
auctex mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/auctex

Reply via email to