#DescriptionBegin
#Defines some additional theorem environments for use with the
#AMS theorems packages. Includes Criterion, Algorithm, Axiom,
-#Condition, Note, Notation, Summary, Acknowledgement, Conclusion,
+#Condition, Note, Notation, Summary, Conclusion,
#Assumption, and Case, in both numbered and non-numbered forms.
#Contrary to the plain AMS-Extended module, the different theorem
#types provided here each have a separate counter, restarted with each
# Hacked June '09 by Paul Rubin <rubin@msu.edu> to use separate counters
# Chapter dependence added Oct '16 by Andrew Parsloe <aparsloe@clear.net.nz>
-Format 89
+Format 104
Requires amsmath
# - Note
# - Notation
# - Summary
-# - Acknowledgement
# - Conclusion
# - Assumption
# - Question
-# We need separate counters for each theorem-like style.
+Input theorems-counters-extended-bytype.inc
Counter criterion
- GuiName Criterion
Within chapter
End
Counter algorithm
- GuiName Algorithm
Within chapter
- LaTeXName lyxalgorithm
End
Counter axiom
- GuiName Axiom
Within chapter
- LaTeXName ax
End
Counter condition
- GuiName Condition
Within chapter
End
Counter note
- GuiName Note
Within chapter
End
Counter notation
- GuiName Notation
Within chapter
End
Counter summary
- GuiName Summary
- Within chapter
-End
-Counter acknowledgement
- GuiName Acknowledgement
Within chapter
End
Counter conclusion
- GuiName Conclusion
Within chapter
End
Counter assumption
- GuiName Assumption
Within chapter
End
Counter question
- GuiName Question
Within chapter
End
End
-Style Acknowledgement
- CopyStyle Remark
- LatexName acknowledgement
- LabelString "Acknowledgement \theacknowledgement."
- Preamble
- \theoremstyle{remark}
- \ifx\thechapter\undefined
- \newtheorem{acknowledgement}{\protect\acknowledgementname}
- \else
- \newtheorem{acknowledgement}{\protect\acknowledgementname}[chapter]
- \fi
- EndPreamble
- LangPreamble
- \providecommand{\acknowledgementname}{_(Acknowledgement)}
- EndLangPreamble
- BabelPreamble
- \addto\captions$$lang{\renewcommand{\acknowledgementname}{_(Acknowledgement)}}
- EndBabelPreamble
- LabelCounter acknowledgement
- DocBookTag para
- DocBookAttr role='acknowledgement'
- DocBookItemTag ""
-End
-
-
-Style Acknowledgement*
- CopyStyle Remark*
- LatexName acknowledgement*
- LabelString "Acknowledgement."
- Preamble
- \theoremstyle{remark}
- \newtheorem*{acknowledgement*}{\protect\acknowledgementname}
- EndPreamble
- LangPreamble
- \providecommand{\acknowledgementname}{_(Acknowledgement)}
- EndLangPreamble
- BabelPreamble
- \addto\captions$$lang{\renewcommand{\acknowledgementname}{_(Acknowledgement)}}
- EndBabelPreamble
- DocBookTag para
- DocBookAttr role='acknowledgement'
- DocBookItemTag ""
-End
-
-
Style Conclusion
CopyStyle Remark
LatexName conclusion