Reference prefixes for theorem environments.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@34855 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
Richard Heck 2010-07-11 13:45:21 +00:00
parent c2a4932ce0
commit 2a61cdbf39
14 changed files with 21 additions and 12 deletions

View File

@ -1178,6 +1178,7 @@ dist_layouts_DATA =\
layouts/theorems-order.inc \ layouts/theorems-order.inc \
layouts/theorems-proof.inc \ layouts/theorems-proof.inc \
layouts/theorems-proof-std.inc \ layouts/theorems-proof-std.inc \
layouts/theorems-refprefix.inc \
layouts/theorems-sec.module \ layouts/theorems-sec.module \
layouts/theorems-starred-equivalents.inc \ layouts/theorems-starred-equivalents.inc \
layouts/theorems-starred.inc \ layouts/theorems-starred.inc \

View File

@ -1241,3 +1241,5 @@ Preamble
\def\gobbletableofcontents#1{\origtableofcontents} \def\gobbletableofcontents#1{\origtableofcontents}
} }
EndPreamble EndPreamble
Input theorems-refprefix.inc

View File

@ -432,3 +432,5 @@ Style Acknowledgement
Series Bold Series Bold
EndFont EndFont
End End
Input theorems-refprefix.inc

View File

@ -329,3 +329,4 @@ Input stdfloats.inc
Input stdcounters.inc Input stdcounters.inc
Input stdinsets.inc Input stdinsets.inc
Input lyxmacros.inc Input lyxmacros.inc
Input theorems-refprefix.inc

View File

@ -123,3 +123,5 @@ Style Proof
{\hfill\rule{2mm}{2mm}\par\vspace{2mm}} {\hfill\rule{2mm}{2mm}\par\vspace{2mm}}
EndPreamble EndPreamble
End End
Input theorems-refprefix.inc

View File

@ -338,3 +338,5 @@ Style Bibliography
Size Normal Size Normal
EndFont EndFont
End End
Input theorems-refprefix.inc

View File

@ -349,3 +349,5 @@ Style Bibliography
Size Normal Size Normal
EndFont EndFont
End End
Input theorems-refprefix.inc

View File

@ -426,3 +426,4 @@ End
Input stdfloats.inc Input stdfloats.inc
Input stdcounters.inc Input stdcounters.inc
Input stdinsets.inc Input stdinsets.inc
Input theorems-refprefix.inc

View File

@ -442,3 +442,5 @@ Style Theorem
LatexName theorem LatexName theorem
LabelString "Theorem #." LabelString "Theorem #."
End End
Input theorems-refprefix.inc

View File

@ -313,3 +313,5 @@ Style Case
\addto\captions$$lang{\renewcommand{\casename}{_(Case)}} \addto\captions$$lang{\renewcommand{\casename}{_(Case)}}
EndBabelPreamble EndBabelPreamble
End End
Input theorems-refprefix.inc

View File

@ -235,3 +235,5 @@ Style Case
{\end{list}} {\end{list}}
EndPreamble EndPreamble
End End
Input theorems-refprefix.inc

View File

@ -25,10 +25,4 @@ Style Theorem
\newtheorem{thm}{\protect\theoremname}[chapter] \newtheorem{thm}{\protect\theoremname}[chapter]
\fi \fi
EndPreamble EndPreamble
LangPreamble
\providecommand{\theoremname}{_(Theorem)}
EndLangPreamble
BabelPreamble
\addto\captions$$lang{\renewcommand{\theoremname}{_(Theorem)}}
EndBabelPreamble
End End

View File

@ -20,10 +20,4 @@ Style Theorem
\theoremstyle{plain} \theoremstyle{plain}
\newtheorem{thm}{\protect\theoremname}[section] \newtheorem{thm}{\protect\theoremname}[section]
EndPreamble EndPreamble
LangPreamble
\providecommand{\theoremname}{_(Theorem)}
EndLangPreamble
BabelPreamble
\addto\captions$$lang{\renewcommand{\theoremname}{_(Theorem)}}
EndBabelPreamble
End End

View File

@ -303,3 +303,5 @@ Style Case
\addto\captions$$lang{\renewcommand{\casename}{_(Case)}} \addto\captions$$lang{\renewcommand{\casename}{_(Case)}}
EndBabelPreamble EndBabelPreamble
End End
Input theorems-refprefix.inc