* lib/layouts/theorems-ams.inc:

* lib/layouts/theorems-starred.inc:
* lib/layouts/theorems.inc:
	- some more amsthm fixes (and whitespace).

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@23577 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
Jürgen Spitzmüller 2008-03-09 10:13:59 +00:00
parent 6dc7cbe1e7
commit b7cf6951b6
3 changed files with 37 additions and 16 deletions

View File

@ -52,13 +52,13 @@ Style Theorem
\theoremstyle{plain} \theoremstyle{plain}
\newtheorem{thm}{Theorem} \newtheorem{thm}{Theorem}
EndPreamble EndPreamble
Requires amsthm Requires amsthm
End End
Style Corollary Style Corollary
CopyStyle Theorem CopyStyle Theorem
DependsOn Theorem DependsOn Theorem
LatexName cor LatexName cor
LabelString "Corollary \thetheorem." LabelString "Corollary \thetheorem."
Preamble Preamble
@ -70,7 +70,7 @@ End
Style Lemma Style Lemma
CopyStyle Theorem CopyStyle Theorem
DependsOn Theorem DependsOn Theorem
LatexName lem LatexName lem
LabelString "Lemma \thetheorem." LabelString "Lemma \thetheorem."
Preamble Preamble
@ -82,7 +82,7 @@ End
Style Proposition Style Proposition
CopyStyle Theorem CopyStyle Theorem
DependsOn Theorem DependsOn Theorem
LatexName prop LatexName prop
LabelString "Proposition \thetheorem." LabelString "Proposition \thetheorem."
Preamble Preamble
@ -94,7 +94,7 @@ End
Style Conjecture Style Conjecture
CopyStyle Theorem CopyStyle Theorem
DependsOn Theorem DependsOn Theorem
LatexName conjecture LatexName conjecture
LabelString "Conjecture \thetheorem." LabelString "Conjecture \thetheorem."
Preamble Preamble
@ -106,7 +106,7 @@ End
Style Fact Style Fact
CopyStyle Theorem CopyStyle Theorem
DependsOn Theorem DependsOn Theorem
LatexName fact LatexName fact
LabelString "Fact \thetheorem." LabelString "Fact \thetheorem."
Preamble Preamble
@ -118,7 +118,7 @@ End
Style Definition Style Definition
CopyStyle Theorem CopyStyle Theorem
DependsOn Theorem DependsOn Theorem
LatexName defn LatexName defn
LabelString "Definition \thetheorem." LabelString "Definition \thetheorem."
Font Font
@ -143,6 +143,7 @@ Style Example
\theoremstyle{definition} \theoremstyle{definition}
\newtheorem{example}[thm]{Example} \newtheorem{example}[thm]{Example}
EndPreamble EndPreamble
Requires amsthm
End End
@ -154,6 +155,7 @@ Style Problem
\theoremstyle{definition} \theoremstyle{definition}
\newtheorem{problem}[thm]{Problem} \newtheorem{problem}[thm]{Problem}
EndPreamble EndPreamble
Requires amsthm
End End
@ -165,12 +167,13 @@ Style Exercise
\theoremstyle{definition} \theoremstyle{definition}
\newtheorem{xca}[thm]{Exercise} \newtheorem{xca}[thm]{Exercise}
EndPreamble EndPreamble
Requires amsthm
End End
Style Remark Style Remark
CopyStyle Theorem CopyStyle Theorem
DependsOn Theorem DependsOn Theorem
LatexName rem LatexName rem
LabelString "Remark \thetheorem." LabelString "Remark \thetheorem."
Font Font
@ -196,6 +199,7 @@ Style Claim
\theoremstyle{remark} \theoremstyle{remark}
\newtheorem{claim}[thm]{Claim} \newtheorem{claim}[thm]{Claim}
EndPreamble EndPreamble
Requires amsthm
End End

View File

@ -50,6 +50,7 @@ Style Theorem*
\theoremstyle{plain} \theoremstyle{plain}
\newtheorem*{thm*}{Theorem} \newtheorem*{thm*}{Theorem}
EndPreamble EndPreamble
Requires amsthm
End End
@ -61,6 +62,7 @@ Style Corollary*
\theoremstyle{plain} \theoremstyle{plain}
\newtheorem*{cor*}{Corollary} \newtheorem*{cor*}{Corollary}
EndPreamble EndPreamble
Requires amsthm
End End
@ -72,6 +74,7 @@ Style Lemma*
\theoremstyle{plain} \theoremstyle{plain}
\newtheorem*{lem*}{Lemma} \newtheorem*{lem*}{Lemma}
EndPreamble EndPreamble
Requires amsthm
End End
@ -83,6 +86,7 @@ Style Proposition*
\theoremstyle{plain} \theoremstyle{plain}
\newtheorem*{prop*}{Proposition} \newtheorem*{prop*}{Proposition}
EndPreamble EndPreamble
Requires amsthm
End End
@ -94,6 +98,7 @@ Style Conjecture*
\theoremstyle{plain} \theoremstyle{plain}
\newtheorem*{conjecture*}{Conjecture} \newtheorem*{conjecture*}{Conjecture}
EndPreamble EndPreamble
Requires amsthm
End End
@ -105,6 +110,7 @@ Style Fact*
\theoremstyle{plain} \theoremstyle{plain}
\newtheorem*{fact*}{Fact} \newtheorem*{fact*}{Fact}
EndPreamble EndPreamble
Requires amsthm
End End
@ -124,6 +130,7 @@ Style Definition*
\theoremstyle{definition} \theoremstyle{definition}
\newtheorem*{defn*}{Definition} \newtheorem*{defn*}{Definition}
EndPreamble EndPreamble
Requires amsthm
End End
@ -135,6 +142,7 @@ Style Example*
\theoremstyle{definition} \theoremstyle{definition}
\newtheorem*{example*}{Example} \newtheorem*{example*}{Example}
EndPreamble EndPreamble
Requires amsthm
End End
@ -146,6 +154,7 @@ Style Problem*
\theoremstyle{definition} \theoremstyle{definition}
\newtheorem*{problem*}{Problem} \newtheorem*{problem*}{Problem}
EndPreamble EndPreamble
Requires amsthm
End End
@ -157,6 +166,7 @@ Style Exercise*
\theoremstyle{definition} \theoremstyle{definition}
\newtheorem*{xca*}{Exercise} \newtheorem*{xca*}{Exercise}
EndPreamble EndPreamble
Requires amsthm
End End
@ -176,6 +186,7 @@ Style Remark*
\theoremstyle{remark} \theoremstyle{remark}
\newtheorem*{rem*}{Remark} \newtheorem*{rem*}{Remark}
EndPreamble EndPreamble
Requires amsthm
End End
@ -187,5 +198,6 @@ Style Claim*
\theoremstyle{remark} \theoremstyle{remark}
\newtheorem*{claim*}{Claim} \newtheorem*{claim*}{Claim}
EndPreamble EndPreamble
Requires amsthm
End End

View File

@ -51,12 +51,13 @@ Style Theorem
Preamble Preamble
\newtheorem{thm}{Theorem} \newtheorem{thm}{Theorem}
EndPreamble EndPreamble
Requires amsthm
End End
Style Corollary Style Corollary
CopyStyle Theorem CopyStyle Theorem
DependsOn Theorem DependsOn Theorem
LatexName cor LatexName cor
LabelString "Corollary \thetheorem." LabelString "Corollary \thetheorem."
Preamble Preamble
@ -67,7 +68,7 @@ End
Style Lemma Style Lemma
CopyStyle Theorem CopyStyle Theorem
DependsOn Theorem DependsOn Theorem
LatexName lem LatexName lem
LabelString "Lemma \thetheorem." LabelString "Lemma \thetheorem."
Preamble Preamble
@ -78,7 +79,7 @@ End
Style Proposition Style Proposition
CopyStyle Theorem CopyStyle Theorem
DependsOn Theorem DependsOn Theorem
LatexName prop LatexName prop
LabelString "Proposition \thetheorem." LabelString "Proposition \thetheorem."
Preamble Preamble
@ -89,7 +90,7 @@ End
Style Conjecture Style Conjecture
CopyStyle Theorem CopyStyle Theorem
DependsOn Theorem DependsOn Theorem
LatexName conjecture LatexName conjecture
LabelString "Conjecture \thetheorem." LabelString "Conjecture \thetheorem."
Preamble Preamble
@ -100,7 +101,7 @@ End
Style Fact Style Fact
CopyStyle Theorem CopyStyle Theorem
DependsOn Theorem DependsOn Theorem
LatexName fact LatexName fact
LabelString "Fact \thetheorem." LabelString "Fact \thetheorem."
Preamble Preamble
@ -111,7 +112,7 @@ End
Style Definition Style Definition
CopyStyle Theorem CopyStyle Theorem
DependsOn Theorem DependsOn Theorem
LatexName defn LatexName defn
LabelString "Definition \thetheorem." LabelString "Definition \thetheorem."
Font Font
@ -133,9 +134,10 @@ Style Example
LatexName example LatexName example
LabelString "Example \thetheorem." LabelString "Example \thetheorem."
Preamble Preamble
\theoremstyle{definition} \theoremstyle{definition}
\newtheorem{example}[thm]{Example} \newtheorem{example}[thm]{Example}
EndPreamble EndPreamble
Requires amsthm
End End
@ -147,6 +149,7 @@ Style Problem
\theoremstyle{definition} \theoremstyle{definition}
\newtheorem{problem}[thm]{Problem} \newtheorem{problem}[thm]{Problem}
EndPreamble EndPreamble
Requires amsthm
End End
@ -158,12 +161,13 @@ Style Exercise
\theoremstyle{definition} \theoremstyle{definition}
\newtheorem{xca}[thm]{Exercise} \newtheorem{xca}[thm]{Exercise}
EndPreamble EndPreamble
Requires amsthm
End End
Style Remark Style Remark
CopyStyle Theorem CopyStyle Theorem
DependsOn Theorem DependsOn Theorem
LatexName rem LatexName rem
LabelString "Remark \thetheorem." LabelString "Remark \thetheorem."
Font Font
@ -189,6 +193,7 @@ Style Claim
\theoremstyle{remark} \theoremstyle{remark}
\newtheorem{claim}[thm]{Claim} \newtheorem{claim}[thm]{Claim}
EndPreamble EndPreamble
Requires amsthm
End End