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