lyx_mirror/lib/layouts/ltugboat.layout
Jean-Marc Lasgouttes 04efe3c40a New framework for declaring generic features in textclasses.
* 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
2007-04-06 09:02:23 +00:00

196 lines
4.4 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 4
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
AlignPossible Block, Left
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
AlignPossible Block, Left
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
AlignPossible Block, Left
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
AlignPossible Block, Left
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
AlignPossible 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
AlignPossible 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
AlignPossible Block
LabelType Top_Environment
LabelString "Abstract"
LabelBottomSep 0.5
TextFont
Size Normal
EndFont
LabelFont
Size Normal
Series Bold
EndFont
End