]> git.lyx.org Git - lyx.git/blob - lib/layouts/memoir.layout
Merge remote-tracking branch 'origin/master' into features/latexargs
[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 <spitzmueller@gmx.de>
6 # Improvements by: Bennett Helm <bennett.helm@fandm.edu>
7 # feel free to contribute missing features!
8
9
10 Format 40
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"
56                 Shortcut      S
57                 Tooltip       "The Part as it appears in the TOC"
58         EndArgument
59         TocLevel             -1
60 End
61         
62
63
64 Style Chapter
65         Argument 1
66                 LabelString   "Short Title (TOC)"
67                 Shortcut      S
68                 Tooltip       "The Part as it appears in the TOC"
69         EndArgument
70         Argument 2
71                 LabelString   "Short Title (Header)"
72                 Tooltip       "The Part as it appears in the Header"
73                 Requires      shorttitle
74         EndArgument
75         TocLevel             0
76 End
77
78
79 Style Chapter*
80         Argument 1
81                 LabelString   "Short Title (TOC)"
82                 Shortcut      S
83                 Tooltip       "The Part as it appears in the TOC"
84         EndArgument
85 End
86
87
88 Style Section
89         Argument 1
90                 LabelString   "Short Title (TOC)"
91                 Shortcut      S
92                 Tooltip       "The Part as it appears in the TOC"
93         EndArgument
94         Argument 2
95                 LabelString   "Short Title (Header)"
96                 Tooltip       "The Part as it appears in the Header"
97                 Requires      shorttitle
98         EndArgument
99         TocLevel 1
100 End
101
102
103 Style Subsection
104         Argument 1
105                 LabelString   "Short Title (TOC)"
106                 Shortcut      S
107                 Tooltip       "The Part as it appears in the TOC"
108         EndArgument
109         Argument 2
110                 LabelString   "Short Title (Header)"
111                 Tooltip       "The Part as it appears in the Header"
112                 Requires      shorttitle
113         EndArgument
114         TocLevel 2
115 End
116
117
118 Style Subsubsection
119         Argument 1
120                 LabelString   "Short Title (TOC)"
121                 Shortcut      S
122                 Tooltip       "The Part as it appears in the TOC"
123         EndArgument
124         Argument 2
125                 LabelString   "Short Title (Header)"
126                 Tooltip       "The Part as it appears in the Header"
127                 Requires      shorttitle
128         EndArgument
129         TocLevel 3
130 End
131
132
133 Style Paragraph
134         Argument 1
135                 LabelString   "Short Title (TOC)"
136                 Shortcut      S
137                 Tooltip       "The Part as it appears in the TOC"
138         EndArgument
139         Argument 2
140                 LabelString   "Short Title (Header)"
141                 Tooltip       "The Part as it appears in the Header"
142                 Requires      shorttitle
143         EndArgument
144         TocLevel 4
145 End
146
147
148 Style Subparagraph
149         Argument 1
150                 LabelString   "Short Title (TOC)"
151                 Shortcut      S
152                 Tooltip       "The Part as it appears in the TOC"
153         EndArgument
154         Argument 2
155                 LabelString   "Short Title (Header)"
156                 Tooltip       "The Part as it appears in the Header"
157                 Requires      shorttitle
158         EndArgument
159         TocLevel 5
160 End
161
162
163 Style Chapterprecis
164         Margin               Static
165         LatexType            Command
166         LatexName            chapterprecis
167         NeedProtect          1
168         NextNoIndent         1
169         LeftMargin           MM
170         LabelSep             xxx
171         ParSkip              0.4
172         TopSep               0.4
173         BottomSep            0
174         ParSep               0.4
175         Align                Block
176         Font
177           Shape              Italic
178           Size               Normal
179         EndFont
180 End
181
182 #FIXME: this takes two parameters!!!
183 Style Epigraph
184         Category              Maintext
185         Margin                Right_Address_Box
186         LatexType             Command
187         LatexName             epigraph
188         ParSkip               0.4
189         BottomSep             1.5
190         ParSep                1.5
191         Align                 Left
192 End
193
194 Style Poemtitle
195         Category              Section
196         LatexType             Command
197         LatexName             PoemTitle
198         NeedProtect           1
199         NextNoIndent          1
200         LabelSep              xxx
201         ParSkip               0.4
202         TopSep                0.4
203         ParSep                0.4
204         Align                 center
205         Argument 1
206                 LabelString   "Short Title (TOC)"
207                 Shortcut      S
208                 Tooltip       "The Part as it appears in the TOC"
209         EndArgument
210         Argument 2
211                 LabelString   "Short Title (Header)"
212                 Tooltip       "The Part as it appears in the Header"
213                 Requires      shorttitle
214         EndArgument
215         Font
216            Series             Bold
217         EndFont
218 End
219
220
221 Style Poemtitle*
222         CopyStyle             Poemtitle
223         Category              Unnumbered
224         LatexName             PoemTitle*
225         Argument 1
226                 LabelString   "Short Title (TOC)"
227                 Shortcut      S
228                 Tooltip       "The Part as it appears in the TOC"
229         EndArgument
230 End
231
232
233 Input stdtitle.inc
234 Input stdstruct.inc
235
236
237 Style Bibliography
238         TopSep               4
239         LabelString          "Bibliography"
240         LabelFont
241           Series             Bold
242           Size               Huge
243         EndFont
244 End
245
246
247 Input lyxmacros.inc
248 Input stdlayouts.inc
249
250 Style Legend
251         Category            Maintext
252         LatexType           Command
253         LatexName           legend
254         NeedProtect         1
255         NextNoIndent        1
256         ParSkip             0.4
257         Align               Center
258 End