mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-12-20 20:51:40 +00:00
04efe3c40a
* 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
365 lines
7.6 KiB
Plaintext
365 lines
7.6 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 4
|
|
|
|
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
|
|
AlignPossible Center
|
|
TextFont
|
|
Size Large
|
|
EndFont
|
|
End
|
|
|
|
Style Author
|
|
Align Center
|
|
AlignPossible Center
|
|
TextFont
|
|
Series Medium
|
|
Size Normal
|
|
EndFont
|
|
End
|
|
|
|
Style Address
|
|
LatexType Command
|
|
InTitle 1
|
|
LatexName address
|
|
ParSkip 0.4
|
|
BottomSep 0.4
|
|
Align Center
|
|
AlignPossible Center
|
|
LabelType No_Label
|
|
TextFont
|
|
Series Medium
|
|
Shape Italic
|
|
Size Normal
|
|
EndFont
|
|
End
|
|
|
|
Style Abstract
|
|
LatexType Environment
|
|
ParIndent ""
|
|
Align Block
|
|
AlignPossible 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
|
|
AlignPossible Block
|
|
Font
|
|
Size Normal
|
|
EndFont
|
|
End
|
|
|
|
Style Section*
|
|
Align Block
|
|
AlignPossible Block
|
|
Font
|
|
Size Normal
|
|
EndFont
|
|
End
|
|
|
|
Style Subsection
|
|
Align Block
|
|
AlignPossible Block
|
|
TextFont
|
|
Shape Italic
|
|
Size Normal
|
|
EndFont
|
|
End
|
|
|
|
Style Subsubsection
|
|
Align Block
|
|
AlignPossible 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
|
|
AlignPossible Block
|
|
LabelType Counter
|
|
LabelCounter definition
|
|
LabelString "Definition \arabic{definition}."
|
|
LabelSep M
|
|
NextNoIndent 1
|
|
LabelFont
|
|
Series Bold
|
|
EndFont
|
|
End
|
|
|
|
Counter
|
|
Name step
|
|
End
|
|
Style Step
|
|
CopyStyle Definition
|
|
LatexName step
|
|
LabelCounter step
|
|
LabelString "Step \arabic{step}."
|
|
LabelFont
|
|
Series Medium
|
|
Shape Italic
|
|
EndFont
|
|
End
|
|
|
|
Counter
|
|
Name example
|
|
End
|
|
Style Example
|
|
CopyStyle Definition
|
|
LatexName example
|
|
LabelCounter example
|
|
LabelString "Example \arabic{example}."
|
|
End
|
|
|
|
Counter
|
|
Name remark
|
|
End
|
|
Style Remark
|
|
CopyStyle Definition
|
|
LatexName remark
|
|
LabelCounter remark
|
|
LabelString "Remark \arabic{remark}."
|
|
End
|
|
|
|
Counter
|
|
Name notation
|
|
End
|
|
Style Notation
|
|
CopyStyle Definition
|
|
LatexName notation
|
|
LabelCounter notation
|
|
LabelString "Notation \arabic{notation}."
|
|
End
|
|
|
|
Counter
|
|
Name theorem
|
|
End
|
|
Style Theorem
|
|
LatexType Environment
|
|
LatexName theorem
|
|
Margin First_Dynamic
|
|
TopSep 0.6
|
|
BottomSep 0.6
|
|
Align Block
|
|
AlignPossible Block
|
|
NextNoIndent 1
|
|
LabelType Counter
|
|
LabelCounter theorem
|
|
LabelString "Theorem \arabic{theorem}."
|
|
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
|
|
AlignPossible 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 \arabic{corollary}."
|
|
End
|
|
|
|
Counter
|
|
Name lemma
|
|
End
|
|
Style Lemma
|
|
CopyStyle Theorem
|
|
LatexName lemma
|
|
LabelCounter lemma
|
|
LabelString "Lemma \arabic{lemma}."
|
|
End
|
|
|
|
Counter
|
|
Name proposition
|
|
End
|
|
Style Proposition
|
|
CopyStyle Theorem
|
|
LatexName proposition
|
|
LabelCounter proposition
|
|
LabelString "Proposition \arabic{proposition}."
|
|
End
|
|
|
|
Counter
|
|
Name prop
|
|
End
|
|
Style Prop
|
|
CopyStyle Definition
|
|
LatexName prop
|
|
LabelCounter prop
|
|
LabelString "Prop \arabic{prop}."
|
|
End
|
|
|
|
Counter
|
|
Name question
|
|
End
|
|
Style Question
|
|
CopyStyle Definition
|
|
LatexName question
|
|
LabelCounter question
|
|
LabelString "Question \arabic{question}."
|
|
End
|
|
|
|
Counter
|
|
Name claim
|
|
End
|
|
Style Claim
|
|
CopyStyle Theorem
|
|
LatexName claim
|
|
LabelCounter claim
|
|
LabelString "Claim \arabic{claim}."
|
|
End
|
|
|
|
Counter
|
|
Name conjecture
|
|
End
|
|
Style Conjecture
|
|
CopyStyle Theorem
|
|
LatexName conjecture
|
|
LabelCounter conjecture
|
|
LabelString "Conjecture \arabic{conjecture}."
|
|
End
|
|
|
|
Style Appendices_Section
|
|
Margin Static
|
|
LatexType Command
|
|
LatexName appendix
|
|
KeepEmpty 1
|
|
TopSep 0.6
|
|
BottomSep 0
|
|
Align Block
|
|
AlignPossible 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
|
|
AlignPossible 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
|
|
AlignPossible Block
|
|
LabelFont
|
|
Size Normal
|
|
EndFont
|
|
End
|