mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-09-19 22:40:26 +00:00
Fixes for theorem modules from Paul Rubin.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@30910 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
parent
a43e6129eb
commit
185b2ff053
@ -20,10 +20,6 @@ Requires amsmath,amsthm
|
|||||||
Counter theorem
|
Counter theorem
|
||||||
End
|
End
|
||||||
|
|
||||||
AddToPreamble
|
|
||||||
\theoremstyle{plain}
|
|
||||||
EndPreamble
|
|
||||||
|
|
||||||
Input theorems-order.inc
|
Input theorems-order.inc
|
||||||
Input theorems-ams.inc
|
Input theorems-ams.inc
|
||||||
Input theorems-starred.inc
|
Input theorems-starred.inc
|
||||||
|
@ -16,6 +16,7 @@ End
|
|||||||
|
|
||||||
Style Theorem
|
Style Theorem
|
||||||
Preamble
|
Preamble
|
||||||
|
\theoremstyle{plain}
|
||||||
\ifx\thechapter\undefined
|
\ifx\thechapter\undefined
|
||||||
\newtheorem{thm}{\protect\theoremname}
|
\newtheorem{thm}{\protect\theoremname}
|
||||||
\else
|
\else
|
||||||
|
@ -15,6 +15,7 @@ End
|
|||||||
|
|
||||||
Style Theorem
|
Style Theorem
|
||||||
Preamble
|
Preamble
|
||||||
|
\theoremstyle{plain}
|
||||||
\newtheorem{thm}{\protect\theoremname}[section]
|
\newtheorem{thm}{\protect\theoremname}[section]
|
||||||
EndPreamble
|
EndPreamble
|
||||||
LangPreamble
|
LangPreamble
|
||||||
|
@ -49,6 +49,7 @@ Style Theorem
|
|||||||
Series Bold
|
Series Bold
|
||||||
EndFont
|
EndFont
|
||||||
Preamble
|
Preamble
|
||||||
|
\theoremstyle{plain}
|
||||||
\newtheorem{thm}{\protect\theoremname}
|
\newtheorem{thm}{\protect\theoremname}
|
||||||
EndPreamble
|
EndPreamble
|
||||||
LangPreamble
|
LangPreamble
|
||||||
@ -67,7 +68,8 @@ Style Corollary
|
|||||||
LatexName cor
|
LatexName cor
|
||||||
LabelString "Corollary \thetheorem."
|
LabelString "Corollary \thetheorem."
|
||||||
Preamble
|
Preamble
|
||||||
\newtheorem{cor}[thm]{\protect\corollaryname}
|
\theoremstyle{plain}
|
||||||
|
\newtheorem{cor}[thm]{\protect\corollaryname}
|
||||||
EndPreamble
|
EndPreamble
|
||||||
LangPreamble
|
LangPreamble
|
||||||
\providecommand{\corollaryname}{_(Corollary)}
|
\providecommand{\corollaryname}{_(Corollary)}
|
||||||
@ -84,7 +86,8 @@ Style Lemma
|
|||||||
LatexName lem
|
LatexName lem
|
||||||
LabelString "Lemma \thetheorem."
|
LabelString "Lemma \thetheorem."
|
||||||
Preamble
|
Preamble
|
||||||
\newtheorem{lem}[thm]{\protect\lemmaname}
|
\theoremstyle{plain}
|
||||||
|
\newtheorem{lem}[thm]{\protect\lemmaname}
|
||||||
EndPreamble
|
EndPreamble
|
||||||
LangPreamble
|
LangPreamble
|
||||||
\providecommand{\lemmaname}{_(Lemma)}
|
\providecommand{\lemmaname}{_(Lemma)}
|
||||||
@ -101,7 +104,8 @@ Style Proposition
|
|||||||
LatexName prop
|
LatexName prop
|
||||||
LabelString "Proposition \thetheorem."
|
LabelString "Proposition \thetheorem."
|
||||||
Preamble
|
Preamble
|
||||||
\newtheorem{prop}[thm]{\protect\propositionname}
|
\theoremstyle{plain}
|
||||||
|
\newtheorem{prop}[thm]{\protect\propositionname}
|
||||||
EndPreamble
|
EndPreamble
|
||||||
LangPreamble
|
LangPreamble
|
||||||
\providecommand{\propositionname}{_(Proposition)}
|
\providecommand{\propositionname}{_(Proposition)}
|
||||||
@ -118,7 +122,8 @@ Style Conjecture
|
|||||||
LatexName conjecture
|
LatexName conjecture
|
||||||
LabelString "Conjecture \thetheorem."
|
LabelString "Conjecture \thetheorem."
|
||||||
Preamble
|
Preamble
|
||||||
\newtheorem{conjecture}[thm]{\protect\conjecturename}
|
\theoremstyle{plain}
|
||||||
|
\newtheorem{conjecture}[thm]{\protect\conjecturename}
|
||||||
EndPreamble
|
EndPreamble
|
||||||
LangPreamble
|
LangPreamble
|
||||||
\providecommand{\conjecturename}{_(Conjecture)}
|
\providecommand{\conjecturename}{_(Conjecture)}
|
||||||
@ -135,7 +140,8 @@ Style Fact
|
|||||||
LatexName fact
|
LatexName fact
|
||||||
LabelString "Fact \thetheorem."
|
LabelString "Fact \thetheorem."
|
||||||
Preamble
|
Preamble
|
||||||
\newtheorem{fact}[thm]{\protect\factname}
|
\theoremstyle{plain}
|
||||||
|
\newtheorem{fact}[thm]{\protect\factname}
|
||||||
EndPreamble
|
EndPreamble
|
||||||
LangPreamble
|
LangPreamble
|
||||||
\providecommand{\factname}{_(Fact)}
|
\providecommand{\factname}{_(Fact)}
|
||||||
@ -159,8 +165,8 @@ Style Definition
|
|||||||
Series Bold
|
Series Bold
|
||||||
EndFont
|
EndFont
|
||||||
Preamble
|
Preamble
|
||||||
\theoremstyle{definition}
|
\theoremstyle{definition}
|
||||||
\newtheorem{defn}[thm]{\protect\definitionname}
|
\newtheorem{defn}[thm]{\protect\definitionname}
|
||||||
EndPreamble
|
EndPreamble
|
||||||
LangPreamble
|
LangPreamble
|
||||||
\providecommand{\definitionname}{_(Definition)}
|
\providecommand{\definitionname}{_(Definition)}
|
||||||
@ -176,8 +182,8 @@ Style Example
|
|||||||
LatexName example
|
LatexName example
|
||||||
LabelString "Example \thetheorem."
|
LabelString "Example \thetheorem."
|
||||||
Preamble
|
Preamble
|
||||||
\theoremstyle{definition}
|
\theoremstyle{definition}
|
||||||
\newtheorem{example}[thm]{\protect\examplename}
|
\newtheorem{example}[thm]{\protect\examplename}
|
||||||
EndPreamble
|
EndPreamble
|
||||||
LangPreamble
|
LangPreamble
|
||||||
\providecommand{\examplename}{_(Example)}
|
\providecommand{\examplename}{_(Example)}
|
||||||
@ -193,8 +199,8 @@ Style Problem
|
|||||||
LatexName problem
|
LatexName problem
|
||||||
LabelString "Problem \thetheorem."
|
LabelString "Problem \thetheorem."
|
||||||
Preamble
|
Preamble
|
||||||
\theoremstyle{definition}
|
\theoremstyle{definition}
|
||||||
\newtheorem{problem}[thm]{\protect\problemname}
|
\newtheorem{problem}[thm]{\protect\problemname}
|
||||||
EndPreamble
|
EndPreamble
|
||||||
LangPreamble
|
LangPreamble
|
||||||
\providecommand{\problemname}{_(Problem)}
|
\providecommand{\problemname}{_(Problem)}
|
||||||
@ -210,8 +216,8 @@ Style Exercise
|
|||||||
LatexName xca
|
LatexName xca
|
||||||
LabelString "Exercise \thetheorem."
|
LabelString "Exercise \thetheorem."
|
||||||
Preamble
|
Preamble
|
||||||
\theoremstyle{definition}
|
\theoremstyle{definition}
|
||||||
\newtheorem{xca}[thm]{\protect\exercisename}
|
\newtheorem{xca}[thm]{\protect\exercisename}
|
||||||
EndPreamble
|
EndPreamble
|
||||||
LangPreamble
|
LangPreamble
|
||||||
\providecommand{\exercisename}{_(Exercise)}
|
\providecommand{\exercisename}{_(Exercise)}
|
||||||
@ -236,8 +242,8 @@ Style Remark
|
|||||||
Shape Italic
|
Shape Italic
|
||||||
EndFont
|
EndFont
|
||||||
Preamble
|
Preamble
|
||||||
\theoremstyle{remark}
|
\theoremstyle{remark}
|
||||||
\newtheorem{rem}[thm]{\protect\remarkname}
|
\newtheorem{rem}[thm]{\protect\remarkname}
|
||||||
EndPreamble
|
EndPreamble
|
||||||
LangPreamble
|
LangPreamble
|
||||||
\providecommand{\remarkname}{_(Remark)}
|
\providecommand{\remarkname}{_(Remark)}
|
||||||
@ -253,8 +259,8 @@ Style Claim
|
|||||||
LatexName claim
|
LatexName claim
|
||||||
LabelString "Claim \thetheorem."
|
LabelString "Claim \thetheorem."
|
||||||
Preamble
|
Preamble
|
||||||
\theoremstyle{remark}
|
\theoremstyle{remark}
|
||||||
\newtheorem{claim}[thm]{\protect\claimname}
|
\newtheorem{claim}[thm]{\protect\claimname}
|
||||||
EndPreamble
|
EndPreamble
|
||||||
LangPreamble
|
LangPreamble
|
||||||
\providecommand{\claimname}{_(Claim)}
|
\providecommand{\claimname}{_(Claim)}
|
||||||
@ -278,17 +284,17 @@ Style Case
|
|||||||
Shape Italic
|
Shape Italic
|
||||||
EndFont
|
EndFont
|
||||||
Preamble
|
Preamble
|
||||||
\newcounter{casectr}
|
\newcounter{casectr}
|
||||||
\newenvironment{caseenv}
|
\newenvironment{caseenv}
|
||||||
{\begin{list}{{\itshape\ \protect\casename} \arabic{casectr}.}{%
|
{\begin{list}{{\itshape\ \protect\casename} \arabic{casectr}.}{%
|
||||||
\setlength{\leftmargin}{\labelwidth}
|
\setlength{\leftmargin}{\labelwidth}
|
||||||
\addtolength{\leftmargin}{\parskip}
|
\addtolength{\leftmargin}{\parskip}
|
||||||
\setlength{\itemindent}{\listparindent}
|
\setlength{\itemindent}{\listparindent}
|
||||||
\setlength{\itemsep}{\medskipamount}
|
\setlength{\itemsep}{\medskipamount}
|
||||||
\setlength{\topsep}{\itemsep}}
|
\setlength{\topsep}{\itemsep}}
|
||||||
\setcounter{casectr}{0}
|
\setcounter{casectr}{0}
|
||||||
\usecounter{casectr}}
|
\usecounter{casectr}}
|
||||||
{\end{list}}
|
{\end{list}}
|
||||||
EndPreamble
|
EndPreamble
|
||||||
LangPreamble
|
LangPreamble
|
||||||
\providecommand{\casename}{_(Case)}
|
\providecommand{\casename}{_(Case)}
|
||||||
|
Loading…
Reference in New Issue
Block a user