]> git.lyx.org Git - lyx.git/blobdiff - lib/layouts/theorems.inc
* lib/layouts/theorems-ams.inc:
[lyx.git] / lib / layouts / theorems.inc
index 544e84584b15b517e4efec05752fb3af5bdbe60f..14fff8755f362ad731044979fa4bc11cfced7a37 100644 (file)
@@ -22,6 +22,7 @@
 Format 6
 
 Style Theorem
+       Category              Theorem
        Margin                First_Dynamic
        LatexType             Environment
        LatexName             thm
@@ -50,6 +51,7 @@ Style Theorem
        Preamble
                \newtheorem{thm}{Theorem}
        EndPreamble
+       Requires              amsthm
 End
 
 
@@ -132,9 +134,10 @@ Style Example
        LatexName             example
        LabelString           "Example \thetheorem."
        Preamble
-        \theoremstyle{definition}
+         \theoremstyle{definition}
          \newtheorem{example}[thm]{Example}
        EndPreamble
+       Requires              amsthm
 End
 
 
@@ -146,6 +149,7 @@ Style Problem
          \theoremstyle{definition}
          \newtheorem{problem}[thm]{Problem}
        EndPreamble
+       Requires              amsthm
 End
 
 
@@ -157,6 +161,7 @@ Style Exercise
          \theoremstyle{definition}
          \newtheorem{xca}[thm]{Exercise}
        EndPreamble
+       Requires              amsthm
 End
 
 
@@ -188,11 +193,13 @@ Style Claim
          \theoremstyle{remark}
          \newtheorem{claim}[thm]{Claim}
        EndPreamble
+       Requires              amsthm
 End
 
 
 # Define Case as an enumeration environment
 Style Case
+       Category              Theorem
        CopyStyle             Enumerate
        LatexName             caseenv
        LabelType             Static