]> git.lyx.org Git - lyx.git/blobdiff - lib/layouts/theorems-ams-extended-chap-bytype.module
Typo
[lyx.git] / lib / layouts / theorems-ams-extended-chap-bytype.module
index e7c66d277699ac56649a63fadf1a367ec483ed75..168c406d2fe0cd6753d4418a9913a2d0cd92579a 100644 (file)
@@ -3,7 +3,7 @@
 #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
 # Probably broken by Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
 # modified and modularized by Emmanuel GUREGHIAN <gureghia@boston.bertin.fr>
 # Tinkered with Sep. '07 by Paul Rubin <rubin@msu.edu>
-# Modularized Jan 08 by Richard Heck <rgheck@comcast.net>
+# Modularized Jan 08 by Richard Kimberly Heck <rikiheck@lyx.org>
 # 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
 
@@ -32,55 +32,40 @@ 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
+       Within chapter
 End
 Counter algorithm
-       GuiName Algorithm
-       Within         chapter
+       Within chapter
 End
 Counter axiom
-       GuiName Axiom
-       Within         chapter
+       Within chapter
 End
 Counter condition
-       GuiName Condition
-       Within         chapter
+       Within chapter
 End
 Counter note
-       GuiName Note
-       Within         chapter
+       Within chapter
 End
 Counter notation
-       GuiName Notation
-       Within         chapter
+       Within chapter
 End
 Counter summary
-       GuiName Summary
-       Within         chapter
-End
-Counter acknowledgement
-       GuiName Acknowledgement
-       Within         chapter
+       Within chapter
 End
 Counter conclusion
-       GuiName Conclusion
-       Within         chapter
+       Within chapter
 End
 Counter assumption
-       GuiName Assumption
-       Within         chapter
+       Within chapter
 End
 Counter question
-       GuiName Question
-       Within         chapter
+       Within chapter
 End
 
 
@@ -400,51 +385,6 @@ Style Summary*
 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