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