lyx_mirror/lib/layouts/amsart-plain.layout
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

155 lines
2.6 KiB
Plaintext

#% Do not delete the line below; configure depends on this
# \DeclareLaTeXClass[amsart]{article (AMS, unnumbered)}
# AMS-Article textclass definition file. Taken from initial LyX source code
# and from the Article textclass definition file, following the AMS sample
# paper "testmath.tex" of January, 1995
# Author : David L. Johnson <dlj0@lehigh.edu>
# The "unnumbered" version has all results, unnumbered
# Probably broken by Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
# modified and modularized by Emmanuel GUREGHIAN <gureghia@boston.bertin.fr>
Format 4
Input amsart.layout
# Change the definitions of the theorem-like environments to get unnumbered
# results
Input amsmaths-plain.inc
# Use a simpler preamble.
Preamble
\usepackage{amsmath,amsthm}
\usepackage{amsfonts}
EndPreamble
Style Theorem
LabelString "Theorem."
End
Style Corollary
LabelType Static
LabelString "Corollary."
End
Style Lemma
LabelType Static
LabelString "Lemma."
End
Style Proposition
LabelType Static
LabelString "Proposition."
End
Style Conjecture
LabelType Static
LabelString "Conjecture."
End
Style Criterion
LabelType Static
LabelString "Criterion."
End
Style Algorithm
LabelType Static
LabelString "Algorithm."
End
Style Fact
LabelType Static
LabelString "Fact."
End
Style Axiom
LabelType Static
LabelString "Axiom."
End
Style Definition
LabelType Static
LabelString "Definition."
End
Style Example
LabelType Static
LabelString "Example."
End
Style Condition
LabelType Static
LabelString "Condition."
End
Style Problem
LabelType Static
LabelString "Problem."
End
Style Exercise
LabelType Static
LabelString "Exercise."
End
Style Remark
LabelType Static
LabelString "Remark."
End
Style Claim
LabelType Static
LabelString "Claim."
End
Style Note
LabelType Static
LabelString "Note."
End
Style Notation
LabelType Static
LabelString "Notation."
End
Style Summary
LabelType Static
LabelString "Summary."
End
Style Acknowledgement
LabelType Static
LabelString "Acknowledgement."
End
Style Case
LabelType Static
LabelString "Case."
End
Style Conclusion
LabelType Static
LabelString "Conclusion."
End