2008-01-10 04:58:20 +00:00
|
|
|
# Original Author : David L. Johnson <dlj0@lehigh.edu>
|
|
|
|
# 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>
|
2020-12-05 22:09:17 +00:00
|
|
|
# Modularized Jan 08 by Richard Kimberly Heck <rikiheck@lyx.org>
|
2007-08-31 15:01:17 +00:00
|
|
|
|
2011-12-13 19:50:36 +00:00
|
|
|
# The environments defined are :
|
2007-08-31 15:01:17 +00:00
|
|
|
# - Theorem
|
|
|
|
# - Corollary
|
|
|
|
# - Lemma
|
|
|
|
# - Proposition
|
|
|
|
# - Conjecture
|
2011-06-17 04:10:49 +00:00
|
|
|
# - Fact
|
2007-08-31 15:01:17 +00:00
|
|
|
# - Definition
|
|
|
|
# - Example
|
2008-01-10 04:58:20 +00:00
|
|
|
# - Problem
|
2007-08-31 15:01:17 +00:00
|
|
|
# - Exercise
|
2015-11-18 00:14:30 +00:00
|
|
|
# - Solution
|
2007-08-31 15:01:17 +00:00
|
|
|
# - Remark
|
|
|
|
# - Claim
|
2011-12-13 19:50:36 +00:00
|
|
|
# - Case (by inclusion)
|
2008-01-10 04:58:20 +00:00
|
|
|
|
2024-08-12 10:29:14 +00:00
|
|
|
Format 107
|
2015-11-18 01:35:14 +00:00
|
|
|
|
|
|
|
OutlinerName thm "Definitions & Theorems"
|
2007-08-31 15:01:17 +00:00
|
|
|
|
|
|
|
Style Theorem
|
2013-01-30 11:36:49 +00:00
|
|
|
Category Reasoning
|
2007-08-31 15:01:17 +00:00
|
|
|
Margin First_Dynamic
|
|
|
|
LatexType Environment
|
|
|
|
LatexName thm
|
2022-12-31 10:28:56 +00:00
|
|
|
NextNoIndent 1
|
2013-09-03 15:43:33 +00:00
|
|
|
ResetArgs 1
|
2015-11-18 01:35:14 +00:00
|
|
|
AddToToc thm
|
|
|
|
IsTocCaption 1
|
2012-11-19 13:21:02 +00:00
|
|
|
Argument 1
|
2013-09-03 17:29:49 +00:00
|
|
|
LabelString "Additional Theorem Text"
|
|
|
|
Tooltip "Additional text appended to the theorem header"
|
2015-11-18 01:35:14 +00:00
|
|
|
IsTocCaption 1
|
2012-11-19 13:21:02 +00:00
|
|
|
EndArgument
|
2007-08-31 15:01:17 +00:00
|
|
|
LabelSep xx
|
|
|
|
ParIndent MMM
|
|
|
|
ParSkip 0.4
|
|
|
|
ItemSep 0.2
|
|
|
|
TopSep 0.7
|
|
|
|
BottomSep 0.7
|
|
|
|
ParSep 0.3
|
|
|
|
Align Block
|
2008-01-10 07:13:01 +00:00
|
|
|
AlignPossible Left
|
2013-02-09 18:37:06 +00:00
|
|
|
LabelType Static
|
2007-08-31 15:01:17 +00:00
|
|
|
LabelCounter theorem
|
2008-01-10 04:58:20 +00:00
|
|
|
LabelString "Theorem \thetheorem."
|
2007-08-31 15:01:17 +00:00
|
|
|
Font
|
2022-12-31 10:28:56 +00:00
|
|
|
Shape Italic
|
|
|
|
Size Normal
|
2007-08-31 15:01:17 +00:00
|
|
|
EndFont
|
|
|
|
LabelFont
|
2022-12-31 10:28:56 +00:00
|
|
|
Shape Up
|
|
|
|
Series Bold
|
2007-08-31 15:01:17 +00:00
|
|
|
EndFont
|
|
|
|
Preamble
|
2009-08-07 19:06:12 +00:00
|
|
|
\theoremstyle{plain}
|
2009-02-17 20:25:56 +00:00
|
|
|
\newtheorem{thm}{\protect\theoremname}
|
2007-08-31 15:01:17 +00:00
|
|
|
EndPreamble
|
2009-02-17 20:25:56 +00:00
|
|
|
LangPreamble
|
|
|
|
\providecommand{\theoremname}{_(Theorem)}
|
|
|
|
EndLangPreamble
|
|
|
|
BabelPreamble
|
|
|
|
\addto\captions$$lang{\renewcommand{\theoremname}{_(Theorem)}}
|
|
|
|
EndBabelPreamble
|
2008-03-09 10:13:59 +00:00
|
|
|
Requires amsthm
|
2022-12-22 03:38:36 +00:00
|
|
|
DocBookWrapperTag figure
|
|
|
|
DocBookWrapperAttr role='theorem'
|
2020-08-31 00:39:37 +00:00
|
|
|
DocBookTag para
|
2022-12-22 03:38:36 +00:00
|
|
|
DocBookGenerateTitle true
|
2023-01-07 02:05:55 +00:00
|
|
|
DocBookWrapperMergeWithPrevious true
|
2007-08-31 15:01:17 +00:00
|
|
|
End
|
|
|
|
|
2008-01-10 04:58:20 +00:00
|
|
|
|
2007-08-31 15:01:17 +00:00
|
|
|
Style Corollary
|
|
|
|
CopyStyle Theorem
|
2015-11-18 01:35:14 +00:00
|
|
|
DependsOn Theorem
|
2007-08-31 15:01:17 +00:00
|
|
|
LatexName cor
|
|
|
|
LabelString "Corollary \thetheorem."
|
|
|
|
Preamble
|
2009-08-07 19:06:12 +00:00
|
|
|
\theoremstyle{plain}
|
2022-12-31 10:28:56 +00:00
|
|
|
\newtheorem{cor}[thm]{\protect\corollaryname}
|
2007-08-31 15:01:17 +00:00
|
|
|
EndPreamble
|
2009-02-17 20:25:56 +00:00
|
|
|
LangPreamble
|
|
|
|
\providecommand{\corollaryname}{_(Corollary)}
|
|
|
|
EndLangPreamble
|
|
|
|
BabelPreamble
|
|
|
|
\addto\captions$$lang{\renewcommand{\corollaryname}{_(Corollary)}}
|
|
|
|
EndBabelPreamble
|
2022-12-22 03:38:36 +00:00
|
|
|
DocBookWrapperTag figure
|
|
|
|
DocBookWrapperAttr role='corollary'
|
2020-08-31 00:39:37 +00:00
|
|
|
DocBookTag para
|
2022-12-22 03:38:36 +00:00
|
|
|
DocBookGenerateTitle true
|
2023-01-07 02:05:55 +00:00
|
|
|
DocBookWrapperMergeWithPrevious true
|
2007-08-31 15:01:17 +00:00
|
|
|
End
|
|
|
|
|
2008-01-10 04:58:20 +00:00
|
|
|
|
2007-08-31 15:01:17 +00:00
|
|
|
Style Lemma
|
|
|
|
CopyStyle Theorem
|
2015-11-18 01:35:14 +00:00
|
|
|
DependsOn Theorem
|
2007-08-31 15:01:17 +00:00
|
|
|
LatexName lem
|
|
|
|
LabelString "Lemma \thetheorem."
|
|
|
|
Preamble
|
2009-08-07 19:06:12 +00:00
|
|
|
\theoremstyle{plain}
|
2022-12-31 10:28:56 +00:00
|
|
|
\newtheorem{lem}[thm]{\protect\lemmaname}
|
2007-08-31 15:01:17 +00:00
|
|
|
EndPreamble
|
2009-02-17 20:25:56 +00:00
|
|
|
LangPreamble
|
|
|
|
\providecommand{\lemmaname}{_(Lemma)}
|
|
|
|
EndLangPreamble
|
|
|
|
BabelPreamble
|
|
|
|
\addto\captions$$lang{\renewcommand{\lemmaname}{_(Lemma)}}
|
|
|
|
EndBabelPreamble
|
2022-12-22 03:38:36 +00:00
|
|
|
DocBookWrapperTag figure
|
|
|
|
DocBookWrapperAttr role='lemma'
|
2020-08-31 00:39:37 +00:00
|
|
|
DocBookTag para
|
2022-12-22 03:38:36 +00:00
|
|
|
DocBookGenerateTitle true
|
2023-01-07 02:05:55 +00:00
|
|
|
DocBookWrapperMergeWithPrevious true
|
2007-08-31 15:01:17 +00:00
|
|
|
End
|
|
|
|
|
2008-01-10 04:58:20 +00:00
|
|
|
|
2007-08-31 15:01:17 +00:00
|
|
|
Style Proposition
|
|
|
|
CopyStyle Theorem
|
2015-11-18 01:35:14 +00:00
|
|
|
DependsOn Theorem
|
2007-08-31 15:01:17 +00:00
|
|
|
LatexName prop
|
|
|
|
LabelString "Proposition \thetheorem."
|
|
|
|
Preamble
|
2009-08-07 19:06:12 +00:00
|
|
|
\theoremstyle{plain}
|
2022-12-31 10:28:56 +00:00
|
|
|
\newtheorem{prop}[thm]{\protect\propositionname}
|
2007-08-31 15:01:17 +00:00
|
|
|
EndPreamble
|
2009-02-17 20:25:56 +00:00
|
|
|
LangPreamble
|
|
|
|
\providecommand{\propositionname}{_(Proposition)}
|
|
|
|
EndLangPreamble
|
|
|
|
BabelPreamble
|
|
|
|
\addto\captions$$lang{\renewcommand{\propositionname}{_(Proposition)}}
|
|
|
|
EndBabelPreamble
|
2022-12-22 03:38:36 +00:00
|
|
|
DocBookWrapperTag figure
|
|
|
|
DocBookWrapperAttr role='proposition'
|
2020-08-31 00:39:37 +00:00
|
|
|
DocBookTag para
|
2022-12-22 03:38:36 +00:00
|
|
|
DocBookGenerateTitle true
|
2023-01-07 02:05:55 +00:00
|
|
|
DocBookWrapperMergeWithPrevious true
|
2007-08-31 15:01:17 +00:00
|
|
|
End
|
|
|
|
|
2008-01-10 04:58:20 +00:00
|
|
|
|
2007-08-31 15:01:17 +00:00
|
|
|
Style Conjecture
|
|
|
|
CopyStyle Theorem
|
2015-11-18 01:35:14 +00:00
|
|
|
DependsOn Theorem
|
2007-08-31 15:01:17 +00:00
|
|
|
LatexName conjecture
|
|
|
|
LabelString "Conjecture \thetheorem."
|
|
|
|
Preamble
|
2009-08-07 19:06:12 +00:00
|
|
|
\theoremstyle{plain}
|
2022-12-31 10:28:56 +00:00
|
|
|
\newtheorem{conjecture}[thm]{\protect\conjecturename}
|
2007-08-31 15:01:17 +00:00
|
|
|
EndPreamble
|
2009-02-17 20:25:56 +00:00
|
|
|
LangPreamble
|
|
|
|
\providecommand{\conjecturename}{_(Conjecture)}
|
|
|
|
EndLangPreamble
|
|
|
|
BabelPreamble
|
|
|
|
\addto\captions$$lang{\renewcommand{\conjecturename}{_(Conjecture)}}
|
|
|
|
EndBabelPreamble
|
2022-12-22 03:38:36 +00:00
|
|
|
DocBookWrapperTag figure
|
|
|
|
DocBookWrapperAttr role='conjecture'
|
2020-08-31 00:39:37 +00:00
|
|
|
DocBookTag para
|
2022-12-22 03:38:36 +00:00
|
|
|
DocBookGenerateTitle true
|
2023-01-07 02:05:55 +00:00
|
|
|
DocBookWrapperMergeWithPrevious true
|
2007-08-31 15:01:17 +00:00
|
|
|
End
|
|
|
|
|
2008-01-10 04:58:20 +00:00
|
|
|
|
2007-08-31 15:01:17 +00:00
|
|
|
Style Fact
|
|
|
|
CopyStyle Theorem
|
2015-11-18 01:35:14 +00:00
|
|
|
DependsOn Theorem
|
2007-08-31 15:01:17 +00:00
|
|
|
LatexName fact
|
|
|
|
LabelString "Fact \thetheorem."
|
|
|
|
Preamble
|
2009-08-07 19:06:12 +00:00
|
|
|
\theoremstyle{plain}
|
2022-12-31 10:28:56 +00:00
|
|
|
\newtheorem{fact}[thm]{\protect\factname}
|
2007-08-31 15:01:17 +00:00
|
|
|
EndPreamble
|
2009-02-17 20:25:56 +00:00
|
|
|
LangPreamble
|
|
|
|
\providecommand{\factname}{_(Fact)}
|
|
|
|
EndLangPreamble
|
|
|
|
BabelPreamble
|
|
|
|
\addto\captions$$lang{\renewcommand{\factname}{_(Fact)}}
|
|
|
|
EndBabelPreamble
|
2022-12-22 03:38:36 +00:00
|
|
|
DocBookWrapperTag figure
|
|
|
|
DocBookWrapperAttr role='fact'
|
2020-08-31 00:39:37 +00:00
|
|
|
DocBookTag para
|
2022-12-22 03:38:36 +00:00
|
|
|
DocBookGenerateTitle true
|
2023-01-07 02:05:55 +00:00
|
|
|
DocBookWrapperMergeWithPrevious true
|
2007-08-31 15:01:17 +00:00
|
|
|
End
|
|
|
|
|
2008-01-10 04:58:20 +00:00
|
|
|
|
2007-08-31 15:01:17 +00:00
|
|
|
Style Definition
|
|
|
|
CopyStyle Theorem
|
2015-11-18 01:35:14 +00:00
|
|
|
DependsOn Theorem
|
2007-08-31 15:01:17 +00:00
|
|
|
LatexName defn
|
|
|
|
LabelString "Definition \thetheorem."
|
|
|
|
Font
|
|
|
|
Shape Up
|
|
|
|
EndFont
|
|
|
|
LabelFont
|
|
|
|
Shape Up
|
|
|
|
Series Bold
|
|
|
|
EndFont
|
|
|
|
Preamble
|
2009-08-07 19:06:12 +00:00
|
|
|
\theoremstyle{definition}
|
2022-12-31 10:28:56 +00:00
|
|
|
\newtheorem{defn}[thm]{\protect\definitionname}
|
2007-08-31 15:01:17 +00:00
|
|
|
EndPreamble
|
2009-02-17 20:25:56 +00:00
|
|
|
LangPreamble
|
|
|
|
\providecommand{\definitionname}{_(Definition)}
|
|
|
|
EndLangPreamble
|
|
|
|
BabelPreamble
|
|
|
|
\addto\captions$$lang{\renewcommand{\definitionname}{_(Definition)}}
|
|
|
|
EndBabelPreamble
|
2022-12-22 03:38:36 +00:00
|
|
|
DocBookWrapperTag figure
|
|
|
|
DocBookWrapperAttr role='definition'
|
2020-08-31 00:39:37 +00:00
|
|
|
DocBookTag para
|
2022-12-22 03:38:36 +00:00
|
|
|
DocBookGenerateTitle true
|
2023-01-07 02:05:55 +00:00
|
|
|
DocBookWrapperMergeWithPrevious true
|
2007-08-31 15:01:17 +00:00
|
|
|
End
|
|
|
|
|
|
|
|
|
|
|
|
Style Example
|
|
|
|
CopyStyle Definition
|
|
|
|
LatexName example
|
|
|
|
LabelString "Example \thetheorem."
|
|
|
|
Preamble
|
2009-08-07 19:06:12 +00:00
|
|
|
\theoremstyle{definition}
|
2022-12-31 10:28:56 +00:00
|
|
|
\newtheorem{example}[thm]{\protect\examplename}
|
2007-08-31 15:01:17 +00:00
|
|
|
EndPreamble
|
2009-02-17 20:25:56 +00:00
|
|
|
LangPreamble
|
|
|
|
\providecommand{\examplename}{_(Example)}
|
|
|
|
EndLangPreamble
|
|
|
|
BabelPreamble
|
|
|
|
\addto\captions$$lang{\renewcommand{\examplename}{_(Example)}}
|
|
|
|
EndBabelPreamble
|
2023-08-01 01:28:15 +00:00
|
|
|
DocBookWrapperTag example
|
2020-08-31 00:39:37 +00:00
|
|
|
DocBookTag para
|
2020-11-16 05:09:03 +00:00
|
|
|
DocBookAttr ""
|
2007-08-31 15:01:17 +00:00
|
|
|
End
|
|
|
|
|
|
|
|
|
2008-01-10 04:58:20 +00:00
|
|
|
Style Problem
|
|
|
|
CopyStyle Definition
|
|
|
|
LatexName problem
|
|
|
|
LabelString "Problem \thetheorem."
|
|
|
|
Preamble
|
2009-08-07 19:06:12 +00:00
|
|
|
\theoremstyle{definition}
|
2022-12-31 10:28:56 +00:00
|
|
|
\newtheorem{problem}[thm]{\protect\problemname}
|
2008-01-10 04:58:20 +00:00
|
|
|
EndPreamble
|
2009-02-17 20:25:56 +00:00
|
|
|
LangPreamble
|
|
|
|
\providecommand{\problemname}{_(Problem)}
|
|
|
|
EndLangPreamble
|
|
|
|
BabelPreamble
|
|
|
|
\addto\captions$$lang{\renewcommand{\problemname}{_(Problem)}}
|
|
|
|
EndBabelPreamble
|
2022-12-22 03:38:36 +00:00
|
|
|
DocBookWrapperTag figure
|
|
|
|
DocBookWrapperAttr role='problem'
|
2020-08-31 00:39:37 +00:00
|
|
|
DocBookTag para
|
2022-12-22 03:38:36 +00:00
|
|
|
DocBookGenerateTitle true
|
2023-01-07 02:05:55 +00:00
|
|
|
DocBookWrapperMergeWithPrevious true
|
2008-01-10 04:58:20 +00:00
|
|
|
End
|
|
|
|
|
|
|
|
|
2007-08-31 15:01:17 +00:00
|
|
|
Style Exercise
|
|
|
|
CopyStyle Definition
|
|
|
|
LatexName xca
|
|
|
|
LabelString "Exercise \thetheorem."
|
|
|
|
Preamble
|
2009-08-07 19:06:12 +00:00
|
|
|
\theoremstyle{definition}
|
2022-12-31 10:28:56 +00:00
|
|
|
\newtheorem{xca}[thm]{\protect\exercisename}
|
2007-08-31 15:01:17 +00:00
|
|
|
EndPreamble
|
2009-02-17 20:25:56 +00:00
|
|
|
LangPreamble
|
|
|
|
\providecommand{\exercisename}{_(Exercise)}
|
|
|
|
EndLangPreamble
|
|
|
|
BabelPreamble
|
|
|
|
\addto\captions$$lang{\renewcommand{\exercisename}{_(Exercise)}}
|
|
|
|
EndBabelPreamble
|
2022-12-22 03:38:36 +00:00
|
|
|
DocBookWrapperTag figure
|
|
|
|
DocBookWrapperAttr role='exercise'
|
2020-08-31 00:39:37 +00:00
|
|
|
DocBookTag para
|
2022-12-22 03:38:36 +00:00
|
|
|
DocBookGenerateTitle true
|
2023-01-07 02:05:55 +00:00
|
|
|
DocBookWrapperMergeWithPrevious true
|
2007-08-31 15:01:17 +00:00
|
|
|
End
|
|
|
|
|
|
|
|
|
2015-11-18 00:14:30 +00:00
|
|
|
Style Solution
|
|
|
|
CopyStyle Definition
|
|
|
|
LatexName sol
|
|
|
|
LabelString "Solution \thetheorem."
|
|
|
|
Preamble
|
|
|
|
\theoremstyle{definition}
|
2022-12-31 10:28:56 +00:00
|
|
|
\newtheorem{sol}[thm]{\protect\solutionname}
|
2015-11-18 00:14:30 +00:00
|
|
|
EndPreamble
|
|
|
|
LangPreamble
|
|
|
|
\providecommand{\solutionname}{_(Solution)}
|
|
|
|
EndLangPreamble
|
|
|
|
BabelPreamble
|
|
|
|
\addto\captions$$lang{\renewcommand{\solutionname}{_(Solution)}}
|
|
|
|
EndBabelPreamble
|
2022-12-22 03:38:36 +00:00
|
|
|
DocBookWrapperTag figure
|
|
|
|
DocBookWrapperAttr role='solution'
|
2020-08-31 00:39:37 +00:00
|
|
|
DocBookTag para
|
2022-12-22 03:38:36 +00:00
|
|
|
DocBookGenerateTitle true
|
2023-01-07 02:05:55 +00:00
|
|
|
DocBookWrapperMergeWithPrevious true
|
2015-11-18 00:14:30 +00:00
|
|
|
End
|
|
|
|
|
|
|
|
|
2007-08-31 15:01:17 +00:00
|
|
|
Style Remark
|
|
|
|
CopyStyle Theorem
|
2015-11-18 01:35:14 +00:00
|
|
|
DependsOn Theorem
|
2007-08-31 15:01:17 +00:00
|
|
|
LatexName rem
|
|
|
|
LabelString "Remark \thetheorem."
|
|
|
|
Font
|
2022-12-31 10:28:56 +00:00
|
|
|
Shape Up
|
|
|
|
Size Normal
|
2007-08-31 15:01:17 +00:00
|
|
|
EndFont
|
|
|
|
LabelFont
|
2022-12-31 10:28:56 +00:00
|
|
|
Series Medium
|
|
|
|
Shape Italic
|
2007-08-31 15:01:17 +00:00
|
|
|
EndFont
|
|
|
|
Preamble
|
2009-08-07 19:06:12 +00:00
|
|
|
\theoremstyle{remark}
|
2022-12-31 10:28:56 +00:00
|
|
|
\newtheorem{rem}[thm]{\protect\remarkname}
|
2007-08-31 15:01:17 +00:00
|
|
|
EndPreamble
|
2009-02-17 20:25:56 +00:00
|
|
|
LangPreamble
|
|
|
|
\providecommand{\remarkname}{_(Remark)}
|
|
|
|
EndLangPreamble
|
|
|
|
BabelPreamble
|
|
|
|
\addto\captions$$lang{\renewcommand{\remarkname}{_(Remark)}}
|
|
|
|
EndBabelPreamble
|
2022-12-22 03:38:36 +00:00
|
|
|
DocBookWrapperTag figure
|
|
|
|
DocBookWrapperAttr role='remark'
|
|
|
|
DocBookTag para
|
|
|
|
DocBookGenerateTitle true
|
2023-01-07 02:05:55 +00:00
|
|
|
DocBookWrapperMergeWithPrevious true
|
2007-08-31 15:01:17 +00:00
|
|
|
End
|
|
|
|
|
|
|
|
|
|
|
|
Style Claim
|
|
|
|
CopyStyle Remark
|
|
|
|
LatexName claim
|
|
|
|
LabelString "Claim \thetheorem."
|
|
|
|
Preamble
|
2009-08-07 19:06:12 +00:00
|
|
|
\theoremstyle{remark}
|
2022-12-31 10:28:56 +00:00
|
|
|
\newtheorem{claim}[thm]{\protect\claimname}
|
2007-08-31 15:01:17 +00:00
|
|
|
EndPreamble
|
2009-02-17 20:25:56 +00:00
|
|
|
LangPreamble
|
|
|
|
\providecommand{\claimname}{_(Claim)}
|
|
|
|
EndLangPreamble
|
|
|
|
BabelPreamble
|
|
|
|
\addto\captions$$lang{\renewcommand{\claimname}{_(Claim)}}
|
|
|
|
EndBabelPreamble
|
2022-12-22 03:38:36 +00:00
|
|
|
DocBookWrapperTag figure
|
|
|
|
DocBookWrapperAttr role='claim'
|
2020-08-31 00:39:37 +00:00
|
|
|
DocBookTag para
|
2022-12-22 03:38:36 +00:00
|
|
|
DocBookGenerateTitle true
|
2023-01-07 02:05:55 +00:00
|
|
|
DocBookWrapperMergeWithPrevious true
|
2007-08-31 15:01:17 +00:00
|
|
|
End
|
|
|
|
|
2011-12-13 19:50:36 +00:00
|
|
|
Input theorems-case.inc
|
2010-07-11 13:45:21 +00:00
|
|
|
Input theorems-refprefix.inc
|