>>> "IK" == Ikumi Keita writes:
Hi Keita
> Hi Uwe,
>> Uwe Brauer writes:
> The label format is governed by RefTeX settings when you enable RefTeX.
> Thus it isn't enough just to provide
>> (LaTeX-add-environments
>> '("thm" LaTeX-thm-insert)
>> '("exmp" LaTeX-example-insert)
>> '("lem"
Hi Uwe,
> Uwe Brauer writes:
> However to my surprised, when I tried it out on a vanilla (no amsthm loaded)
> I obtained
> \begin{lem}[this]
> \label{lem:new:1}
> \end{lem}
> \begin{thm}[this]
> \label{thr:new:1}
> \end{thm}
> \begin{exmp}[this]
> \label{sec:3}
> \end{exmp}
Hi
I am using, for years, auctex+reftex, and insert either in article or in
beamer class, theorems, lemma and examples like this
(LaTeX-add-environments
'("thm" LaTeX-thm-insert)
'("exmp" LaTeX-example-insert)
'("lem" LaTeX-lem-insert)
Where:
(defun LaTeX-thm-insert (environment)