]> git.lyx.org Git - lyx.git/blob - lib/layouts/memoir.layout
example files, template files, layout files: port my latest changes to trunk
[lyx.git] / lib / layouts / memoir.layout
1 #% Do not delete the line below; configure depends on this
2 #  \DeclareLaTeXClass[memoir]{book (Memoir)}
3 # Memoir textclass definition file
4 # Author: Jürgen Spitzmüller <spitzmueller@gmx.de>
5 # Improvements by: Bennett Helm <bennett.helm@fandm.edu>
6 # feel free to contribute missing features!
7
8
9 Format 35
10 Columns            1
11 Sides              2
12 SecNumDepth        1
13 TocDepth           1
14 DefaultStyle       Standard
15 PageStyle          Headings
16 Provides makeidx   1
17 Provides framed    1
18 Provides subscript 1
19 # Memoir has support for line spacing, but uses different names from
20 # what setspace.sty does.  
21 Provides SetSpace  1
22
23
24 ClassOptions
25         FontSize             9|10|11|12|14|17
26         PageStyle            empty|plain|headings|myheadings|ruled|Ruled|companion
27         Other                oldfontcommands
28 End
29
30
31 Style Standard
32         Margin                Static
33         LatexType             Paragraph
34         LatexName             dummy
35         ParIndent             MM
36         ParSkip               0.4
37         Align                 Block
38         AlignPossible         Block, Left, Right, Center
39         LabelType             No_Label
40 End
41
42
43 Input stdinsets.inc
44 Input stdlists.inc
45 Input stdcounters.inc
46 Input stdfloats.inc
47 Input stdsections.inc
48 Input stdstarsections.inc
49 Input numreport.inc
50
51
52 Style Part
53         OptionalArgs         1
54         TocLevel             -1
55 End
56         
57
58
59 Style Chapter
60         OptionalArgs         2
61         TocLevel             0
62 End
63
64
65 Style Chapter*
66         OptionalArgs         1
67 End
68
69
70 Style Section
71         OptionalArgs         2
72         TocLevel 1
73 End
74
75
76 Style Subsection
77         OptionalArgs         2
78         TocLevel 2
79 End
80
81
82 Style Subsubsection
83         OptionalArgs         2
84         TocLevel 3
85 End
86
87
88 Style Paragraph
89         OptionalArgs         2
90         TocLevel 4
91 End
92
93
94 Style Subparagraph
95         OptionalArgs         2
96         TocLevel 5
97 End
98
99
100 Style Chapterprecis
101         Margin               Static
102         LatexType            Command
103         LatexName            chapterprecis
104         NeedProtect          1
105         NextNoIndent         1
106         LeftMargin           MM
107         LabelSep             xxx
108         ParSkip              0.4
109         TopSep               0.4
110         BottomSep            0
111         ParSep               0.4
112         Align                Block
113         Font
114           Shape              Italic
115           Size               Normal
116         EndFont
117 End
118
119 #FIXME: this takes two parameters!!!
120 Style Epigraph
121         Category              Maintext
122         Margin                Right_Address_Box
123         LatexType             Command
124         LatexName             epigraph
125         ParSkip               0.4
126         BottomSep             1.5
127         ParSep                1.5
128         Align                 Left
129 End
130
131 #FIXME: what is actually documented is \PoemTitle
132 #but \poemtitle is defined nevertheless. Weird.
133 Style Poemtitle
134         Category              Section
135         LatexType             Command
136         LatexName             poemtitle
137         NeedProtect           1
138         NextNoIndent          1
139         LabelSep              xxx
140         ParSkip               0.4
141         TopSep                0.4
142         ParSep                0.4
143         Align                 center
144         OptionalArgs          1
145         Font
146            Series             Bold
147         EndFont
148 End
149
150
151 Style Poemtitle*
152         CopyStyle             Poemtitle
153         Category              Unnumbered
154         LatexName             poemtitle*
155         OptionalArgs          0
156 End
157
158
159 Input stdtitle.inc
160 Input stdstruct.inc
161
162
163 Style Bibliography
164         TopSep               4
165         LabelString          "Bibliography"
166         LabelFont
167           Series             Bold
168           Size               Huge
169         EndFont
170 End
171
172
173 Input lyxmacros.inc
174 Input stdlayouts.inc
175
176 Style Legend
177         Category            Maintext
178         LatexType           Command
179         LatexName           legend
180         NeedProtect         1
181         NextNoIndent        1
182         ParSkip             0.4
183         Align               Center
184 End