]> git.lyx.org Git - lyx.git/blob - lib/layouts/aa.layout
add stdfloats.inc and stdcounters.inc to a lot of layout files
[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 Input stdfloats.inc
90 Input stdcounters.inc
91 # Remove unwanted Styles
92
93 NoStyle Chapter
94 NoStyle Paragraph
95 NoStyle Subparagraph
96 NoStyle Part
97
98 # Definitions only valid for A&A style
99
100 # Subitle style definition
101 Style Subtitle
102   Margin                Static
103   LatexType             Command
104   InTitle               1
105   LatexName             subtitle
106   NextNoIndent          1
107   ParSkip               0.4
108   ItemSep               0
109   TopSep                1.3
110   BottomSep             1.3
111   ParSep                1
112   Align                 Center
113   LabelType             No_Label
114
115   # standard font definition
116   Font 
117     Family              Sans
118     Size                Larger
119     Series              Bold
120   EndFont
121 End
122
123 # Address style definition
124 Style Address
125   LeftMargin            MMM
126   Margin                Static
127   LatexType             Command
128   InTitle               1
129   LatexName             institute
130   ParSkip               0.4
131 #  BottomSep            0.4
132   Align                 Left
133   LabelType             No_Label
134
135   Font 
136     Family              Roman
137     Size                Small
138   EndFont
139 End
140
141 # Address for Offprints style definition
142 Style Offprint
143   Margin                Static
144   LatexType             Command
145   InTitle               1
146   LatexName             offprints
147   Align                 Left
148   AlignPossible         Left
149   LeftMargin            "MNMOffprint Requests to:"
150   LabelType             Static
151   LabelString           "Offprint Requests to:"
152   LabelSep              M
153
154   Font 
155     Family              Roman
156     Size                Small
157   EndFont
158   LabelFont 
159     Family              Roman
160     Size                Small
161     Shape               Slanted
162   EndFont
163 End
164
165 # Mail address style definition
166 Style Mail
167   Margin                Static
168   LatexType             Command
169   InTitle               1
170   LatexName             mail
171   Align                 Left
172   AlignPossible         Left
173   LeftMargin            "MJMCorrespondence to:"
174   LabelType             Static
175   LabelString           "Correspondence to:"
176   LabelSep              M
177
178   Font 
179     Family              Roman
180     Size                Small
181   EndFont
182   LabelFont 
183     Family              Roman
184     Size                Small
185     Shape               Slanted
186   EndFont
187 End
188
189
190 # Acnowledgement style definition
191 Style Acknowledgement
192   Margin                First_Dynamic
193   LatexType             Environment
194   LatexName             acknowledgements
195   NextNoIndent          0
196   ItemSep               0
197   TopSep                1.2
198   BottomSep             0
199   ParSep                0
200   Align                 Block
201   AlignPossible         Block
202   LabelType             Static
203   LabelString           "Acknowledgements."
204   LabelSep              M
205   # standard font definition
206   Font 
207     Size                Small
208   EndFont
209
210   # label font definition
211   LabelFont 
212     Size                Small
213     Shape               Italic
214   EndFont
215 End 
216   
217 # Caption style definition
218 Style Caption
219   Margin                First_Dynamic
220   LatexType             Command
221   LatexName             caption
222   NeedProtect           1
223   LabelSep              xx
224   ParSkip               0.4
225   TopSep                0.5
226   Align                 Center
227   AlignPossible         Center
228   LabelType             Sensitive
229   LabelString           Caption
230
231   LabelFont 
232     Series              Bold
233   EndFont
234 End
235
236 # Redefine some things
237
238 # Section style redefinition
239 Style Section
240   TopSep                2.0
241   BottomSep             1.3
242   Font 
243     Family              Sans
244     Size                Large
245   EndFont
246 End
247
248 # Subsection style redefinition
249 Style Subsection
250   TopSep                1.7
251   BottomSep             1.1
252   Font 
253     Family              Sans
254     Series              Medium
255     Size                Large
256     Shape               Slanted
257   EndFont
258 End
259
260 # Subsubsection style redefinition
261 Style Subsubsection
262   TopSep                1.7
263   BottomSep             1.1
264   Font 
265     Series              Medium
266     Size                Normal
267   EndFont
268 End
269
270 # Title style redefinition
271 Style Title
272   TopSep                2
273   BottomSep             1.3
274   Align                 Center
275   AlignPossible         Left
276   Font 
277     Family              Sans
278     Series              Bold
279   EndFont
280 End
281
282 # Author style redefinition
283 Style Author
284   Align                 Center
285   AlignPossible         Center
286   LabelType             No_Label
287   BottomSep             1.5
288   Font 
289     Size                Large
290     Series              Medium
291   EndFont
292 End
293
294 # Date style redefinition
295 Style Date
296   LeftMargin            MMM
297   LabelSep              ""
298   TopSep                1.2
299   Align                 Left
300   AlignPossible         Left
301   Font 
302     Size                Small
303   EndFont
304 End
305
306 # Abstract style redefinition
307 Style Abstract 
308   Margin                First_Dynamic
309   LatexType             Command
310   LatexName             abstract
311   InTitle               1
312   NextNoIndent          1
313   LeftMargin            MMM
314   RightMargin           MMM
315   ParIndent             ""
316   ItemSep               0
317   TopSep                1.2
318   BottomSep             0.7
319   ParSep                0
320   Align                 Block
321   AlignPossible         Block
322   LabelType             static
323   LabelString           "         Abstract "
324   LabelSep              M
325   LabelBottomSep        0
326
327   Font 
328     Size                Small
329   EndFont
330   LabelFont 
331     Family              Sans
332     Series              Bold
333     Size                Small
334   EndFont
335 End 
336
337 # Bibliography style redefinition
338 Style Bibliography
339   Align                 Left
340   AlignPossible         Left
341   LabelFont 
342     Series              Bold
343   EndFont
344 End
345