Builtin Label Environments
RefTeX needs to be aware of the environments which can be referenced with a label (i.e., which carry their own counters). By default, RefTeX recognizes all labeled environments and macros discussed in The LaTeX Companion by Goossens, Mittelbach & Samarin, Addison-Wesley 1994.. These are:
figure,figure*,table,table*,equation,eqnarray,enumerate, the\footnotemacro (this is the LaTeX core stuff)align,gather,multline,flalign,alignat,xalignat,xxalignat,subequations(from AMS-LaTeX’samsmath.stypackage)Beqnarray(fancybox.sty)- the
\ctablemacro (fromctable.sty) - the
\endnotemacro (fromendnotes.sty) floatingfigure,floatingtable(floatflt.sty)listing(minted.sty)lstlisting(listings.sty)longtable(longtable.sty)figwindow,tabwindow(picinpar.sty)SCfigure,SCtable(sidecap.sty)sidewaysfigure,sidewaystable(rotating.sty)- the
\subfigureand\subtablemacros (fromsubfig.sty) wrapfigure(wrapfig.sty)
If you want to use other labeled environments, defined with \newtheorem, RefTeX needs to be configured to recognize them (see Defining Label Environments).