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 mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/auctex

Reply via email to