auctex
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[AUCTeX] RefTeX referencing a custom environment


From: Sebastian P. Luque
Subject: [AUCTeX] RefTeX referencing a custom environment
Date: Thu, 05 Jul 2007 15:03:46 -0500
User-agent: Gnus/5.110006 (No Gnus v0.6) Emacs/22.1.50 (gnu/linux)

Hi,

I would like to have 'C-c r' (reftex-reference) recognize the label for a
custom table environment (of course with threeparttable package loaded):

---<---------------cut here---------------start-------------->---
\newenvironment{msportraittable}[4]{%
  \begin{table}[p]%
    \centering
    \begin{small}%
      \begin{threeparttable}%
        \caption{#1} \label{#2}
        #3
        \begin{tablenotes}%
          \smaller{#4}}{%
        \end{tablenotes}%
      \end{threeparttable}%
    \end{small}%
  \end{table}}
---<---------------cut here---------------end---------------->---

At the moment, with AUCTeX 11.83 and GNU Emacs 22.1.50.1
(x86_64-pc-linux-gnu, X toolkit, Xaw3d scroll bars) of 2007-07-01 on
elegiac, modified by Debian, RefTeX's completion list of available table
labels doesn't include tables I've made with the above environment.  Is
there any way to achieve this?


Cheers,

-- 
Seb





reply via email to

[Prev in Thread] Current Thread [Next in Thread]