lyx_mirror/lib/layouts/ijmpd.layout
Jürgen Spitzmüller 9e5eebc14c *** Requires tag for classes, layouts and custom insets ***
* src/TextClass{cpp,h}:
	- implement Requires tag for class and InsetLayout.
* src/Layout.{cpp,h}:
	- implement Requires tag for layouts.
	- increase layouts format to 6.
* src/Paragraph.cpp:
	- request required features for paragraph layouts.
* src/LaTeXFeatures.cpp:
	- add some packages needed by modules.
	- remove Preamble method for InsetLayout. This is now done
	  in InsetFlex::validate.
* src/BufferParams.cpp (validate):
	- request required features for the class.
* src/insets/InsetLayout.h:
	- new member "requires".
* src/insets/InsetFlex.{cpp,h}:
	- implement validate method and request required features and preamble snippets.

* lib/layouts/*.{layout,module,inc}:
	- increase layouts format to 6.
	- use Requires tags in some modules (more can be done later).

* lib/doc/Customization.lyx:
	- document Requires tag.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@22414 a592a061-630c-0410-9148-cb99ea01b6c8
2008-01-07 16:59:10 +00:00

362 lines
7.6 KiB
Plaintext

#% Do not delete the line below; configure depends on this
# \DeclareLaTeXClass[ws-ijmpd]{article (IJMPD)}
#
# Textclass definition file for ws-ijmpd.cls
# For publications in the International Journal of Modern Physics D
# (usually abbreviated as IJMPD).
#
# Author: Panayotis "PAP" Papasotiriou <papasot@physics.upatras.gr>
#
# Version 1 2002-09-24 - First version from scratch.
# Version 2 2003-03-03 - Updated for LyX 1.3.0.
# Version 3 2006-04-09 - Updated for LyX 1.4.0; all environments defined by
# ijmpd are now supported by LyX.
Format 6
Input stdclass.inc
Input numarticle.inc
NoStyle Chapter
NoStyle Chapter*
NoStyle Part
NoStyle Verse
Sides 1
Columns 1
SecNumDepth 3
TocDepth 3
DefaultStyle Standard
ClassOptions
FontSize ""
PageStyle ""
End
Style Title
Align Center
TextFont
Size Large
EndFont
End
Style Author
Align Center
TextFont
Series Medium
Size Normal
EndFont
End
Style Address
LatexType Command
InTitle 1
LatexName address
ParSkip 0.4
BottomSep 0.4
Align Center
LabelType No_Label
TextFont
Series Medium
Shape Italic
Size Normal
EndFont
End
Style Abstract
LatexType Environment
ParIndent ""
Align Block
LabelType No_Label
TextFont
Size Small
EndFont
End
Style Keywords
CopyStyle Abstract
LatexType Command
LatexName keywords
Margin Dynamic
LabelType Static
LabelString "Keywords:"
LabelSep M
LabelFont
Series Medium
Shape Italic
Size Small
EndFont
End
Style Section
Align Block
Font
Size Normal
EndFont
End
Style Section*
Align Block
Font
Size Normal
EndFont
End
Style Subsection
Align Block
TextFont
Shape Italic
Size Normal
EndFont
End
Style Subsubsection
Align Block
LabelFont
Series Medium
EndFont
TextFont
Series Medium
Shape Italic
Size Normal
EndFont
End
Counter
Name definition
Within section
End
Style Definition
LatexType Environment
LatexName definition
Margin First_Dynamic
TopSep 0.6
BottomSep 0.6
Align Block
LabelType Counter
LabelCounter definition
LabelString "Definition \thedefinition."
LabelSep M
NextNoIndent 1
LabelFont
Series Bold
EndFont
End
Counter
Name step
End
Style Step
CopyStyle Definition
LatexName step
LabelCounter step
LabelString "Step \thestep."
LabelFont
Series Bold
EndFont
End
Counter
Name example
Within section
End
Style Example
CopyStyle Definition
LatexName example
LabelCounter example
LabelString "Example \theexample."
End
Counter
Name remark
Within section
End
Style Remark
CopyStyle Definition
LatexName remark
LabelCounter remark
LabelString "Remark \theremark."
End
Counter
Name notation
Within section
End
Style Notation
CopyStyle Definition
LatexName notation
LabelCounter notation
LabelString "Notation \thenotation."
LabelFont
Series Medium
EndFont
End
Counter
Name theorem
Within section
End
Style Theorem
LatexType Environment
LatexName theorem
Margin First_Dynamic
TopSep 0.6
BottomSep 0.6
Align Block
NextNoIndent 1
LabelType Counter
LabelCounter theorem
LabelString "Theorem \thetheorem."
LabelSep M
LabelFont
Series Bold
Shape Up
EndFont
End
Style Proof
LatexType Environment
LatexName proof
Margin First_Dynamic
TopSep 0.6
BottomSep 0.6
Align Block
LabelType Static
LabelString "Proof."
LabelSep M
LabelFont
Series Bold
EndFont
EndLabelType Box
End
Counter
Name corollary
Within section
End
Style Corollary
CopyStyle Theorem
LatexName corollary
LabelCounter corollary
LabelString "Corollary \thecorollary."
TextFont
Shape Italic
EndFont
End
Counter
Name lemma
Within section
End
Style Lemma
CopyStyle Corollary
LatexName lemma
LabelCounter lemma
LabelString "Lemma \thelemma."
End
Counter
Name proposition
Within section
End
Style Proposition
CopyStyle Corollary
LatexName proposition
LabelCounter proposition
LabelString "Proposition \theproposition."
End
Counter
Name prop
Within section
End
Style Prop
CopyStyle Notation
LatexName prop
LabelCounter prop
LabelString "Prop \theprop."
End
Counter
Name question
Within section
End
Style Question
CopyStyle Notation
LatexName question
LabelCounter question
LabelString "Question \thequestion."
End
Counter
Name claim
Within section
End
Style Claim
CopyStyle Notation
LatexName claim
LabelCounter claim
LabelString "Claim \theclaim."
End
Counter
Name conjecture
Within section
End
Style Conjecture
CopyStyle Notation
LatexName conjecture
LabelCounter conjecture
LabelString "Conjecture \theconjecture."
End
Style Appendices_Section
Margin Static
LatexType Command
LatexName appendix
KeepEmpty 1
TopSep 0.6
BottomSep 0
Align Block
LabelType Centered_Top_Environment
LabelString "--- Appendices ---"
Font
Series Bold
Size Normal
Color Blue
EndFont
End
Counter
Name appendix
Within section
End
Style Appendix
LatexType Command
LatexName section
TopSep 0.6
BottomSep 0.6
Margin First_Dynamic
Align Block
NextNoIndent 1
LabelType Counter
LabelCounter appendix
LabelString "Appendix \Alph{appendix}."
LabelSep M
LabelFont
Series Bold
Shape Up
Size Normal
EndFont
TextFont
Series Bold
EndFont
End
Style Bibliography
Align Block
LabelFont
Size Normal
EndFont
End