]> git.lyx.org Git - lyx.git/blob - lib/layouts/aa.layout
1ed0532454d6a918b9a1d872c1c64d32a35e1d3c
[lyx.git] / lib / layouts / aa.layout
1 #% Do not delete the line below; configure depends on this
2 #  \DeclareLaTeXClass[aa]{article (A&A)}
3 #
4 # Author: Peter Sütterlin <pit@uni-sw.gwdg.de>
5 #
6 # 2001-05-17  take out include of stdlayouts; merge aapaper.inc
7 #             remove LaTeX style, rename to aa
8 # 2001-05-31  Adapt to aa.cls version 5.01:
9 #             take out thesaurus, email -> mail
10 #             change layout of title
11 #             abstract is command
12
13 # General textclass parameters
14 Columns                 2
15 Sides                   2
16 MaxCounter              Counter_Section
17 SecNumDepth             3
18 TocDepth                0
19 PageStyle               Plain
20
21 DefaultFont
22   Family                Roman
23   Series                Medium
24   Shape                 Up
25   Size                  Normal
26   Color                 None
27 EndFont
28
29 # Standard style definition
30 Style Standard
31   Margin                Static
32   LatexType             Paragraph
33   LatexName             dummy
34   ParIndent             MM
35   ParSkip               0.4
36   Align                 Block
37   AlignPossible         Block, Left, Right, Center
38   LabelType             No_Label
39 End
40
41 # I want to keep the entries in a logical order.
42 # Therefore I'll define the entries first, then fill them
43
44 Style Section
45   End
46 Style Subsection
47   End
48 Style Subsubsection
49   End
50 Style Itemize
51   End
52 Style Enumerate
53   End
54 Style Description
55   End
56 Style List
57   End
58 Style Caption
59   End
60 Style Title
61   End
62 Style Subtitle
63   End
64 Style Author
65   End
66 Style Address
67   End
68 Style Offprint
69   End
70 Style Mail
71   End
72 Style Date
73   End
74 Style Abstract 
75   End
76 Style Acknowledgement
77   End
78 Style Bibliography
79   End
80
81 # OK, now we have a more or less consistent Ordering. Now fill the
82 # definitions. 
83 # First, the standard includes
84
85 Input stdlists.inc
86 Input stdsections.inc
87 Input stdtitle.inc
88 Input stdstruct.inc
89
90 # Remove unwanted Styles
91
92 NoStyle Chapter
93 NoStyle Paragraph
94 NoStyle Subparagraph
95 NoStyle Part
96
97 # Definitions only valid for A&A style
98
99 # Subitle style definition
100 Style Subtitle
101   Margin                Static
102   LatexType             Command
103   InTitle               1
104   LatexName             subtitle
105   NextNoIndent          1
106   ParSkip               0.4
107   ItemSep               0
108   TopSep                1.3
109   BottomSep             1.3
110   ParSep                1
111   Align                 Center
112   LabelType             No_Label
113
114   # standard font definition
115   Font 
116     Family              Sans
117     Size                Larger
118     Series              Bold
119   EndFont
120 End
121
122 # Address style definition
123 Style Address
124   LeftMargin            MMM
125   Margin                Static
126   LatexType             Command
127   InTitle               1
128   LatexName             institute
129   ParSkip               0.4
130 #  BottomSep            0.4
131   Align                 Left
132   LabelType             No_Label
133
134   Font 
135     Family              Roman
136     Size                Small
137   EndFont
138 End
139
140 # Address for Offprints style definition
141 Style Offprint
142   Margin                Static
143   LatexType             Command
144   InTitle               1
145   LatexName             offprints
146   Align                 Left
147   AlignPossible         Left
148   LeftMargin            "MNMOffprint Requests to:"
149   LabelType             Static
150   LabelString           "Offprint Requests to:"
151   LabelSep              M
152
153   Font 
154     Family              Roman
155     Size                Small
156   EndFont
157   LabelFont 
158     Family              Roman
159     Size                Small
160     Shape               Slanted
161   EndFont
162 End
163
164 # Mail address style definition
165 Style Mail
166   Margin                Static
167   LatexType             Command
168   InTitle               1
169   LatexName             mail
170   Align                 Left
171   AlignPossible         Left
172   LeftMargin            "MJMCorrespondence to:"
173   LabelType             Static
174   LabelString           "Correspondence to:"
175   LabelSep              M
176
177   Font 
178     Family              Roman
179     Size                Small
180   EndFont
181   LabelFont 
182     Family              Roman
183     Size                Small
184     Shape               Slanted
185   EndFont
186 End
187
188
189 # Acnowledgement style definition
190 Style Acknowledgement
191   Margin                First_Dynamic
192   LatexType             Environment
193   LatexName             acknowledgements
194   NextNoIndent          0
195   ItemSep               0
196   TopSep                1.2
197   BottomSep             0
198   ParSep                0
199   Align                 Block
200   AlignPossible         Block
201   LabelType             Static
202   LabelString           "Acknowledgements."
203   LabelSep              M
204   # standard font definition
205   Font 
206     Size                Small
207   EndFont
208
209   # label font definition
210   LabelFont 
211     Size                Small
212     Shape               Italic
213   EndFont
214 End 
215   
216 # Caption style definition
217 Style Caption
218   Margin                First_Dynamic
219   LatexType             Command
220   LatexName             caption
221   NeedProtect           1
222   LabelSep              xx
223   ParSkip               0.4
224   TopSep                0.5
225   Align                 Center
226   AlignPossible         Center
227   LabelType             Sensitive
228   LabelString           Caption
229
230   LabelFont 
231     Series              Bold
232   EndFont
233 End
234
235 # Redefine some things
236
237 # Section style redefinition
238 Style Section
239   TopSep                2.0
240   BottomSep             1.3
241   Font 
242     Family              Sans
243     Size                Large
244   EndFont
245 End
246
247 # Subsection style redefinition
248 Style Subsection
249   TopSep                1.7
250   BottomSep             1.1
251   Font 
252     Family              Sans
253     Series              Medium
254     Size                Large
255     Shape               Slanted
256   EndFont
257 End
258
259 # Subsubsection style redefinition
260 Style Subsubsection
261   TopSep                1.7
262   BottomSep             1.1
263   Font 
264     Series              Medium
265     Size                Normal
266   EndFont
267 End
268
269 # Title style redefinition
270 Style Title
271   TopSep                2
272   BottomSep             1.3
273   Align                 Center
274   AlignPossible         Left
275   Font 
276     Family              Sans
277     Series              Bold
278   EndFont
279 End
280
281 # Author style redefinition
282 Style Author
283   Align                 Center
284   AlignPossible         Center
285   LabelType             No_Label
286   BottomSep             1.5
287   Font 
288     Size                Large
289     Series              Medium
290   EndFont
291 End
292
293 # Date style redefinition
294 Style Date
295   LeftMargin            MMM
296   LabelSep              ""
297   TopSep                1.2
298   Align                 Left
299   AlignPossible         Left
300   Font 
301     Size                Small
302   EndFont
303 End
304
305 # Abstract style redefinition
306 Style Abstract 
307   Margin                First_Dynamic
308   LatexType             Command
309   LatexName             abstract
310   InTitle               1
311   NextNoIndent          1
312   LeftMargin            MMM
313   RightMargin           MMM
314   ParIndent             ""
315   ItemSep               0
316   TopSep                1.2
317   BottomSep             0.7
318   ParSep                0
319   Align                 Block
320   AlignPossible         Block
321   LabelType             static
322   LabelString           "         Abstract "
323   LabelSep              M
324   LabelBottomSep        0
325
326   Font 
327     Size                Small
328   EndFont
329   LabelFont 
330     Family              Sans
331     Series              Bold
332     Size                Small
333   EndFont
334 End 
335
336 # Bibliography style redefinition
337 Style Bibliography
338   Align                 Left
339   AlignPossible         Left
340   LabelFont 
341     Series              Bold
342   EndFont
343 End
344