]> git.lyx.org Git - features.git/blob - lib/layouts/memoir.layout
Proper support for memoir epigraph (bug #8151)
[features.git] / lib / layouts / memoir.layout
1 #% Do not delete the line below; configure depends on this
2 #  \DeclareLaTeXClass[memoir]{Memoir}
3 #  \DeclareCategory{Books}
4 # Memoir textclass definition file
5 # Author: Jürgen Spitzmüller <spitz@lyx.org>
6 # Improvements by: Bennett Helm <bennett.helm@fandm.edu>
7 # feel free to contribute missing features!
8
9
10 Format 42
11 Columns            1
12 Sides              2
13 SecNumDepth        1
14 TocDepth           1
15 DefaultStyle       Standard
16 PageStyle          Headings
17 Provides makeidx   1
18 Provides framed    1
19 Provides subscript 1
20 # Memoir has support for line spacing, but uses different names from
21 # what setspace.sty does.  
22 Provides SetSpace  1
23
24
25 ClassOptions
26         FontSize             9|10|11|12|14|17
27         PageStyle            empty|plain|headings|myheadings|ruled|Ruled|companion
28         Other                oldfontcommands
29 End
30
31
32 Style Standard
33         Margin                Static
34         LatexType             Paragraph
35         LatexName             dummy
36         ParIndent             MM
37         ParSkip               0.4
38         Align                 Block
39         AlignPossible         Block, Left, Right, Center
40         LabelType             No_Label
41 End
42
43
44 Input stdinsets.inc
45 Input stdlists.inc
46 Input stdcounters.inc
47 Input stdfloats.inc
48 Input stdsections.inc
49 Input stdstarsections.inc
50 Input numreport.inc
51
52
53 Style Part
54         Argument 1
55                 LabelString   "Short Title|S"
56                 Tooltip       "The part as it appears in the table of contents/running headers"
57         EndArgument
58         TocLevel             -1
59 End
60         
61
62
63 Style Chapter
64         Argument 1
65                 LabelString   "Short Title (TOC)|S"
66                 Tooltip       "The chapter as it appears in the table of contents"
67         EndArgument
68         Argument 2
69                 LabelString   "Short Title (Header)"
70                 Tooltip       "The chapter as it appears in the running headers"
71                 Requires      1
72         EndArgument
73         TocLevel             0
74 End
75
76
77 Style Chapter*
78         Argument 1
79                 LabelString   "Short Title (TOC)|S"
80                 Tooltip       "The chapter as it appears in the table of contents"
81         EndArgument
82 End
83
84
85 Style Section
86         Argument 1
87                 LabelString   "Short Title (TOC)|S"
88                 Tooltip       "The section as it appears in the table of contents"
89         EndArgument
90         Argument 2
91                 LabelString   "Short Title (Header)"
92                 Tooltip       "The section as it appears in the running headers"
93                 Requires      1
94         EndArgument
95         TocLevel 1
96 End
97
98
99 Style Subsection
100         Argument 1
101                 LabelString   "Short Title (TOC)|S"
102                 Tooltip       "The subsection as it appears in the table of contents"
103         EndArgument
104         Argument 2
105                 LabelString   "Short Title (Header)"
106                 Tooltip       "The subsection as it appears in the running headers"
107                 Requires      1
108         EndArgument
109         TocLevel 2
110 End
111
112
113 Style Subsubsection
114         Argument 1
115                 LabelString   "Short Title (TOC)|S"
116                 Tooltip       "The subsubsection as it appears in the table of contents"
117         EndArgument
118         Argument 2
119                 LabelString   "Short Title (Header)"
120                 Tooltip       "The subsubsection as it appears in the running headers"
121                 Requires      1
122         EndArgument
123         TocLevel 3
124 End
125
126
127 Style Paragraph
128         Argument 1
129                 LabelString   "Short Title (TOC)|S"
130                 Tooltip       "The paragraph as it appears in the table of contents"
131         EndArgument
132         Argument 2
133                 LabelString   "Short Title (Header)"
134                 Tooltip       "The paragraph as it appears in the running headers"
135                 Requires      1
136         EndArgument
137         TocLevel 4
138 End
139
140
141 Style Subparagraph
142         Argument 1
143                 LabelString   "Short Title (TOC)|S"
144                 Tooltip       "The subparagraph as it appears in the table of contents"
145         EndArgument
146         Argument 2
147                 LabelString   "Short Title (Header)"
148                 Tooltip       "The subparagraph as it appears in the running headers"
149                 Requires      1
150         EndArgument
151         TocLevel 5
152 End
153
154
155 Style Chapterprecis
156         Margin               Static
157         LatexType            Command
158         LatexName            chapterprecis
159         NeedProtect          1
160         NextNoIndent         1
161         LeftMargin           MM
162         LabelSep             xxx
163         ParSkip              0.4
164         TopSep               0.4
165         BottomSep            0
166         ParSep               0.4
167         Align                Block
168         Font
169           Shape              Italic
170           Size               Normal
171         EndFont
172 End
173
174 Style Epigraph
175         Category              Maintext
176         Margin                Right_Address_Box
177         LatexType             Command
178         LatexName             epigraph
179         ParSkip               0.4
180         BottomSep             1.5
181         ParSep                1.5
182         Align                 Left
183         Argument post:1
184                 MenuString    "Epigraph Source|S"
185                 LabelString   "Source"
186                 Tooltip       "The source/author of ths epigraph"
187                 Mandatory     1
188         EndArgument
189 End
190
191 Style Poemtitle
192         Category              Sectioning
193         LatexType             Command
194         LatexName             PoemTitle
195         NeedProtect           1
196         NextNoIndent          1
197         LabelSep              xxx
198         ParSkip               0.4
199         TopSep                0.4
200         ParSep                0.4
201         Align                 center
202         Argument 1
203                 LabelString   "Short Title (TOC)|S"
204                 Tooltip       "The poem title as it appears in the table of contents"
205         EndArgument
206         Argument 2
207                 LabelString   "Short Title (Header)"
208                 Tooltip       "The poem title as it appears in the running headers"
209                 Requires      1
210         EndArgument
211         Font
212            Series             Bold
213         EndFont
214 End
215
216
217 Style Poemtitle*
218         CopyStyle             Poemtitle
219         Category              Unnumbered
220         LatexName             PoemTitle*
221         Argument 1
222                 LabelString   "Short Title (TOC)|S"
223                 Tooltip       "The poem title as it appears in the table of contents"
224         EndArgument
225 End
226
227
228 Input stdtitle.inc
229 Input stdstruct.inc
230
231
232 Style Bibliography
233         TopSep               4
234         LabelString          "Bibliography"
235         LabelFont
236           Series             Bold
237           Size               Huge
238         EndFont
239 End
240
241
242 Input lyxmacros.inc
243 Input stdlayouts.inc
244
245 Style Legend
246         Category            Maintext
247         LatexType           Command
248         LatexName           legend
249         NeedProtect         1
250         NextNoIndent        1
251         ParSkip             0.4
252         Align               Center
253 End