On Thu, 05 Jul 2007 22:35:15 +0200, Ralf Angeli <[EMAIL PROTECTED]> wrote:
[...] > (info "(reftex)Figure Wrapper") Thanks, I've read this before but didn't remember its relevance here. I'm having some trouble getting it right. Here's a minimal example: ---<---------------cut here---------------start-------------->--- \documentclass[12pt]{article} % \usepackage{booktabs,relsize,threeparttable} % Custom table environment \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}} \begin{document} Table. \begin{msportraittable} % {Dummy table.} {tab:1}{% \begin{tabular}[p]{llll} \toprule A & B & C & D \\ \midrule X\tnote{a} & 0 & 1 & 2 \\ & 0 & 1 & 2 \\ Y\tnote{b} & 0 & 1 & 2 \\ & 0 & 1 & 2 \\ \bottomrule \end{tabular}}{% \item[a] Note a. \item[b] Note b.} \end{msportraittable} \end{document} ---<---------------cut here---------------end---------------->--- so I set the alist like this: (setq reftex-label-alist '(("\\msportraittable{}{*}{}{}" ?t nil nil 1))) but doing 'C-c r' with point just after "Table" above brings up a reference for "#2", which comes from the environment definition in the preamble. I don't understand from the docstring what options I have for the TYPE-KEY element of the alist, which might be what is wrong in my setting above. Any further suggestions welcome. -- Seb _______________________________________________ auctex mailing list auctex@gnu.org http://lists.gnu.org/mailman/listinfo/auctex