From: Richard Heck Date: Sun, 4 Jan 2009 19:08:13 +0000 (+0000) Subject: Question environments, from Russ Woodroofe. X-Git-Tag: 2.0.0~7508 X-Git-Url: https://git.lyx.org/gitweb/?a=commitdiff_plain;h=e687758e9da1dffe96f41cc9b262139f3055af7b;p=features.git Question environments, from Russ Woodroofe. git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@27985 a592a061-630c-0410-9148-cb99ea01b6c8 --- diff --git a/lib/layouts/theorems-ams-extended.module b/lib/layouts/theorems-ams-extended.module index f989b05642..c307d9eb72 100644 --- a/lib/layouts/theorems-ams-extended.module +++ b/lib/layouts/theorems-ams-extended.module @@ -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 @@ -17,7 +18,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