mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-12-04 22:32:19 +00:00
9e5eebc14c
* 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
351 lines
7.1 KiB
Plaintext
351 lines
7.1 KiB
Plaintext
#% Do not delete the line below; configure depends on this
|
|
# \DeclareLaTeXClass[ws-ijmpc]{article (IJMPC)}
|
|
#
|
|
# Textclass definition file for ws-ijmpc.cls
|
|
# For publications in the International Journal of Modern Physics C
|
|
# (usually abbreviated as IJMPC).
|
|
#
|
|
# Author: Panayotis "PAP" Papasotiriou <papasot@physics.upatras.gr>
|
|
#
|
|
# Version 1 2006-04-09 - First version, for LyX 1.4.0.
|
|
|
|
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 Classification_Codes
|
|
CopyStyle Abstract
|
|
LatexType Command
|
|
LatexName ccode
|
|
Margin Static
|
|
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
|
|
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 Medium
|
|
Shape Italic
|
|
EndFont
|
|
End
|
|
|
|
Counter
|
|
Name example
|
|
End
|
|
Style Example
|
|
CopyStyle Definition
|
|
LatexName example
|
|
LabelCounter example
|
|
LabelString "Example \theexample."
|
|
End
|
|
|
|
Counter
|
|
Name remark
|
|
End
|
|
Style Remark
|
|
CopyStyle Definition
|
|
LatexName remark
|
|
LabelCounter remark
|
|
LabelString "Remark \theremark."
|
|
End
|
|
|
|
Counter
|
|
Name notation
|
|
End
|
|
Style Notation
|
|
CopyStyle Definition
|
|
LatexName notation
|
|
LabelCounter notation
|
|
LabelString "Notation \thenotation."
|
|
End
|
|
|
|
Counter
|
|
Name theorem
|
|
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
|
|
TextFont
|
|
Shape Italic
|
|
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
|
|
End
|
|
Style Corollary
|
|
CopyStyle Theorem
|
|
LatexName corollary
|
|
LabelCounter corollary
|
|
LabelString "Corollary \thecorollary."
|
|
End
|
|
|
|
Counter
|
|
Name lemma
|
|
End
|
|
Style Lemma
|
|
CopyStyle Theorem
|
|
LatexName lemma
|
|
LabelCounter lemma
|
|
LabelString "Lemma \thelemma."
|
|
End
|
|
|
|
Counter
|
|
Name proposition
|
|
End
|
|
Style Proposition
|
|
CopyStyle Theorem
|
|
LatexName proposition
|
|
LabelCounter proposition
|
|
LabelString "Proposition \theproposition."
|
|
End
|
|
|
|
Counter
|
|
Name prop
|
|
End
|
|
Style Prop
|
|
CopyStyle Definition
|
|
LatexName prop
|
|
LabelCounter prop
|
|
LabelString "Prop \theprop."
|
|
End
|
|
|
|
Counter
|
|
Name question
|
|
End
|
|
Style Question
|
|
CopyStyle Definition
|
|
LatexName question
|
|
LabelCounter question
|
|
LabelString "Question \thequestion."
|
|
End
|
|
|
|
Counter
|
|
Name claim
|
|
End
|
|
Style Claim
|
|
CopyStyle Theorem
|
|
LatexName claim
|
|
LabelCounter claim
|
|
LabelString "Claim \theclaim."
|
|
End
|
|
|
|
Counter
|
|
Name conjecture
|
|
End
|
|
Style Conjecture
|
|
CopyStyle Theorem
|
|
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
|
|
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
|