]> git.lyx.org Git - features.git/commitdiff
Lemma definition for refstyle.
authorRichard Heck <rgheck@comcast.net>
Thu, 28 Oct 2010 17:35:28 +0000 (17:35 +0000)
committerRichard Heck <rgheck@comcast.net>
Thu, 28 Oct 2010 17:35:28 +0000 (17:35 +0000)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@35887 a592a061-630c-0410-9148-cb99ea01b6c8

src/LaTeXFeatures.cpp

index a32566ff52e1a233cd4a1e1d69dd62e7cfc05d3c..1bf3b2eddd737072900dfcc18fe920f946ffa786 100644 (file)
@@ -261,6 +261,9 @@ static docstring const lyxref_def = from_ascii(
                "\\RS@ifundefined{thmref}\n"
                "  {\\def\\RSthmtxt{theorem~}\\newref{thm}{name = \\RSthmtxt}}\n" 
                "  {}\n"
+               "\\RS@ifundefined{lemref}\n"
+               "  {\\def\\RSlemtxt{lemma~}\\newref{lem}{name = \\RSlemtxt}}\n" 
+               "  {}\n"
                "\\makeatother\n");