]> git.lyx.org Git - lyx.git/blobdiff - lib/layouts/theorems-withinchap.module
Change LFUN_FONT_CODE to LFUN_FONT_TYPEWERITER, possibly in preparation for a move...
[lyx.git] / lib / layouts / theorems-withinchap.module
index 644f29f12fa80976b919209e06027a3dba20bf3a..9aa10639a360dca86d44288e1eaf6e554be0eb44 100644 (file)
@@ -1,24 +1,8 @@
-#\DeclareLyXModule{Defines some theorem environments for use with non-AMS classes. The theorems are numbered within chapters of the document. This module should therefore be used only with document classes that define a chapter environment.}{Theorems (By Chapter)}
+#\DeclareLyXModule{Defines some theorem environments for use with non-AMS classes. The theorems are numbered within chapters of the document. NOTES: This module should therefore be used only with document classes that define a chapter environment. Only one of the theorem modules should be used at a time.}{Theorems (By Chapter)}
 
 # Author: Richard Heck <rgheck@comcast.net>
 # Adapted from amsmaths.inc
 
-# The environnements defined are :
-# - Theorem
-# - Corollary
-# - Lemma
-# - Proposition
-# - Conjecture
-# - Definition
-# - Example
-# - Exercise
-# - Remark
-# - Note
-# - Claim
-# - Case
-# - Conclusion
-# - Fact
-
 Format 5
 
 Counter
@@ -26,162 +10,4 @@ Counter
        Within         chapter
 End
 
-
-Style Theorem
-       Margin                First_Dynamic
-       LatexType             Environment
-       LatexName             thm
-       NextNoIndent          1
-       LabelSep              xx
-       ParIndent             MMM
-       ParSkip               0.4
-       ItemSep               0.2
-       TopSep                0.7
-       BottomSep             0.7
-       ParSep                0.3
-       Align                 Block
-       AlignPossible         Block, Left
-       LabelType             Counter
-       LabelCounter          theorem
-       LabelString           "Theorem \thechapter.\thetheorem."
-       Font
-         Shape               Italic
-         Size                Normal
-       EndFont
-       LabelFont
-         Shape               Up
-         Series              Bold
-       EndFont
-       Preamble
-               \newtheorem{thm}{Theorem}[chapter]
-       EndPreamble
-End
-
-Style Corollary
-       CopyStyle             Theorem
-       LatexName             cor
-       LabelString           "Corollary \thechapter.\thetheorem."
-       Preamble
-         \newtheorem{cor}[thm]{Corollary}
-       EndPreamble
-End
-
-Style Lemma
-       CopyStyle             Theorem
-       LatexName             lem
-       LabelString           "Lemma \thechapter.\thetheorem."
-       Preamble
-         \newtheorem{lem}[thm]{Lemma}
-       EndPreamble
-End
-
-Style Proposition
-       CopyStyle             Theorem
-       LatexName             prop
-       LabelString           "Proposition \thechapter.\thetheorem."
-       Preamble
-         \newtheorem{prop}[thm]{Proposition}
-       EndPreamble
-End
-
-Style Conjecture
-       CopyStyle             Theorem
-       LatexName             conjecture
-       LabelString           "Conjecture \thechapter.\thetheorem."
-       Preamble
-         \newtheorem{conjecture}[thm]{Conjecture}
-       EndPreamble
-End
-
-Style Fact
-       CopyStyle             Theorem
-       LatexName             fact
-       LabelString           "Fact \thechapter.\thetheorem."
-       Preamble
-         \newtheorem{fact}[thm]{Fact}
-       EndPreamble
-End
-
-Style Definition
-       CopyStyle             Theorem
-       LatexName             defn
-       LabelString           "Definition \thechapter.\thetheorem."
-       Font
-         Shape               Up
-       EndFont
-       LabelFont
-         Shape               Up
-         Series              Bold
-       EndFont
-       Preamble
-         \newtheorem{defn}[thm]{Definition}
-       EndPreamble
-End
-
-
-Style Example
-       CopyStyle             Definition
-       LatexName             example
-       LabelString           "Example \thechapter.\thetheorem."
-       Preamble
-         \newtheorem{example}[thm]{Example}
-       EndPreamble
-End
-
-
-Style Exercise
-       CopyStyle             Definition
-       LatexName             xca
-       LabelString           "Exercise \thechapter.\thetheorem."
-       Preamble
-         \newtheorem{xca}{Exercise}
-       EndPreamble
-End
-
-
-Style Remark
-       CopyStyle             Theorem
-       LatexName             rem
-       LabelString           "Remark \thechapter.\thetheorem."
-       Font
-         Shape               Up
-         Size                Normal
-       EndFont
-       LabelFont
-         Series              Medium
-         Shape               Italic
-       EndFont
-       Preamble
-         \newtheorem{rem}[thm]{Remark}
-       EndPreamble
-End
-
-
-Style Claim
-       CopyStyle             Remark
-       LatexName             claim
-       LabelString           "Claim \thechapter.\thetheorem."
-       Preamble
-         \newtheorem{claim}[thm]{Claim}
-       EndPreamble
-End
-
-Style Case
-       CopyStyle             Remark
-       LatexName             case
-       LabelString           "Case \thechapter.\thetheorem."
-       Preamble
-         \newtheorem{case}[thm]{Case}
-       EndPreamble
-End
-
-
-Style Conclusion
-       CopyStyle             Remark
-       LatexName             conclusion
-       LabelString           "Conclusion \thechapter.\thetheorem."
-       Preamble
-         \newtheorem{conclusion}[thm]{Conclusion}
-       EndPreamble
-End
-
+Input theorems.inc