]> git.lyx.org Git - features.git/commitdiff
* lib/layouts/theorems-ams.inc:
authorJürgen Spitzmüller <spitz@lyx.org>
Sun, 9 Mar 2008 10:13:59 +0000 (10:13 +0000)
committerJürgen Spitzmüller <spitz@lyx.org>
Sun, 9 Mar 2008 10:13:59 +0000 (10:13 +0000)
* 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

lib/layouts/theorems-ams.inc
lib/layouts/theorems-starred.inc
lib/layouts/theorems.inc

index 6a763bfbcdae21c1363235f6ff0c3018ac6f138d..cacb37c519d3fa0a8a77d2d280288472d1f4fed4 100644 (file)
@@ -52,13 +52,13 @@ Style Theorem
                \theoremstyle{plain}
                \newtheorem{thm}{Theorem}
        EndPreamble
-       Requires amsthm
+       Requires              amsthm
 End
 
 
 Style Corollary
        CopyStyle             Theorem
-       DependsOn                         Theorem
+       DependsOn             Theorem
        LatexName             cor
        LabelString           "Corollary \thetheorem."
        Preamble
@@ -70,7 +70,7 @@ End
 
 Style Lemma
        CopyStyle             Theorem
-       DependsOn                   Theorem
+       DependsOn             Theorem
        LatexName             lem
        LabelString           "Lemma \thetheorem."
        Preamble
@@ -82,7 +82,7 @@ End
 
 Style Proposition
        CopyStyle             Theorem
-       DependsOn                   Theorem
+       DependsOn             Theorem
        LatexName             prop
        LabelString           "Proposition \thetheorem."
        Preamble
@@ -94,7 +94,7 @@ End
 
 Style Conjecture
        CopyStyle             Theorem
-       DependsOn                   Theorem
+       DependsOn             Theorem
        LatexName             conjecture
        LabelString           "Conjecture \thetheorem."
        Preamble
@@ -106,7 +106,7 @@ End
 
 Style Fact
        CopyStyle             Theorem
-       DependsOn                   Theorem
+       DependsOn             Theorem
        LatexName             fact
        LabelString           "Fact \thetheorem."
        Preamble
@@ -118,7 +118,7 @@ End
 
 Style Definition
        CopyStyle             Theorem
-       DependsOn                   Theorem
+       DependsOn             Theorem
        LatexName             defn
        LabelString           "Definition \thetheorem."
        Font
@@ -143,6 +143,7 @@ Style Example
         \theoremstyle{definition}
          \newtheorem{example}[thm]{Example}
        EndPreamble
+       Requires              amsthm
 End
 
 
@@ -154,6 +155,7 @@ Style Problem
          \theoremstyle{definition}
          \newtheorem{problem}[thm]{Problem}
        EndPreamble
+       Requires              amsthm
 End
 
 
@@ -165,12 +167,13 @@ Style Exercise
          \theoremstyle{definition}
          \newtheorem{xca}[thm]{Exercise}
        EndPreamble
+       Requires              amsthm
 End
 
 
 Style Remark
        CopyStyle             Theorem
-       DependsOn                   Theorem
+       DependsOn             Theorem
        LatexName             rem
        LabelString           "Remark \thetheorem."
        Font
@@ -196,6 +199,7 @@ Style Claim
          \theoremstyle{remark}
          \newtheorem{claim}[thm]{Claim}
        EndPreamble
+       Requires              amsthm
 End
 
 
index 268ad8e7220a2b351393ee066c0e3bc07525ec7c..788c18535539d7d69cc6ab509120d40f9166d496 100644 (file)
@@ -50,6 +50,7 @@ Style Theorem*
          \theoremstyle{plain}
          \newtheorem*{thm*}{Theorem}
        EndPreamble
+       Requires              amsthm
 End
 
 
@@ -61,6 +62,7 @@ Style Corollary*
          \theoremstyle{plain}
          \newtheorem*{cor*}{Corollary}
        EndPreamble
+       Requires              amsthm
 End
 
 
@@ -72,6 +74,7 @@ Style Lemma*
          \theoremstyle{plain}
          \newtheorem*{lem*}{Lemma}
        EndPreamble
+       Requires              amsthm
 End
 
 
@@ -83,6 +86,7 @@ Style Proposition*
          \theoremstyle{plain}
          \newtheorem*{prop*}{Proposition}
        EndPreamble
+       Requires              amsthm
 End
 
 
@@ -94,6 +98,7 @@ Style Conjecture*
          \theoremstyle{plain}
          \newtheorem*{conjecture*}{Conjecture}
        EndPreamble
+       Requires              amsthm
 End
 
 
@@ -105,6 +110,7 @@ Style Fact*
          \theoremstyle{plain}
          \newtheorem*{fact*}{Fact}
        EndPreamble
+       Requires              amsthm
 End
 
 
@@ -124,6 +130,7 @@ Style Definition*
         \theoremstyle{definition}
         \newtheorem*{defn*}{Definition}
        EndPreamble
+       Requires              amsthm
 End
 
 
@@ -135,6 +142,7 @@ Style Example*
          \theoremstyle{definition}
          \newtheorem*{example*}{Example}
        EndPreamble
+       Requires              amsthm
 End
 
 
@@ -146,6 +154,7 @@ Style Problem*
          \theoremstyle{definition}
          \newtheorem*{problem*}{Problem}
        EndPreamble
+       Requires              amsthm
 End
 
 
@@ -157,6 +166,7 @@ Style Exercise*
          \theoremstyle{definition}
          \newtheorem*{xca*}{Exercise}
        EndPreamble
+       Requires              amsthm
 End
 
 
@@ -176,6 +186,7 @@ Style Remark*
          \theoremstyle{remark}
          \newtheorem*{rem*}{Remark}
        EndPreamble
+       Requires              amsthm
 End
 
 
@@ -187,5 +198,6 @@ Style Claim*
          \theoremstyle{remark}
          \newtheorem*{claim*}{Claim}
        EndPreamble
+       Requires              amsthm
 End
 
index be81dd1e3d44dac483d1c1068f3ea091d8ecb822..14fff8755f362ad731044979fa4bc11cfced7a37 100644 (file)
@@ -51,12 +51,13 @@ Style Theorem
        Preamble
                \newtheorem{thm}{Theorem}
        EndPreamble
+       Requires              amsthm
 End
 
 
 Style Corollary
        CopyStyle             Theorem
-       DependsOn                   Theorem
+       DependsOn             Theorem
        LatexName             cor
        LabelString           "Corollary \thetheorem."
        Preamble
@@ -67,7 +68,7 @@ End
 
 Style Lemma
        CopyStyle             Theorem
-       DependsOn                   Theorem
+       DependsOn             Theorem
        LatexName             lem
        LabelString           "Lemma \thetheorem."
        Preamble
@@ -78,7 +79,7 @@ End
 
 Style Proposition
        CopyStyle             Theorem
-       DependsOn                   Theorem
+       DependsOn             Theorem
        LatexName             prop
        LabelString           "Proposition \thetheorem."
        Preamble
@@ -89,7 +90,7 @@ End
 
 Style Conjecture
        CopyStyle             Theorem
-       DependsOn                   Theorem
+       DependsOn             Theorem
        LatexName             conjecture
        LabelString           "Conjecture \thetheorem."
        Preamble
@@ -100,7 +101,7 @@ End
 
 Style Fact
        CopyStyle             Theorem
-       DependsOn                   Theorem
+       DependsOn             Theorem
        LatexName             fact
        LabelString           "Fact \thetheorem."
        Preamble
@@ -111,7 +112,7 @@ End
 
 Style Definition
        CopyStyle             Theorem
-       DependsOn                   Theorem
+       DependsOn             Theorem
        LatexName             defn
        LabelString           "Definition \thetheorem."
        Font
@@ -133,9 +134,10 @@ Style Example
        LatexName             example
        LabelString           "Example \thetheorem."
        Preamble
-        \theoremstyle{definition}
+         \theoremstyle{definition}
          \newtheorem{example}[thm]{Example}
        EndPreamble
+       Requires              amsthm
 End
 
 
@@ -147,6 +149,7 @@ Style Problem
          \theoremstyle{definition}
          \newtheorem{problem}[thm]{Problem}
        EndPreamble
+       Requires              amsthm
 End
 
 
@@ -158,12 +161,13 @@ Style Exercise
          \theoremstyle{definition}
          \newtheorem{xca}[thm]{Exercise}
        EndPreamble
+       Requires              amsthm
 End
 
 
 Style Remark
        CopyStyle             Theorem
-       DependsOn                   Theorem
+       DependsOn             Theorem
        LatexName             rem
        LabelString           "Remark \thetheorem."
        Font
@@ -189,6 +193,7 @@ Style Claim
          \theoremstyle{remark}
          \newtheorem{claim}[thm]{Claim}
        EndPreamble
+       Requires              amsthm
 End