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
297 lines
5.7 KiB
Plaintext
297 lines
5.7 KiB
Plaintext
#% Do not delete the line below; configure depends on this
|
|
# \DeclareLaTeXClass{article (SIAM)}
|
|
# Siam Article textclass definition file.
|
|
# Cut & paste from various LyX layouts plus some minor modifications
|
|
# Author : Kornelia Pietsch <pietsch@mathematik.tu-chemnitz.de>
|
|
|
|
Format 6
|
|
Columns 1
|
|
Sides 1
|
|
SecNumDepth 2
|
|
TocDepth 2
|
|
|
|
ClassOptions
|
|
FontSize 10|11|12
|
|
Other "draft|final"
|
|
End
|
|
|
|
|
|
Style Standard
|
|
Margin Dynamic
|
|
LatexType Paragraph
|
|
LatexName dummy
|
|
ParSkip 0
|
|
ParIndent ........
|
|
NextNoIndent 0
|
|
TopSep 0.7
|
|
BottomSep 0.7
|
|
ParSep 0.7
|
|
Align Block
|
|
AlignPossible Block, Left, Right, Center
|
|
LabelType No_Label
|
|
End
|
|
|
|
|
|
Input stdinsets.inc
|
|
Input stdlists.inc
|
|
Input stdlayouts.inc
|
|
Input stdcounters.inc
|
|
Input stdfloats.inc
|
|
Input numarticle.inc
|
|
|
|
Style Section
|
|
CopyStyle Standard
|
|
Margin First_Dynamic
|
|
LatexType Command
|
|
LatexName section
|
|
NeedProtect 1
|
|
NextNoIndent 1
|
|
LabelSep xxx
|
|
Align Block
|
|
EndLabelType Static
|
|
EndLabelString "."
|
|
Font
|
|
Series Bold
|
|
EndFont
|
|
End
|
|
|
|
|
|
Style Subsection
|
|
CopyStyle Section
|
|
LatexName subsection
|
|
End
|
|
|
|
|
|
Style Subsubsection
|
|
CopyStyle Subsection
|
|
LatexName subsubsection
|
|
End
|
|
|
|
|
|
Style Paragraph
|
|
CopyStyle Subsubsection
|
|
LatexName paragraph
|
|
Font
|
|
Shape Italic
|
|
Series Medium
|
|
EndFont
|
|
End
|
|
|
|
|
|
Style Section*
|
|
CopyStyle Section
|
|
LatexName section*
|
|
LabelType No_Label
|
|
End
|
|
|
|
|
|
Style Subsection*
|
|
CopyStyle Subsection
|
|
LatexName subsection*
|
|
LabelType No_Label
|
|
End
|
|
|
|
|
|
Style Subsubsection*
|
|
CopyStyle Subsubsection
|
|
LatexName subsubsection*
|
|
LabelType No_Label
|
|
End
|
|
|
|
|
|
Style Paragraph*
|
|
CopyStyle Paragraph
|
|
LatexName paragraph*
|
|
LabelType No_Label
|
|
End
|
|
|
|
|
|
Style Title
|
|
Margin Static
|
|
LatexType Command
|
|
InTitle 1
|
|
LatexName title
|
|
BottomSep 1
|
|
Align Center
|
|
LabelType No_Label
|
|
Font
|
|
Size Larger
|
|
Shape SmallCaps
|
|
Series Bold
|
|
EndFont
|
|
End
|
|
|
|
|
|
Style Author
|
|
CopyStyle Title
|
|
LatexName author
|
|
Font
|
|
Size Normal
|
|
Shape SmallCaps
|
|
Series Medium
|
|
EndFont
|
|
End
|
|
|
|
|
|
Style Date
|
|
CopyStyle Author
|
|
LatexName date
|
|
End
|
|
|
|
|
|
Style Abstract
|
|
Margin First_Dynamic
|
|
LatexType Environment
|
|
# InTitle 1
|
|
LatexName abstract
|
|
ParIndent ........
|
|
NextNoIndent 1
|
|
TopSep 0.7
|
|
BottomSep 0.7
|
|
ParSkip 0.7
|
|
Align Block
|
|
LabelType Static
|
|
LabelString "Abstract."
|
|
LabelSep M
|
|
LabelIndent ........
|
|
Font
|
|
Size Small
|
|
EndFont
|
|
LabelFont
|
|
Series Bold
|
|
Size Small
|
|
EndFont
|
|
End
|
|
|
|
|
|
Style Keywords
|
|
CopyStyle Abstract
|
|
LatexName keywords
|
|
LabelString "Key words."
|
|
End
|
|
|
|
|
|
Style AMS
|
|
CopyStyle Abstract
|
|
LatexName AMS
|
|
LabelString "AMS subject classifications."
|
|
End
|
|
|
|
|
|
Style Bibliography
|
|
Margin Dynamic
|
|
LatexType Bib_Environment
|
|
LatexName thebibliography
|
|
NextNoIndent 0
|
|
LeftMargin M
|
|
RightMargin M
|
|
Align Block
|
|
AlignPossible Block, Center
|
|
LabelType Bibliography
|
|
#LabelType centered_top_environment
|
|
LabelString "References"
|
|
LabelBottomSep 0.7
|
|
LabelFont
|
|
Shape SmallCaps
|
|
EndFont
|
|
End
|
|
|
|
|
|
Style Theorem
|
|
CopyStyle Standard
|
|
LabelSep xx
|
|
LabelType Static
|
|
LabelString "Theorem #."
|
|
TextFont
|
|
Shape Slanted
|
|
Size Normal
|
|
EndFont
|
|
LabelFont
|
|
Shape SmallCaps
|
|
EndFont
|
|
End
|
|
|
|
|
|
Style Lemma
|
|
CopyStyle Theorem
|
|
LatexName lemma
|
|
LabelString "Lemma #."
|
|
End
|
|
|
|
|
|
Style Corollary
|
|
CopyStyle Theorem
|
|
LatexName corollary
|
|
LabelString "Corollary #."
|
|
End
|
|
|
|
|
|
Style Proposition
|
|
CopyStyle Theorem
|
|
LatexName proposition
|
|
LabelString "Proposition #."
|
|
End
|
|
|
|
|
|
Style Definition
|
|
CopyStyle Theorem
|
|
LatexName Definition
|
|
LabelString "Definition #."
|
|
Font
|
|
Shape Up
|
|
EndFont
|
|
LabelFont
|
|
Shape Up
|
|
Series Bold
|
|
EndFont
|
|
End
|
|
|
|
|
|
Style Proof
|
|
CopyStyle Theorem
|
|
LatexName proof
|
|
LabelString "Proof."
|
|
EndLabelType Box
|
|
Font
|
|
Shape Up
|
|
Color Blue
|
|
EndFont
|
|
LabelFont
|
|
Shape Slanted
|
|
EndFont
|
|
End
|
|
|
|
|
|
Style Theorem*
|
|
CopyStyle Theorem
|
|
LatexName theorem*
|
|
LabelString "Theorem."
|
|
End
|
|
|
|
|
|
Style Lemma*
|
|
CopyStyle Lemma
|
|
LatexName lemma*
|
|
LabelString "Lemma."
|
|
End
|
|
|
|
|
|
Style Corollary*
|
|
CopyStyle Corollary
|
|
LatexName corollary*
|
|
LabelString "Corollary."
|
|
End
|
|
|
|
|
|
Style Proposition*
|
|
CopyStyle Proposition
|
|
LatexName proposition*
|
|
LabelString "Proposition."
|
|
End
|
|
|
|
Style Definition*
|
|
CopyStyle Definition
|
|
LatexName definition*
|
|
LabelString "Definition."
|
|
End
|