]> git.lyx.org Git - features.git/blob - lib/layouts/aa.layout
DocBook: implement title for layouts that previously missed it.
[features.git] / lib / layouts / aa.layout
1 #% Do not delete the line below; configure depends on this
2 #  \DeclareLaTeXClass[aa,answers.sty]{Astronomy & Astrophysics}
3 #  \DeclareCategory{Articles}
4 #
5 # Author: Peter Sütterlin <pit@uni-sw.gwdg.de>
6 # Author: Jürgen Spitzmüller <spitz@lyx.org>
7 # Author: Uwe Stöhr <uwestoehr@web.de>
8 #
9 # 2001-05-17  take out include of stdlayouts; merge aapaper.inc
10 #             remove LaTeX style, rename to aa
11 # 2001-05-31  Adapt to aa.cls version 5.01:
12 #             take out thesaurus, email -> mail
13 #             change layout of title
14 #             abstract is command
15 # 2008-06-09  Implement \inst and \email as char styles,
16 #             implement paragraph style keywords
17 # 2008-10-26  Updated for aa.cls version 6.1
18 # 2013-05-26  Updated for aa.cls version 8.2
19
20
21 Format 85
22 Columns         2
23 Sides           2
24 SecNumDepth     3
25 TocDepth        0
26 PageStyle       Plain
27
28 # Pre-loaded packages
29 Provides inputenc       1
30 Provides natbib         1
31
32 ClassOptions
33         Other           utf8
34 End
35
36 Style Standard
37         Category        MainText
38         Margin          Static
39         LatexType       Paragraph
40         LatexName       dummy
41         ParIndent       MM
42         ParSkip         0.4
43         Align           Block
44         AlignPossible   Block, Left, Right, Center
45         LabelType       No_Label
46         DocBookTag  para
47 End
48
49 Input stdinsets.inc
50 Input stdlists.inc
51 Input stdsections.inc
52 Input stdtitle.inc
53 Input stdstruct.inc
54 Input stdfloats.inc
55 Input stdcounters.inc
56
57 NoStyle Chapter
58 NoCounter chapter
59 NoStyle Paragraph
60 NoCounter paragraph
61 NoStyle Subparagraph
62 NoCounter subparagraph
63 NoStyle Part
64 NoCounter part
65 NoStyle Abstract
66 NoStyle Bibliography
67
68
69 Style Subtitle
70         Margin          Static
71         LatexType       Command
72         InTitle         1
73         LatexName       subtitle
74         Category        FrontMatter
75         NextNoIndent    1
76         ParSkip         0.4
77         ItemSep         0
78         TopSep          1.3
79         BottomSep       1.3
80         ParSep          1
81         Align           Center
82         LabelType       No_Label
83         Font
84           Family        Sans
85           Size          Larger
86           Series        Bold
87         EndFont
88         DocBookTag            subtitle
89         DocBookInInfo         maybe
90 End
91
92
93 Style Address
94         LeftMargin      MMM
95         Margin          Static
96         LatexType       Command
97         InTitle         1
98         LatexName       institute
99         Category        FrontMatter
100         ParSkip         0.4
101         #BottomSep      0.4
102         Align           Left
103         LabelType       No_Label
104         Font
105           Family        Roman
106           Size          Small
107         EndFont
108         DocBookTag      address
109         DocBookInInfo   always
110 End
111
112
113 Style Offprint
114         Margin          Static
115         LatexType       Command
116         Category        FrontMatter
117         InTitle         1
118         LatexName       offprints
119         Align           Left
120         LeftMargin      "Offprint Requests to:M"
121         LabelType       Static
122         LabelString     "Offprint Requests to:"
123         LabelSep        M
124         Font
125           Family        Roman
126           Size          Small
127         EndFont
128         LabelFont
129           Family        Roman
130           Size          Small
131           Shape         Slanted
132         EndFont
133         DocBookTag            personname
134         DocBookTagType        paragraph
135         DocBookWrapperTag     author
136         DocBookWrapperAttr    role='offprint'
137         DocBookWrapperTagType inline
138         DocBookInInfo         always
139 End
140
141
142 Style Mail
143         Margin          Static
144         LatexType       Command
145         InTitle         1
146         Category        FrontMatter
147         LatexName       mail
148         Align           Left
149         LeftMargin      "Correspondence to:M"
150         LabelType       Static
151         LabelString     "Correspondence to:"
152         LabelSep        M
153         Font
154           Family        Roman
155           Size          Small
156         EndFont
157         LabelFont
158           Family        Roman
159           Size          Small
160           Shape         Slanted
161         EndFont
162         DocBookTag      author
163         DocBookAttr     role='mail'
164         DocBookTagType  paragraph
165         DocBookInInfo   always
166 End
167
168
169 Style Acknowledgement
170         Margin          First_Dynamic
171         LatexType       Environment
172         LatexName       acknowledgements
173         Category        BackMatter
174         NextNoIndent    0
175         ItemSep         0
176         TopSep          1.2
177         BottomSep       0
178         ParSep          0
179         Align           Block
180         LabelType       Static
181         LabelString     "Acknowledgements."
182         LabelSep        M
183         Font
184           Size          Small
185         EndFont
186         LabelFont
187           Size          Small
188           Shape         Italic
189         EndFont
190         DocBookTag            para
191         DocBookWrapperTag     acknowledgements
192 End
193
194
195 Style Section
196         Font
197           Family        Sans
198           Size          Large
199         EndFont
200 End
201
202
203 Style Subsection
204         Font
205           Family        Sans
206           Series        Medium
207           Size          Normal
208           Shape         Slanted
209         EndFont
210 End
211
212
213 Style Subsubsection
214         Font
215           Series        Medium
216           Size          Normal
217         EndFont
218 End
219
220
221 Style Title
222         TopSep          2
223         BottomSep       1.3
224         Align           Center
225         AlignPossible   Left
226         Font
227           Family        Sans
228           Series        Bold
229         EndFont
230         DocBookTag      title
231         DocBookTagType  paragraph
232         DocBookInInfo   maybe
233 End
234
235
236 Style Author
237         Align           Center
238         LabelType       No_Label
239         BottomSep       1.5
240         Font
241           Size          Large
242           Series        Medium
243         EndFont
244 End
245
246
247 Style Date
248         InTitle         1
249         LeftMargin      MMM
250         LabelSep        ""
251         TopSep          1.2
252         Align           Left
253         Font
254           Size          Small
255         EndFont
256         DocBookTag      date
257         DocBookTagType  paragraph
258         DocBookInInfo   always
259 End
260
261
262 InsetLayout "Flex:institutemark"
263         LyxType         custom
264         LatexType       command
265         LatexName       inst
266         LabelString     "Institute Mark"
267         Font
268           Color         foreground
269           Size          Small
270           Family        Roman
271           Shape         Up
272           Series        Medium
273           Misc          No_Emph
274           Misc          No_Noun
275           Misc          No_Bar
276         EndFont
277         LabelFont
278           Color         green
279           Size          Small
280         EndFont
281         MultiPar        true
282 End
283
284
285 Style Abstract_(unstructured)
286         LatexType       Command
287         LatexName       abstract
288         Category        FrontMatter
289         InTitle         1
290         NextNoIndent    1
291         Margin          Static
292         LeftMargin      MMM
293         RightMargin     MMM
294         ParIndent       ""
295         ItemSep         0
296         TopSep          1.2
297         BottomSep       0.7
298         ParSep          0
299         Align           Left
300         LabelType       Centered
301         LabelString     "ABSTRACT"
302         LabelBottomSep  0.7
303         Font
304           Size          Small
305         EndFont
306         LabelFont
307           Family        Sans
308           Series        Bold
309           Size          Small
310         EndFont
311         DocBookTag         para
312         DocBookWrapperTag  abstract
313         DocBookWrapperAttr role='unstructured'
314         DocBookWrapperMergeWithPrevious  true
315         DocBookInInfo     always
316 End
317
318
319 Style Abstract
320         ObsoletedBy     Abstract_(unstructured)
321 End
322
323
324 Style Abstract_(structured)
325         CopyStyle       Abstract_(unstructured)
326         Argument 1
327           Mandatory     1
328           LabelString   "Context"
329           Tooltip       "Context of your work (optional, can be left empty)"
330         EndArgument
331         Argument 2
332           Mandatory     1
333           LabelString   "Aims"
334           Tooltip       "Aims of your work"
335         EndArgument
336         Argument 3
337           Mandatory     1
338           LabelString   "Methods"
339           Tooltip       "Methods used in your work"
340         EndArgument
341         Argument 4
342           Mandatory     1
343           LabelString   "Results"
344           Tooltip       "Results of your work"
345         EndArgument
346         DocBookTag         para
347         DocBookWrapperTag  abstract
348         DocBookWrapperAttr role='structured'
349         DocBookWrapperMergeWithPrevious  true
350         DocBookInInfo      always
351 End
352
353
354 Style Keywords
355         Margin          First_Dynamic
356         LatexType       Command
357         LatexName       keywords
358         Category        FrontMatter
359         InTitle         1
360         NextNoIndent    1
361         LeftMargin      MMM
362         RightMargin     MMM
363         ParIndent       ""
364         ItemSep         0
365         TopSep          1.2
366         BottomSep       0.7
367         ParSep          0
368         Align           Block
369         LabelType       static
370         LabelString     "Key words."
371         LabelSep        M
372         LabelBottomSep  0
373         Font
374           Size          Small
375         EndFont
376         LabelFont
377           Family        Sans
378           Series        Bold
379           Size          Small
380         EndFont
381         DocBookTag         keyword
382         DocBookTagType     paragraph
383         DocBookWrapperTag  keywordset
384         DocBookInInfo      always
385 End
386
387
388 InsetLayout Flex:Institute
389         LyXType         charstyle
390         LatexType       command
391         LatexName       inst
392         Font
393           Color         blue
394         EndFont
395         ResetsFont true
396 End
397
398
399 InsetLayout Flex:E-Mail
400         LyXType         charstyle
401         LatexType       command
402         LatexName       email
403         Font
404           Family        Typewriter
405           Color         blue
406         EndFont
407         ResetsFont true
408 End
409
410
411 InsetLayout "Flex:Email"
412         LyxType         custom
413         LatexType       command
414         LatexName       email
415         LabelString     "Email"
416         Font
417           Color         foreground
418           Size          Small
419           Family        Roman
420           Shape         Up
421           Series        Medium
422           Misc          No_Emph
423           Misc          No_Noun
424           Misc          No_Bar
425         EndFont
426         LabelFont
427           Color         urllabel
428           Size          Small
429         EndFont
430         MultiPar        true
431 End
432