mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-26 19:25:39 +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
189 lines
4.1 KiB
Plaintext
189 lines
4.1 KiB
Plaintext
#% Do not delete the line below; configure depends on this
|
|
# \DeclareLaTeXClass[ltugboat]{article (TUGboat)}
|
|
# The tugboat journal (TUGboat) textclass definition file.
|
|
# Journal of the TeX User Group http://www.tug.org
|
|
# Author : Herbert Voss <voss@perce.de> 2001/08/13
|
|
|
|
|
|
Format 6
|
|
Columns 2
|
|
Sides 2
|
|
#SecNumDepth # no counting
|
|
#TocDepth -1
|
|
|
|
|
|
ClassOptions
|
|
FontSize default # only 11pt
|
|
PageStyle "" # controlled by class
|
|
End
|
|
|
|
|
|
DefaultFont # only for screen
|
|
Family Roman
|
|
Series Medium
|
|
Shape Up
|
|
Size Normal
|
|
Color None
|
|
EndFont
|
|
|
|
|
|
Style Standard
|
|
Margin Static
|
|
LatexType Paragraph
|
|
LatexName dummy # no special latex env
|
|
ParIndent MM
|
|
ParSkip 0.5 # default
|
|
ParSep 0.5 # default
|
|
Align Block
|
|
AlignPossible Block, Left, Right, Center
|
|
LabelType No_Label
|
|
End
|
|
|
|
|
|
Input stdlists.inc
|
|
|
|
Style Section
|
|
Margin Dynamic
|
|
LatexType Command
|
|
LatexName section
|
|
NeedProtect 1
|
|
NextNoIndent 1
|
|
LabelSep xxx
|
|
ParSkip 0.4
|
|
TopSep 1.3
|
|
BottomSep 0.7
|
|
ParSep 0.7
|
|
Align Block
|
|
Font
|
|
Series Bold
|
|
Size Normal
|
|
EndFont
|
|
End
|
|
|
|
|
|
Style Subsection
|
|
Margin Dynamic
|
|
LatexType Command
|
|
LatexName subsection
|
|
NeedProtect 1
|
|
NextNoIndent 1
|
|
LabelSep xxx
|
|
ParSkip 0.4
|
|
TopSep 0.9
|
|
BottomSep 0.5
|
|
ParSep 0.5
|
|
Align Block
|
|
Font
|
|
Series Bold
|
|
Size Normal
|
|
EndFont
|
|
End
|
|
|
|
|
|
Style Subsubsection
|
|
Margin Dynamic
|
|
LatexType Command
|
|
LatexName subsubsection
|
|
NeedProtect 1
|
|
NextNoIndent 1
|
|
LabelSep xxx
|
|
ParSkip 0.4
|
|
TopSep 0.7
|
|
BottomSep 0.4
|
|
ParSep 0.4
|
|
Align Block
|
|
Font
|
|
Series Bold
|
|
Size Normal
|
|
EndFont
|
|
End
|
|
|
|
|
|
Style Paragraph
|
|
Margin Dynamic
|
|
LatexType Command
|
|
LatexName paragraph
|
|
NeedProtect 1
|
|
NextNoIndent 1
|
|
LabelSep xxx
|
|
ParSkip 0.4
|
|
TopSep 0.4
|
|
BottomSep 0
|
|
ParSep 0.4
|
|
Align Block
|
|
Font
|
|
Series Bold
|
|
Size Normal
|
|
EndFont
|
|
End
|
|
|
|
|
|
#Input stdstarsections.inc
|
|
|
|
Input numarticle.inc
|
|
Input stdstruct.inc
|
|
Input stdlayouts.inc
|
|
Input stdfloats.inc
|
|
Input stdcounters.inc
|
|
|
|
|
|
Style Title
|
|
Margin Static
|
|
LatexType Command
|
|
InTitle 1
|
|
LatexName title
|
|
ParSkip 0.4
|
|
ItemSep 0
|
|
TopSep 0
|
|
BottomSep 1
|
|
ParSep 1
|
|
Align Left
|
|
LabelType No_Label
|
|
TextFont
|
|
Series Bold
|
|
Size Normal
|
|
EndFont
|
|
End
|
|
|
|
|
|
Style Author
|
|
Margin Static
|
|
LatexType Command
|
|
InTitle 1
|
|
LatexName author
|
|
LabelSep xxx
|
|
ParSkip 0.4
|
|
TopSep 1.3
|
|
BottomSep 0.7
|
|
ParSep 0.7
|
|
LeftMargin MM
|
|
Align Left
|
|
LabelType No_Label
|
|
End
|
|
|
|
|
|
Style Abstract
|
|
Margin Static
|
|
LatexType Environment
|
|
LatexName abstract
|
|
NextNoIndent 1
|
|
LeftMargin ""
|
|
RightMargin ""
|
|
ParIndent ""
|
|
ItemSep 0
|
|
TopSep 1.5
|
|
BottomSep 1.5
|
|
ParSep 0
|
|
Align Block
|
|
LabelType Top_Environment
|
|
LabelString "Abstract"
|
|
LabelBottomSep 0.5
|
|
TextFont
|
|
Size Normal
|
|
EndFont
|
|
LabelFont
|
|
Size Normal
|
|
Series Bold
|
|
EndFont
|
|
End
|