[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[AUCTeX] redefining figure environment
From: |
Seweryn Kokot |
Subject: |
[AUCTeX] redefining figure environment |
Date: |
Thu, 11 Jan 2007 07:25:29 +0100 |
User-agent: |
Gnus/5.11 (Gnus v5.11) Emacs/22.0.92 (gnu/linux) |
Hello,
How to redefine auctex figure environment in order to replace
commands \caption and \label with one command
\mycaption{label}{language1}{language2} when typing "C-c C-e figure".
Now it's like this:
\begin{figure}[htbp]
\centering
_
\caption{blabla}
\label{fig:blabla}
\end{figure}
and I would like this:
\begin{figure}[htbp]
\centering
_
\mycaption{label}{language1}{language2}
\end{figure}
Preferably I would like the second version only if in the main tex
file there is \documentclass{myclass}.
Thanks in advance,
regards,
Seweryn Kokot
- [AUCTeX] redefining figure environment,
Seweryn Kokot <=