Defining Label Environments
===========================
RefTeX can be configured to recognize additional labeled
environments and macros. This is done with the variable
`reftex-label-alist' (see Options (Defining Label Environments).).
If you are not familiar with Lisp, you should use the `custom' library
to configure this rather complex variable. To do this, use
M-x customize-variable <RET> reftex-label-alist <RET>
Here we will discuss a few examples, in order to make things clearer.
It can also be instructive to look at the constant
`reftex-label-alist-builtin' which contains the entries for all the
builtin environments and macros (see Builtin Label Environments.).
Menu
- Theorem and Axiom
- Defined with `\newenvironment'.
- Quick Equation
- When a macro sets the label type.
- Figure Wrapper
- When a macro argument is a label.
- Adding Magic Words
- Other words for other languages.
- Using \eqref
- How to switch to this AMS-LaTeX macro.
- Putting it Together
- How to combine many entries.