]> git.lyx.org Git - lyx.git/blob - lib/layouts/egs.layout
Add CSS for enumerations to other classes
[lyx.git] / lib / layouts / egs.layout
1 #% Do not delete the line below; configure depends on this
2 #  \DeclareLaTeXClass{European Geophysical Society (EGS)}
3 #  \DeclareCategory{Articles}
4 # egs (article) textclass definition file for LyX.
5 # Get egs.cls from EGS website under www.copernicus.org
6 # Author : Matthias Ettrich <ettrich@informatik.uni-tuebingen.de>
7 # Transposed by Pascal AndrĂ© <andre@via.ecp.fr>
8 # Heavily modifed and enhanced by several developers.
9 # Converted article -> egs Martin Vermeer
10
11
12 Format 97
13 Columns                 2
14 Sides                   1
15 PageStyle               Plain
16 Provides natbib          1
17
18
19 Style Standard
20         Category              MainText
21         Margin                Static
22         LatexType             Paragraph
23         LatexName             dummy
24         ParIndent             MM
25         ParSkip               0.4
26         Align                 Block
27         AlignPossible         Block, Left, Right, Center
28         LabelType             No_Label
29         DocBookTag            para
30 End
31
32
33 Style Section
34         Category              Sectioning
35         Margin                Dynamic
36         LatexType             Command
37         LatexName             section
38         NextNoIndent          1
39         LabelSep              xxx
40         ParSkip               0.4
41         TopSep                1.3
42         BottomSep             0.7
43         ParSep                0.7
44         Align                 Block
45         AlignPossible         Block, Left
46         Font
47           Series              Bold
48         EndFont
49         LabelFont
50           Series              Bold
51         EndFont
52         TocLevel 1
53 End
54
55
56 Style Subsection
57         Category              Sectioning
58         Margin                Dynamic
59         LatexType             Command
60         LatexName             subsection
61         NextNoIndent          1
62         LabelSep              xxx
63         ParSkip               0.4
64         TopSep                0.9
65         BottomSep             0.5
66         ParSep                0.5
67         Align                 Block
68         AlignPossible         Block, Left
69         Font
70           Shape               Up
71         EndFont
72         TocLevel 2
73 End
74
75
76 Style Paragraph
77         CopyStyle             Subsection
78         LatexName             paragraph
79         ParSkip               0.4
80         TopSep                0.4
81         BottomSep             0.4
82         Font
83           Series              Bold
84           Size                Normal
85         EndFont
86         LabelFont
87           Series              Bold
88           Size                Normal
89         EndFont
90         TocLevel 4
91 End
92
93
94 Style Subparagraph
95         CopyStyle             Paragraph
96         LatexName             subparagraph
97         NextNoIndent          0
98         LeftMargin            MM
99         TocLevel 5
100 End
101
102
103 Style Quotation
104         Margin                Static
105         LatexType             Environment
106         LatexName             quotation
107         NextNoIndent          1
108         ToggleIndent          Always
109         LeftMargin            MMM
110         RightMargin           MMM
111         ParIndent             MM
112         ParSkip               0
113         ItemSep               0
114         TopSep                0.5
115         BottomSep             0.5
116         ParSep                0
117         Align                 Block
118         AlignPossible         Block, Left, Right, Center
119 End
120
121
122 Style Quote
123         Margin                Static
124         LatexType             Environment
125         LatexName             quote
126         NextNoIndent          1
127         ToggleIndent          Never
128         LeftMargin            MMM
129         RightMargin           MMM
130         TopSep                0.5
131         ParSep                0.5
132         BottomSep             0.5
133         Align                 Block
134         AlignPossible         Block, Left, Right, Center
135         LabelType             No_Label
136 End
137
138
139 Style List
140         Margin                Manual
141         LatexType             List_Environment
142         LatexName             lyxlist
143         NextNoindent          1
144         LabelSep              xxx
145         ParSkip               0.4
146         TopSep                0.7
147         BottomSep             0.7
148         ParSep                0.5
149         Align                 Block
150         AlignPossible         Block, Left
151         LabelType             Manual
152         LabelString           "00.00.0000"
153         Argument listpreamble:1
154                 LabelString    "List preamble"
155                 MenuString     "List Preamble"
156                 Tooltip        "LaTeX code to be inserted before the first item"
157                 PassThru       1
158                 Font
159                         Family typewriter
160                         Color latex
161                 EndFont
162         EndArgument
163 End
164
165
166 Style Enumerate
167         Category              List
168         Margin                Static
169         LatexType             Item_Environment
170         LatexName             enumerate
171         NextNoIndent          1
172         LeftMargin            MMN
173         LabelSep              xx
174         ParSkip               0.0
175         ItemSep               0.2
176         TopSep                0.7
177         BottomSep             0.7
178         ParSep                0.3
179         Align                 Block
180         AlignPossible         Block, Left
181         LabelType             Enumerate
182         RefPrefix             enu
183         Argument item:1
184                 LabelString   "Custom Item|s"
185                 Tooltip       "A customized item string"
186         EndArgument
187         Argument listpreamble:1
188                 LabelString    "List preamble"
189                 MenuString     "List Preamble"
190                 Tooltip        "LaTeX code to be inserted before the first item"
191                 PassThru       1
192                 Font
193                         Family typewriter
194                         Color latex
195                 EndFont
196         EndArgument
197         DocBookTag            orderedlist
198         DocBookItemTag        listitem
199         DocBookItemInnerTag   para
200         HTMLStyle
201                 ol.lyxenumi   { list-style-type: decimal; }
202                 ol.lyxenumii  { list-style-type: lower-latin; }
203                 ol.lyxenumiii { list-style-type: lower-roman; }
204                 ol.lyxenumiv  { list-style-type: upper-latin; }
205         EndHTMLStyle
206 End
207
208
209 Style Itemize
210         Category              List
211         Margin                Static
212         LatexType             Item_Environment
213         LatexName             itemize
214         NextNoIndent          1
215         ToggleIndent          Never
216         LeftMargin            MMN
217         LabelSep              xx
218         ItemSep               0.2
219         TopSep                0.7
220         BottomSep             0.7
221         ParSep                0.3
222         Align                 Block
223         AlignPossible         Block, Left
224         LabelType             Itemize
225         Argument item:1
226                 LabelString   "Custom Item|s"
227                 Tooltip       "A customized item string"
228         EndArgument
229         Argument listpreamble:1
230                 LabelString    "List preamble"
231                 MenuString     "List Preamble"
232                 Tooltip        "LaTeX code to be inserted before the first item"
233                 PassThru       1
234                 Font
235                         Family typewriter
236                         Color latex
237                 EndFont
238         EndArgument
239         DocBookTag            itemizedlist
240         DocBookItemTag        listitem
241         DocBookItemInnerTag   para
242 End
243
244
245 Style Description
246         Margin                First_Dynamic
247         LatexType             Item_environment
248         LatexName             description
249         NextNoIndent          1
250         ToggleIndent          Never
251         LeftMargin            MM
252         LabelSep              xxx
253         ParSkip               0.4
254         ItemSep               0.2
255         TopSep                0.7
256         BottomSep             0.7
257         ParSep                0.3
258         Align                 Block
259         AlignPossible         Block, Left
260         LabelType             Manual
261         LabelFont
262           Series              Bold
263         EndFont
264         Argument listpreamble:1
265                 LabelString    "List preamble"
266                 MenuString     "List Preamble"
267                 Tooltip        "LaTeX code to be inserted before the first item"
268                 PassThru       1
269                 Font
270                         Family typewriter
271                         Color latex
272                 EndFont
273         EndArgument
274         DocBookTag            variablelist
275         DocBookItemWrapperTag varlistentry
276         DocBookItemTag        listitem
277         DocBookItemInnerTag   para
278         DocBookItemLabelTag   term
279         DocBookItemLabelTagType   paragraph
280 End
281
282
283 Style Verse
284 # LaTeX type is first dynamic because of LaTeX implementation.
285 # In LyX this does not make sense.
286         LatexType             Environment
287         LatexName             verse
288         Margin                First_Dynamic
289         NextNoIndent          1
290         LeftMargin            MMMM
291         LabelIndent           MMMM
292         ParSkip               0.4
293         TopSep                0.7
294         BottomSep             0.7
295         ParSep                0.5
296         Align                 Block
297         AlignPossible         Block, Left
298         LabelType             No_Label
299 End
300
301
302 Style Right_Address
303         Margin                Right_Address_Box
304         LatexType             Command
305         LatexName             lyxrightaddress
306         ParSkip               0.4
307         BottomSep             1.5
308         ParSep                1.5
309         Align                 Left
310 End
311
312
313 Style Address
314         Margin                Static
315         LatexType             Command
316         LatexName             lyxaddress
317         ParSkip               0.4
318         BottomSep             1.5
319         ParSep                1.5
320         Align                 Left
321         AlignPossible         Block, Left, Right, Center
322         LabelType             No_Label
323 End
324
325
326 Style Title
327         Category              FrontMatter
328         Margin                Static
329         LatexType             Command
330         LatexName             title
331         NextNoIndent          1
332         ParSkip               0.4
333         TopSep                1.3
334         BottomSep             0.7
335         ParSep                0.7
336         Align                 Left
337         AlignPossible         Block, Center, Left, Right, Center
338         LabelType             No_Label
339         Font
340           Family              Sans
341           Series              Bold
342           Size                Largest
343         EndFont
344         HTMLTitle             true
345         DocBookTag            title
346         DocBookTagType        paragraph
347         DocBookInInfo         maybe
348 End
349
350
351 Style LaTeX_Title
352         Margin                Static
353         LatexType             Command
354         LatexName             title
355         NextNoIndent          1
356         ParSkip               0.4
357         ItemSep               0
358         TopSep                0
359         BottomSep             0
360         ParSep                0
361         Align                 Center
362         LabelType             No_Label
363         Font
364           Family              Sans
365           Series              Bold
366           Size                Largest
367         EndFont
368         HTMLTitle             true
369 End
370
371
372 Style Author
373         Category              FrontMatter
374         Margin                Static
375         LatexType             Command
376         LatexName             author
377         NextNoIndent          1
378         LeftMargin            Author:xx
379         LabelSep              xxx
380         ParSkip               0.4
381         TopSep                1.3
382         BottomSep             0.7
383         ParSep                0.7
384         Align                 Left
385         LabelType             Static
386         LabelString           "Author:"
387         LabelFont
388           Series              Bold
389           Shape               Italic
390           Color               textlabel3
391         EndFont
392         DocBookTag            personname
393         DocBookTagType        paragraph
394         DocBookWrapperTag     author
395         DocBookWrapperTagType inline
396         DocBookInInfo         always
397 End
398
399
400 Style Affil
401         Margin                Static
402         LatexType             Command
403         LatexName             affil
404         NextNoIndent          1
405         LeftMargin            Affiliation:x
406         LabelSep              xxx
407         ParSkip               0.4
408         TopSep                1.3
409         BottomSep             0.7
410         ParSep                0.7
411         Align                 Left
412         LabelType             Static
413         LabelString           "Affiliation:"
414         LabelFont
415           Series              Bold
416           Shape               Italic
417           Color               textlabel3
418         EndFont
419 End
420
421
422 Style Journal
423         Margin                Static
424         LatexType             Command
425         LatexName             journal
426         NextNoIndent          1
427         LeftMargin            Journal:xx
428         LabelSep              xxx
429         ParSkip               0.4
430         TopSep                1.3
431         BottomSep             0.7
432         ParSep                0.7
433         Align                 Left
434         LabelType             Static
435         LabelString           "Journal:"
436         LabelFont
437           Series              Bold
438           Shape               Italic
439           Color               textlabel3
440         EndFont
441 End
442
443
444 Style msnumber
445         Margin                Static
446         LatexType             Command
447         LatexName             msnumber
448         NextNoIndent          1
449         LabelSep              xxx
450         LeftMargin            MS_number:xx
451         LabelSep              xxx
452         ParSkip               0.4
453         TopSep                1.3
454         BottomSep             0.7
455         ParSep                0.7
456         Align                 Left
457         LabelType             Static
458         LabelString           "MS_number:"
459         LabelFont
460           Series              Bold
461           Shape               Italic
462           Color               textlabel3
463         EndFont
464 End
465
466
467
468 Style FirstAuthor
469         Margin                Static
470         LatexType             Command
471         LatexName             firstauthor
472         NextNoIndent          1
473         LabelSep              xxx
474         LeftMargin            1st_author_surname:xx
475         ParSkip               0.4
476         TopSep                1.3
477         BottomSep             0.7
478         ParSep                0.7
479         Align                 Left
480         LabelType             Static
481         LabelString           "1st_author_surname:"
482         LabelFont
483           Series              Bold
484           Shape               Italic
485           Color               textlabel3
486         EndFont
487 End
488
489
490 Style Received
491         Margin                Static
492         LatexType             Command
493         LatexName             received
494         NextNoIndent          1
495         LabelSep              xxx
496         LeftMargin            Received:xx
497         ParSkip               0.4
498         TopSep                1.3
499         BottomSep             0.7
500         ParSep                0.7
501         Align                 Left
502         LabelType             Static
503         LabelString           "Received:"
504         LabelFont
505           Series              Bold
506           Shape               Italic
507           Color               textlabel3
508         EndFont
509 End
510
511
512 Style Accepted
513         Margin                Static
514         LatexType             Command
515         LatexName             accepted
516         NextNoIndent          1
517         LabelSep              xxx
518         LeftMargin            Accepted:xx
519         ParSkip               0.4
520         TopSep                1.3
521         BottomSep             0.7
522         ParSep                0.7
523         Align                 Left
524         LabelType             Static
525         LabelString           "Accepted:"
526         LabelFont
527           Series              Bold
528           Shape               Italic
529           Color               textlabel3
530         EndFont
531 End
532
533
534 Style Offsets
535         Margin                Static
536         LatexType             Command
537         LatexName             offsets
538         NextNoIndent          1
539         LabelSep              xxx
540         LeftMargin            Reprint_reqs_To:x
541         ParSkip               0.4
542         TopSep                1.3
543         BottomSep             0.7
544         ParSep                0.7
545         Align                 Left
546         LabelType             Static
547         LabelString           "reprint_reqs_to:"
548         LabelFont
549           Series              Bold
550           Shape               Italic
551           Color               textlabel3
552         EndFont
553 End
554
555
556 Style Date
557         Margin                Dynamic
558         LatexType             Command
559         LatexName             date
560         NextNoIndent          1
561         LabelSep              xxx
562         ParSkip               0.4
563         TopSep                0.9
564         BottomSep             0.5
565         ParSep                0.5
566         Align                 Left
567         LabelType             No_Label
568 End
569
570
571 Style Abstract
572         Category              FrontMatter
573         Margin                First_Dynamic
574         LatexType             Environment
575         LatexName             abstract
576         NextNoIndent          0
577         ParIndent             MM
578         LabelSep              x
579         ItemSep               0
580         TopSep                0.7
581         BottomSep             0.7
582         ParSep                0
583         Align                 Block
584         AlignPossible         Block, Left
585         LabelType             Static
586         LabelString           "Abstract."
587         LabelFont
588           Series              Bold
589         EndFont
590 End
591
592
593 Style Acknowledgements
594         Category              BackMatter
595         Margin                First_Dynamic
596         LatexType             Environment
597         LatexName             acknowledgements
598         NextNoIndent          0
599         ParIndent             MM
600         LabelSep              x
601         ItemSep               0
602         TopSep                0.7
603         BottomSep             0.7
604         ParSep                0
605         Align                 Block
606         AlignPossible         Block, Left
607         LabelType             Static
608         LabelString           "Acknowledgements."
609         Font
610           Size                Small
611         EndFont
612         LabelFont
613           Shape               Italic
614           Size                Small
615         EndFont
616 End
617
618
619 Style Acknowledgement
620         Margin                First_Dynamic
621         LatexType             Environment
622         LatexName             acknowledgement
623         NextNoIndent          0
624         ParIndent             MM
625         LabelSep              x
626         ItemSep               0
627         TopSep                0.7
628         BottomSep             0.7
629         ParSep                0
630         Align                 Block
631         AlignPossible         Block, Left
632         LabelType             Static
633         LabelString           "Acknowledgement."
634         Font
635           Size                Small
636         EndFont
637         LabelFont
638           Shape               Italic
639           Size                Small
640         EndFont
641 End
642
643
644 Style Bibliography
645         Category              BackMatter
646         Margin                First_Dynamic
647         LatexType             Bib_Environment
648         LatexName             thebibliography
649         NextNoIndent          1
650         ToggleIndent          Never
651         LeftMargin            MM
652         ParSkip               0.4
653         ItemSep               0
654         TopSep                0.7
655         BottomSep             0.7
656         ParSep                0.5
657         Align                 Block
658         AlignPossible         Block, Left
659         LabelType             Bibliography
660         LabelString           "References"
661         LabelBottomSep        0.7
662         LabelFont
663           Series              Bold
664         EndFont
665         TocLevel              1
666         IsTocCaption          0
667         Argument listpreamble:1
668           LabelString    "Bib preamble"
669           MenuString     "Bibliography Preamble"
670           Tooltip        "LaTeX code to be inserted before the first bibliography item"
671           PassThru       1
672           Font
673             Family      typewriter
674             Color       latex
675           EndFont
676         EndArgument
677 End
678
679
680
681
682 Style Section*
683         Margin                Static
684         LatexType             Command
685         LatexName             section*
686         NextNoIndent          1
687         LabelSep              xxx
688         ParSkip               0.4
689         TopSep                1.3
690         BottomSep             0.7
691         ParSep                0.7
692         Align                 Block
693         AlignPossible         Block, Left, Right, Center
694         LabelType             No_Label
695         Font
696           Series              Bold
697 #    Size               Larger
698         EndFont
699         HTMLInToc        0
700 End
701
702
703 Style Subsection*
704         Margin                Static
705         LatexType             Command
706         LatexName             subsection*
707         NextNoIndent          1
708         LabelSep              xxx
709         ParSkip               0.4
710         TopSep                0.9
711         BottomSep             0.5
712         ParSep                0.5
713         Align                 Block
714         AlignPossible         Block, Left, Right, Center
715         LabelType             No_Label
716         HTMLInToc        0
717 End
718
719
720 Style LaTeX
721         Margin                Static
722         LatexType             Paragraph
723         LatexName             dummy
724         NewLine               0
725         ParIndent             MM
726         ParSkip               0.4
727         ParSep                0.5
728         Align                 Block
729         AlignPossible         Block, Left, Right, Center
730         LabelType             No_Label
731         FreeSpacing           1
732         Font
733           Color               textlabel3
734         EndFont
735 End
736
737
738 Style LyX-Code
739         Margin                Static
740         LatexType             Environment
741         LatexName             lyxcode
742         NextNoIndent          1
743         LeftMargin            MMM
744         RightMargin           MMM
745         TopSep                0.5
746         BottomSep             0.5
747         Align                 Left
748         AlignPossible         Block, Left, Right, Center
749         LabelType             No_Label
750         FreeSpacing           1
751         Font
752           Family              Typewriter
753         EndFont
754         DocBookTag            programlisting
755     DocBookTagType        paragraph
756         DocBookAttr                       language='lyx'
757 End
758
759
760 Input stdinsets.inc
761 Input stdfloats.inc
762 Input numarticle.inc
763 Input stdcounters.inc
764 Input stdrefprefix.inc