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

160 lines
2.9 KiB
Plaintext

#% Do not delete the line below; configure depends on this
# \DeclareLaTeXClass{memoir}
# Memoir textclass definition file
# Author: Jürgen Spitzmüller <spitzmueller@gmx.de>
# Improvements by: Bennett Helm <bennett.helm@fandm.edu>
# feel free to contribute missing features!
Format 4
Columns 1
Sides 2
SecNumDepth 2
TocDepth 2
DefaultStyle Standard
PageStyle Headings
Provides makeidx 1
ClassOptions
FontSize 9|10|11|12|14|17
PageStyle empty|plain|headings|myheadings|ruled|Ruled|companion
Other oldfontcommands
End
Style Standard
Margin Static
LatexType Paragraph
LatexName dummy
ParIndent MM
ParSkip 0.4
Align Block
AlignPossible Block, Left, Right, Center
LabelType No_Label
End
Input stdlists.inc
Input stdcounters.inc
Input stdfloats.inc
Input stdsections.inc
Input stdstarsections.inc
Input numreport.inc
Style Chapter
OptionalArgs 2
End
Style Section
OptionalArgs 2
End
Style Subsection
OptionalArgs 2
End
Style Subsubsection
OptionalArgs 2
End
Style Paragraph
OptionalArgs 2
End
Style Subparagraph
OptionalArgs 2
End
Style Chapterprecis
Margin Static
LatexType Command
LatexName chapterprecis
NeedProtect 1
NextNoIndent 1
LeftMargin MM
LabelSep xxx
ParSkip 0.4
TopSep 0.4
BottomSep 0
ParSep 0.4
Align Block
AlignPossible Block
Font
Shape Italic
Size Normal
EndFont
End
Style Epigraph
Margin Right_Address_Box
LatexType Command
LatexName epigraph
ParSkip 0.4
BottomSep 1.5
ParSep 1.5
Align Left
AlignPossible Left
End
Style Poemtitle
LatexType Command
LatexName poemtitle
NeedProtect 1
NextNoIndent 1
LabelSep xxx
ParSkip 0.4
TopSep 0.4
ParSep 0.4
Align center
AlignPossible center
OptionalArgs 1
Font
Series Bold
EndFont
End
Style Poemtitle*
CopyStyle Poemtitle
LatexName poemtitle*
OptionalArgs 0
End
Input stdtitle.inc
Input stdstruct.inc
Style Bibliography
TopSep 4
LabelString "Bibliography"
LabelFont
Series Bold
Size Huge
EndFont
End
Input lyxmacros.inc
Input stdlayouts.inc
Style Legend
LatexType Command
LatexName legend
NeedProtect 1
NextNoIndent 1
ParSkip 0.4
Align Center
AlignPossible Center
End