[Top][All Lists]

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

bug#32203: [PATCH] Support \eqref in RefTeX reference styles

From: Noam Postavsky
Subject: bug#32203: [PATCH] Support \eqref in RefTeX reference styles
Date: Thu, 19 Jul 2018 21:52:28 -0400
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/26.1 (gnu/linux)

Arash Esbati <address@hidden> writes:

> Subject: [PATCH] Add \eqref to RefTeX's reference styles
> * lisp/textmodes/reftex-vars.el (reftex-ref-style-alist): Add entry
> for \eqref provided by amsmath.sty and bind it to "e" key.

> --- a/lisp/textmodes/reftex-vars.el
> +++ b/lisp/textmodes/reftex-vars.el
> @@ -1030,7 +1030,9 @@ This is used to string together whole reference sets, 
> like
>      ("Hyperref" "hyperref"
>       (("\\autoref" ?a) ("\\autopageref" ?u)))
>      ("Cleveref" "cleveref"
> -     (("\\cref" ?c) ("\\Cref" ?C) ("\\cpageref" ?d) ("\\Cpageref" ?D))))
> +     (("\\cref" ?c) ("\\Cref" ?C) ("\\cpageref" ?d) ("\\Cpageref" ?D)))
> +    ("AMSmath" "amsmath"
> +     (("\\eqref" ?e))))
>    "Alist of reference styles.
>  Each element is a list of the style name, the name of the LaTeX
>  package associated with the style or t for any package, and an

I guess the :version should be updated here too?

reply via email to

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