[Top][All Lists]

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

[PATCH 2/3] RefReX: Basic cleveref support.

From: Rüdiger Sonderfeld
Subject: [PATCH 2/3] RefReX: Basic cleveref support.
Date: Wed, 15 May 2013 20:10:21 +0200
User-agent: KMail/4.10.2 (Linux/3.8.0-19-generic; KDE/4.10.2; x86_64; ; )

Adds support for \cref/\cpageref and uppercase variants.  Support for
ref ranges (\crefrange) requires further changes in RefTeX.


* lisp/textmodes/reftex-vars.el (reftex-ref-style-alist): Add cleveref

Signed-off-by: Rüdiger Sonderfeld <address@hidden>
 lisp/textmodes/reftex-vars.el | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/lisp/textmodes/reftex-vars.el b/lisp/textmodes/reftex-vars.el
index 3792ab4..ce23a48 100644
--- a/lisp/textmodes/reftex-vars.el
+++ b/lisp/textmodes/reftex-vars.el
@@ -1000,7 +1000,9 @@ This is used to string together whole reference sets, like
     ("Fancyref" "fancyref"
      (("\\fref" ?f) ("\\Fref" ?F)))
     ("Hyperref" "hyperref"
-     (("\\autoref" ?a) ("\\autopageref" ?u))))
+     (("\\autoref" ?a) ("\\autopageref" ?u)))
+    ("Cleveref" "cleveref"
+     (("\\cref" ?c) ("\\Cref" ?C) ("\\cpageref" ?d) ("\\Cpageref" ?D))))
   "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

reply via email to

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