Hi Santiago and Mosè,

Le 18/09/18 à 01h34, Mosè Giordano a écrit :

>> My specific question: is there a way to get Auctex to prompt me
>> automatically for an optional overlay specification when I invoke the
>> \alert command with TeX-insert-macro (i.e. C-c "alert")?
>
> You have to manually patch the file style/beamer.el in your AUCTeX
> installation.  Replace the line
>
>     '("alert" 1)
>
> with
>
>     '("alert" TeX-arg-beamer-overlay-spec 1)
>
> Remember to byte-recompile the file with M-x byte-recompile-file RET
> RET.

BTW, AUCTeX by default prompts for an optional overlay specification
with the \structure command, but not with \alert (as noticed by
Santiago) which is however similar. And, from my experience, an overlay
specification is much more often used with \alert than with \structure.

All the best.
-- 
Denis

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

Reply via email to