]> git.lyx.org Git - lyx.git/blob - lib/layouts/memoir.layout
ab79afce9cfd05aa8c8feeca6cd80b514d0319a2
[lyx.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 68
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         Category              MainText
34         Margin                Static
35         LatexType             Paragraph
36         LatexName             dummy
37         ParIndent             MM
38         ParSkip               0.4
39         Align                 Block
40         AlignPossible         Block, Left, Right, Center
41         LabelType             No_Label
42         HTMLStyle
43                 div.standard {
44                         margin-bottom: 2ex;
45                         text-align: left;
46                 }
47         EndHTMLStyle
48 End
49
50
51 Input stdinsets.inc
52 Input stdlists.inc
53 Input stdcounters.inc
54 Input stdfloats.inc
55 Input stdsections.inc
56 Input stdstarsections.inc
57 Input numreport.inc
58
59
60 Style Part
61         Argument 1
62                 LabelString   "Short Title|S"
63                 Tooltip       "The part as it appears in the table of contents/running headers"
64                 InsertCotext   1
65         EndArgument
66 End
67
68
69 Style Chapter
70         Argument 1
71                 LabelString   "Short Title (TOC)|S"
72                 Tooltip       "The chapter as it appears in the table of contents"
73                 InsertCotext   1
74         EndArgument
75         Argument 2
76                 LabelString   "Short Title (Header)"
77                 Tooltip       "The chapter as it appears in the running headers"
78                 InsertCotext  1
79                 Requires      1
80         EndArgument
81 End
82
83
84 Style Chapter*
85         Argument 1
86                 LabelString   "Short Title (TOC)|S"
87                 Tooltip       "The chapter as it appears in the table of contents"
88                 InsertCotext   1
89         EndArgument
90 End
91
92
93 Style Section
94         Argument 1
95                 LabelString   "Short Title (TOC)|S"
96                 Tooltip       "The section as it appears in the table of contents"
97                 InsertCotext   1
98         EndArgument
99         Argument 2
100                 LabelString   "Short Title (Header)"
101                 Tooltip       "The section as it appears in the running headers"
102                 InsertCotext  1
103                 Requires      1
104         EndArgument
105 End
106
107
108 Style Subsection
109         Argument 1
110                 LabelString   "Short Title (TOC)|S"
111                 Tooltip       "The subsection as it appears in the table of contents"
112                 InsertCotext   1
113         EndArgument
114         Argument 2
115                 LabelString   "Short Title (Header)"
116                 Tooltip       "The subsection as it appears in the running headers"
117                 InsertCotext  1
118                 Requires      1
119         EndArgument
120 End
121
122
123 Style Subsubsection
124         Argument 1
125                 LabelString   "Short Title (TOC)|S"
126                 Tooltip       "The subsubsection as it appears in the table of contents"
127                 InsertCotext   1
128         EndArgument
129         Argument 2
130                 LabelString   "Short Title (Header)"
131                 Tooltip       "The subsubsection as it appears in the running headers"
132                 InsertCotext  1
133                 Requires      1
134         EndArgument
135 End
136
137
138 Style Paragraph
139         Argument 1
140                 LabelString   "Short Title (TOC)|S"
141                 Tooltip       "The paragraph as it appears in the table of contents"
142                 InsertCotext   1
143         EndArgument
144         Argument 2
145                 LabelString   "Short Title (Header)"
146                 Tooltip       "The paragraph as it appears in the running headers"
147                 InsertCotext  1
148                 Requires      1
149         EndArgument
150 End
151
152
153 Style Subparagraph
154         Argument 1
155                 LabelString   "Short Title (TOC)|S"
156                 Tooltip       "The subparagraph as it appears in the table of contents"
157                 InsertCotext   1
158         EndArgument
159         Argument 2
160                 LabelString   "Short Title (Header)"
161                 Tooltip       "The subparagraph as it appears in the running headers"
162                 InsertCotext  1
163                 Requires      1
164         EndArgument
165 End
166
167
168 Style Chapterprecis
169         Margin               Static
170         LatexType            Command
171         LatexName            chapterprecis
172         NeedProtect          1
173         NextNoIndent         1
174         LeftMargin           MM
175         LabelSep             xxx
176         ParSkip              0.4
177         TopSep               0.4
178         BottomSep            0
179         ParSep               0.4
180         Align                Block
181         Font
182           Shape              Italic
183           Size               Normal
184         EndFont
185 End
186
187 Style Epigraph
188         Category              MainText
189         Margin                Right_Address_Box
190         LatexType             Command
191         LatexName             epigraph
192         ParSkip               0.4
193         BottomSep             1.5
194         ParSep                1.5
195         Align                 Left
196         Argument post:1
197                 MenuString    "Epigraph Source|S"
198                 LabelString   "Source"
199                 Tooltip       "The source/author of this epigraph"
200                 Mandatory     1
201         EndArgument
202         HTMLStyle
203                 div.epigraph {
204                         float: right;
205                         width: 33%;
206                         font-size: small;
207                         margin: 0.5em 0em 0.5em 1em;
208                 }
209         EndHTMLStyle
210 End
211
212 Style Poemtitle
213         Category              Sectioning
214         LatexType             Command
215         LatexName             PoemTitle
216         NeedProtect           1
217         NextNoIndent          1
218         LabelSep              xxx
219         ParSkip               0.4
220         TopSep                0.4
221         ParSep                0.4
222         Align                 center
223         Argument 1
224                 LabelString   "Short Title (TOC)|S"
225                 Tooltip       "The poem title as it appears in the table of contents"
226                 InsertCotext   1
227         EndArgument
228         Argument 2
229                 LabelString   "Short Title (Header)"
230                 Tooltip       "The poem title as it appears in the running headers"
231                 InsertCotext  1
232                 Requires      1
233         EndArgument
234         Font
235            Series             Bold
236         EndFont
237 End
238
239
240 Style Poemtitle*
241         CopyStyle             Poemtitle
242         Category              Unnumbered
243         LatexName             PoemTitle*
244         Argument 1
245                 LabelString   "Short Title (TOC)|S"
246                 Tooltip       "The poem title as it appears in the table of contents"
247                 InsertCotext   1
248         EndArgument
249 End
250
251
252 Input stdtitle.inc
253
254 Style Title
255         NeedProtect          true
256 End
257
258 Style Author
259         NeedProtect          true
260 End
261
262 Input stdstruct.inc
263
264
265 Style Bibliography
266         TopSep               4
267         LabelString          "Bibliography"
268         LabelFont
269           Series             Bold
270           Size               Huge
271         EndFont
272         TocLevel             0
273 End
274
275
276 Input lyxmacros.inc
277 Input stdlayouts.inc
278
279 Style Legend
280         Category            MainText
281         LatexType           Command
282         LatexName           legend
283         NeedProtect         1
284         NextNoIndent        1
285         ParSkip             0.4
286         Align               Center
287 End