lyx_mirror/lib/layouts/memoir.layout
Jürgen Spitzmüller 9e5eebc14c *** Requires tag for classes, layouts and custom insets ***
* 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
2008-01-07 16:59:10 +00:00

158 lines
2.8 KiB
Plaintext

#% Do not delete the line below; configure depends on this
# \DeclareLaTeXClass[memoir]{book (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 6
Columns 1
Sides 2
SecNumDepth 2
TocDepth 2
DefaultStyle Standard
PageStyle Headings
Provides makeidx 1
Provides framed 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 stdinsets.inc
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
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
End
Style Poemtitle
LatexType Command
LatexName poemtitle
NeedProtect 1
NextNoIndent 1
LabelSep xxx
ParSkip 0.4
TopSep 0.4
ParSep 0.4
Align 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
End