Question environments, from Russ Woodroofe.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@27985 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
Richard Heck 2009-01-04 19:08:13 +00:00
parent 9c44e16aea
commit e687758e9d

View 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
@ -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