lyx_mirror/lib/layouts/amsmaths-seq.inc
Jean-Marc Lasgouttes 04efe3c40a New framework for declaring generic features in textclasses.
* src/LaTeXFeatures.C (mustProvide): new method; returns true when
	isRequired is true and the feature is not provided by the
	textclass. 
	(getPackages, getLyXSGMLEntities): use mustProvide when relevant.

	* src/bufferparams.C (getEngine):
	* src/buffer.C (validate): adapt to change below.

	* src/lyxtextclass.C (read): replace tags ProvidesNatbib,
	ProvidesMakeidx, ProvidesUrl and ProvidesAmsmath by a generic
	"Provides".
	(provides): take a string as argument.
	
	* lib/scripts/layout2layout.py (convert): convert "ProvidesXxx" tags
	to "Provides xxx".

	* lib/layouts/*: update to format 4.



git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@17740 a592a061-630c-0410-9148-cb99ea01b6c8
2007-04-06 09:02:23 +00:00

210 lines
2.7 KiB
PHP

# 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>
# These are only the theorems styles environnements
# The environnements defined are :
# - Theorem
# - Corollary
# - Lemma
# - Proposition
# - Conjecture
# - Criterion
# - Algorithm
# - Fact
# - Axiom
# - Definition
# - Example
# - Condition
# - Problem
# - Exercise
# - Remark
# - Claim
# - Note
# - Notation
# - Summary
# - Acknowledgement
# - Case
# - Conclusion
Format 4
Style Theorem
Preamble
\theoremstyle{plain}
\newtheorem{thm}{Theorem}
EndPreamble
End
Style Corollary
Preamble
\theoremstyle{plain}
\newtheorem{cor}{Corollary}
EndPreamble
End
Style Lemma
Preamble
\theoremstyle{plain}
\newtheorem{lem}{Lemma}
EndPreamble
End
Style Proposition
Preamble
\theoremstyle{plain}
\newtheorem{prop}{Proposition}
EndPreamble
End
Style Conjecture
Preamble
\theoremstyle{plain}
\newtheorem{conjecture}{Conjecture}
EndPreamble
End
Style Criterion
Preamble
\theoremstyle{plain}
\newtheorem{criterion}{Criterion}
EndPreamble
End
Style Algorithm
Preamble
\theoremstyle{plain}
\newtheorem{algorithm}{Algorithm}
EndPreamble
End
Style Fact
Preamble
\theoremstyle{plain}
\newtheorem{fact}{Fact}
EndPreamble
End
Style Axiom
Preamble
\theoremstyle{plain}
\newtheorem{ax}{Axiom}
EndPreamble
End
Style Definition
Preamble
\theoremstyle{definition}
\newtheorem{defn}{Definition}
EndPreamble
End
Style Example
Preamble
\theoremstyle{definition}
\newtheorem{example}{Example}
EndPreamble
End
Style Condition
Preamble
\theoremstyle{definition}
\newtheorem{condition}{Condition}
EndPreamble
End
Style Problem
Preamble
\theoremstyle{definition}
\newtheorem{problem}{Problem}
EndPreamble
End
Style Exercise
Preamble
\theoremstyle{definition}
\newtheorem{xca}{Exercise}
EndPreamble
End
Style Remark
Preamble
\theoremstyle{remark}
\newtheorem{rem}{Remark}
EndPreamble
End
Style Claim
Preamble
\theoremstyle{remark}
\newtheorem{claim}{Claim}
EndPreamble
End
Style Note
Preamble
\theoremstyle{remark}
\newtheorem{note}{Note}
EndPreamble
End
Style Notation
Preamble
\theoremstyle{remark}
\newtheorem{notation}{Notation}
EndPreamble
End
Style Summary
Preamble
\theoremstyle{remark}
\newtheorem{summary}{Summary}
EndPreamble
End
Style Acknowledgement
Preamble
\theoremstyle{remark}
\newtheorem{acknowledgement}{Acknowledgement}
EndPreamble
End
Style Case
Preamble
\theoremstyle{remark}
\newtheorem{case}{Case}
EndPreamble
End
Style Conclusion
Preamble
\theoremstyle{remark}
\newtheorem{conclusion}{Conclusion}
EndPreamble
End