]> git.lyx.org Git - lyx.git/blob - lib/layouts/elsarticle.layout
Fix a bug involving module conflicts. We need to check not only that we
[lyx.git] / lib / layouts / elsarticle.layout
1 #% Do not delete the line below; configure depends on this
2 #  \DeclareLaTeXClass[elsarticle]{article (Elsevier)}
3 # elsarticle textclass definition file.
4 # Author: Uwe Stöhr (uwestoehr@web.de)
5
6 Format 10
7
8 Columns                 1
9 Sides                   1
10 SecNumDepth             3
11 TocDepth                3
12 DefaultStyle            Standard
13
14 ClassOptions
15         FontSize                10|11|12
16 end
17
18
19 # This is just to show how to declare the default font.
20 # The defaults are exactly those shown here.
21 DefaultFont
22         Family                  Roman
23         Series                  Medium
24         Shape                   Up
25         Size                    Normal
26         Color                   None
27 EndFont
28
29
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 Input stdcounters.inc
42 Input stdfloats.inc
43 Input stdlists.inc
44 Input stdsections.inc
45 Input stdstarsections.inc
46
47 NoStyle Chapter
48 NoStyle Chapter*
49
50
51 Style Title
52         Margin                  Static
53         LatexType               Command
54         LatexName               title
55         Category                FrontMatter
56         InTitle                 1
57         OptionalArgs            0
58         ParSkip                 0.4
59         ItemSep                 0
60         TopSep                  0
61         BottomSep               1
62         ParSep                  1
63         Align                   Center
64         AlignPossible           None
65         LabelType               No_Label
66         Font
67           Size                  Largest
68         EndFont
69 End
70
71
72 Style "Title footnote"
73         Margin                  Dynamic
74         LatexType               Command
75         LatexName               tnotetext
76         Category                FrontMatter
77         InTitle                 1
78         OptionalArgs            1
79         ParSkip                 0.4
80         BottomSep               0.5
81         Align                   Left
82         LabelSep                xx
83         LabelType               Static
84         LabelString             "Title footnote:"
85         LabelFont
86           Color                 Green
87           Series                Bold
88         EndFont
89 End
90
91
92 Style Author
93         Margin                  Static
94         LatexType               Command
95         Category                FrontMatter
96         InTitle                 1
97         OptionalArgs            1
98         LatexName               author
99         LabelSep                xxx
100         ParSkip                 0.4
101         TopSep                  1.3
102         BottomSep               0.7
103         ParSep                  0.7
104         Align                   Center
105         LabelType               No_Label
106         Font
107           Size                  Large
108         EndFont
109 End
110
111
112 Style "Author footnote"
113         CopyStyle               "Title footnote"
114         LatexName               fntext
115         LabelString             "Author footnote:"
116 End
117
118
119 Style "Corresponding author"
120         CopyStyle               "Title footnote"
121         LatexName               cortext
122         LabelString             "Corresponding author text:"
123 End
124
125
126 Style Address
127         Margin                  Static
128         LatexType               Command
129         Category                FrontMatter
130         LatexName               address
131         InTitle                 1
132         OptionalArgs            1
133         ParSkip                 0.4
134         Align                   Center
135         AlignPossible           Left, Right
136         LabelType               No_Label
137         Font
138           Shape                 Italic
139         EndFont
140 End
141
142
143 Style Email
144         CopyStyle               Address
145         LatexName               ead
146         AlignPossible           None
147         Font
148           Shape                 Up
149         EndFont
150 End
151
152
153 Style Abstract
154         Margin                  Static
155         LatexType               Environment
156         LatexName               abstract
157         Category                FrontMatter
158         InTitle                 1
159         NextNoIndent            1
160         LeftMargin              MMM
161         RightMargin             MMM
162         ParIndent               MM
163         ItemSep                 0
164         TopSep                  0.7
165         BottomSep               0.7
166         ParSep                  0
167         Align                   Block
168         AlignPossible           Block
169         LabelType               Centered_Top_Environment
170         LabelString             "Abstract"
171         LabelBottomSep          0.5
172         Font
173           Size                  Small
174         EndFont
175         LabelFont
176           Series                Bold
177           Size                  Large
178         EndFont
179 End
180
181
182 Style Keywords
183         Margin                  Dynamic
184         LatexType               Environment
185         LatexName               keyword
186         Category                FrontMatter
187         InTitle                 1
188         Align                   Left
189         NextNoIndent            1
190         BottomSep               0.5
191         ParSkip                 0.4
192         Align                   Block
193         LabelSep                xx
194         LabelType               Static
195         LabelString             "Keywords:"
196         LabelFont
197           Color                 Green
198           Series                Bold
199         EndFont         
200 End
201
202
203 Style Bibliography
204         Margin                  First_Dynamic
205         LatexType               Bib_Environment
206         LatexName               thebibliography
207         Category                BackMatter
208         NextNoIndent            1
209         LeftMargin              MM
210         ParSkip                 0.4
211         ItemSep                 0
212         TopSep                  0.7
213         BottomSep               0.7
214         ParSep                  0.5
215         Align                   Block
216         AlignPossible           Block, Left
217         LabelType               Bibliography
218         LabelString             "References"
219         LabelBottomSep          1.2
220         LabelFont
221           Series                Bold
222           Size                  Larger
223         EndFont
224 End
225