lyx_mirror/lib/layouts/latex8.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

123 lines
2.1 KiB
Plaintext

#% Do not delete the line below; configure depends on this
# \DeclareLaTeXClass[article,latex8.sty,times.sty]{article (Latex8)}
# Latex8 textclass definition file.
# Author : Allan Rae <rae@elec.uq.edu.au>
Format 4
Preamble
\usepackage{latex8}
\usepackage{times}
EndPreamble
Input stdclass.inc
Columns 1
ClassOptions
FontSize 10
End
NoStyle Part
NoStyle Part*
NoStyle Chapter
NoStyle Chapter*
NoStyle Section*
NoStyle Subsection*
NoStyle Subsubsection
NoStyle Subsubsection*
NoStyle Paragraph
NoStyle Subparagraph
Style Title
Font
Series Bold
Size Larger
EndFont
End
Style Section
TopSep 1.0
BottomSep 1.0
ParSep 1.0
latexname "Section"
End
Style Subsection
TopSep 1.0
BottomSep 1.0
ParSep 1.0
latexname "SubSection"
End
Style Email
Margin Dynamic
LatexType Command
InTitle 1
LatexName email
LabelSep xxx
ParSkip 0.4
TopSep 0.9
BottomSep 0.5
ParSep 1
Align Center
AlignPossible Center
LabelType Static
LabelString "E-mail:"
Font
Size Large
Family Typewriter
EndFont
LabelFont
Family Roman
EndFont
End
Style Affiliation
Margin Dynamic
LatexType Command
InTitle 1
LatexName affiliation
LabelSep xxx
ParSkip 0.4
TopSep 0.9
BottomSep 0.5
ParSep 1
Align Center
AlignPossible Center
LabelType No_Label
Font
Size Large
EndFont
End
Style Abstract
LeftMargin ""
RightMargin ""
Font
Size Normal
Shape Italic
EndFont
LabelFont
Size Large
Shape Up
Series Bold
EndFont
End
Style Bibliography
LabelFont
Size Large
EndFont
End