]> git.lyx.org Git - lyx.git/blobdiff - lib/layouts/theorems-ams-extended.module
Question environments, from Russ Woodroofe.
[lyx.git] / lib / layouts / theorems-ams-extended.module
index e21193ee7252cc154317b5bf22cc824fab6a5c64..c307d9eb72bb1097b0e6bc368b3bfcdd2b0cfcd4 100644 (file)
@@ -3,7 +3,8 @@
 #Defines some additional theorem environments for use with the
 #AMS theorems packages. Includes Criterion, Algorithm, Axiom,
 #Condition, Note, Notation, Summary, Acknowledgement, Conclusion,
-#Fact, Assumption, and Case, in both starred and non-starred forms.
+#Fact, Assumption, Case, and Question, in both starred and non-starred
+#forms.
 #DescriptionEnd
 #Requires: theorems-ams
 
 # Tinkered with Sep. '07 by Paul Rubin <rubin@msu.edu>
 # Modularized Jan 08 by Richard Heck <rgheck@comcast.net>
 
-Format 7
+Format 11
 
 Requires       amsmath
 
-# The environnements defined (regular and starred) are :
+# The environments defined (regular and starred) are :
 # - Criterion
 # - Algorithm
 # - Axiom
@@ -29,6 +30,7 @@ Requires      amsmath
 # - Conclusion
 # - Fact
 # - Assumption
+# - Question
 
 Style Criterion
        CopyStyle             Theorem
@@ -251,3 +253,24 @@ Style Assumption*
          \newtheorem*{assumption*}{Assumption}
        EndPreamble
 End
+
+Style Question
+       CopyStyle             Theorem
+       DependsOn             Theorem
+       LatexName             question
+       LabelString           "Question \thetheorem."
+       Preamble
+         \theoremstyle{plain}
+         \newtheorem{question}[thm]{Question}
+       EndPreamble
+End
+
+Style Question*
+       CopyStyle             Theorem*
+       LatexName             question*
+       LabelString           "Question."
+       Preamble
+         \theoremstyle{plain}
+         \newtheorem*{question*}{Question}
+       EndPreamble
+End