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