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

117 lines
2.2 KiB
Plaintext

#% Do not delete the line below; configure depends on this
# \DeclareLaTeXClass{slides (seminar)}
# Initial attemt at makeing a LyX layout file for the seminar class.
# Author : Lars Gullik Bjønnes <larsbj@lyx.org>
Format 4
Input stdclass.inc
NoStyle Chapter
NoStyle Chapter*
Sides 1
Columns 1
SecNumDepth 3
TocDepth 3
ClassOptions
FontSize 8|9|10|11|12|14|17
Other slidesec
End
Style Part
Align Left
AlignPossible Left
TopSep 2
BottomSep 1.5
Font
Size Larger
EndFont
End
Style Part*
Align Left
AlignPossible Left
TopSep 2
BottomSep 1.5
Font
Size Larger
EndFont
End
Style LandscapeSlide
CopyStyle Standard
LatexType Environment
LatexName slide
KeepEmpty 1
Labeltype Static
LabelString "Landscape Slide"
LabelSep "MMMMMMM"
End
Style PortraitSlide
CopyStyle Standard
LatexType Environment
LatexName slide*
KeepEmpty 1
Labeltype Static
LabelString "Portrait Slide"
End
Style Slide
Obsoletedby LandscapeSlide
End
Style Slide*
Obsoletedby PortraitSlide
End
Style SlideHeading
CopyStyle Section
LatexName slideheading
End
Style SlideSubHeading
CopyStyle Subsection
LatexName slidesubheading
End
Style ListOfSlides
KeepEmpty 1
Align Center
LatexType Command
LatexName listofslides
Labeltype Static
LabelString "List Of Slides"
End
Style SlideContents
KeepEmpty 1
Align Center
LatexType Command
LatexName slidecontents
Labeltype Static
LabelString "Slidecontents"
End
Style ProgressContents
KeepEmpty 1
Align Center
LatexType Command
LatexName Slidecontents
Labeltype Static
LabelString "Progress Contents"
End