]> git.lyx.org Git - lyx.git/blob - lib/layouts/elsarticle.layout
aadf753b72480cd5a34574e4042b5d8149ea09a8
[lyx.git] / lib / layouts / elsarticle.layout
1 #% Do not delete the line below; configure depends on this
2 #  \DeclareLaTeXClass[elsarticle,natbib.sty,pifont.sty]{Elsevier}
3 #  \DeclareCategory{Articles}
4 # elsarticle textclass definition file.
5 # Author: Uwe Stöhr (uwestoehr@web.de)
6
7 Format 43
8
9 Columns                 1
10 Sides                   1
11 SecNumDepth             3
12 TocDepth                3
13 DefaultStyle            Standard
14 Provides natbib         1
15 Provides refstyle       1
16
17 ClassOptions
18         FontSize                10|11|12
19 end
20
21
22 # This is just to show how to declare the default font.
23 # The defaults are exactly those shown here.
24 DefaultFont
25         Family                  Roman
26         Series                  Medium
27         Shape                   Up
28         Size                    Normal
29         Color                   None
30 EndFont
31
32
33 Style Standard
34         Category                MainText
35         Margin                  Static
36         LatexType               Paragraph
37         LatexName               dummy
38         ParIndent               MM
39         ParSkip                 0.4
40         Align                   Block
41         AlignPossible           Block, Left, Right, Center
42         LabelType               No_Label
43 End
44
45 Input stdcounters.inc
46 Input stdfloats.inc
47 Input stdlists.inc
48 Input stdsections.inc
49 Input stdstarsections.inc
50 Input stdlayouts.inc
51
52 NoStyle Chapter
53 NoCounter chapter
54 NoStyle Chapter*
55
56
57 Style BeginFrontmatter
58   Margin        Dynamic
59   LatexType     Command
60   LatexName     begin{frontmatter}
61   Category      FrontMatter
62   KeepEmpty     1
63   ParSkip       0.4
64   Align         Block
65   LabelSep      xx
66   LabelType     Static
67   LabelString   "Begin frontmatter"
68   LabelFont
69     Series      Bold
70     Color       Green
71   EndFont
72 End
73
74
75 Style EndFrontmatter
76   CopyStyle     BeginFrontmatter
77   LatexName     end{frontmatter}
78   LabelString   "End frontmatter"
79 End
80
81
82 Style Title
83         Margin                  Static
84         LatexType               Command
85         LatexName               title
86         Category                FrontMatter
87         InTitle                 0
88         ResetArgs               1
89         ParSkip                 0.4
90         ItemSep                 0
91         TopSep                  0
92         BottomSep               1
93         ParSep                  1
94         Align                   Center
95         LabelType               No_Label
96         Font
97           Size                  Largest
98         EndFont
99         HTMLTitle             true
100 End
101
102
103 InsetLayout "Flex:Titlenotemark"
104         LyxType                 custom
105         LatexType               command
106         LatexName               tnoteref
107         LabelString             "Titlenote mark"
108         Font
109           Color                 foreground
110           Size                  Small
111           Family                Roman
112           Shape                 Up
113           Series                Medium
114           Misc                  No_Emph
115           Misc                  No_Noun
116           Misc                  No_Bar
117         EndFont
118         LabelFont
119           Color                 green
120           Size                  Small
121         EndFont
122 End
123
124
125 Style "Title footnote"
126         Margin                  Dynamic
127         LatexType               Command
128         LatexName               tnotetext
129         Category                FrontMatter
130         InTitle                 0
131         Argument 1
132           LabelString           "Footnote Label"
133           Tooltip               "Label you refer to in the title"
134         EndArgument
135         ParSkip                 0.4
136         BottomSep               0.5
137         Align                   Left
138         LabelSep                xx
139         LabelType               Static
140         LabelString             "Title footnote:"
141         LabelFont
142           Color                 Green
143           Series                Bold
144         EndFont
145 End
146
147
148 Style Author
149         Margin                  Static
150         LatexType               Command
151         Category                FrontMatter
152         InTitle                 0
153         Argument 1
154           LabelString           "Author Label"
155           Tooltip               "Label you will reference in the address"
156         EndArgument
157         LatexName               author
158         LabelSep                xxx
159         ParSkip                 0.4
160         TopSep                  1.3
161         BottomSep               0.7
162         ParSep                  0.7
163         Align                   Center
164         LabelType               No_Label
165         Font
166           Size                  Large
167         EndFont
168 End
169
170
171 InsetLayout "Flex:Authormark"
172         LyxType                 custom
173         LatexType               command
174         LatexName               fnref
175         LabelString             "Author mark"
176         Font
177           Color                 foreground
178           Size                  Small
179           Family                Roman
180           Shape                 Up
181           Series                Medium
182           Misc                  No_Emph
183           Misc                  No_Noun
184           Misc                  No_Bar
185         EndFont
186         LabelFont
187           Color                 latex
188           Size                  Small
189         EndFont
190 End
191
192
193 Style "Author footnote"
194         CopyStyle               "Title footnote"
195         LatexName               fntext
196         LabelString             "Author footnote:"
197         Argument 1
198           LabelString           "Author Footnote Label"
199           Tooltip               "Label you refer to for an author"
200         EndArgument
201 End
202
203
204 InsetLayout "Flex:CorAuthormark"
205         LyxType                 custom
206         LatexType               command
207         LatexName               corref
208         LabelString             "CorAuthor mark"
209         Font
210           Color                 foreground
211           Size                  Small
212           Family                Roman
213           Shape                 Up
214           Series                Medium
215           Misc                  No_Emph
216           Misc                  No_Noun
217           Misc                  No_Bar
218         EndFont
219         LabelFont
220           Color                 blue
221           Size                  Small
222         EndFont
223 End
224
225
226 Style "Corresponding author"
227         CopyStyle               "Author footnote"
228         LatexName               cortext
229         LabelString             "Corresponding author text:"
230 End
231
232
233 Style Address
234         Margin                  Static
235         LatexType               Command
236         Category                FrontMatter
237         LatexName               address
238         InTitle                 0
239         Argument 1
240           LabelString           "Address Label"
241           Tooltip               "Label of the author you refer to"
242         EndArgument
243         ParSkip                 0.4
244         Align                   Center
245         AlignPossible           Left, Right
246         LabelType               No_Label
247         Font
248           Shape                 Italic
249         EndFont
250 End
251
252
253 Style Email
254         CopyStyle               Address
255         LatexName               ead
256         AlignPossible           Block
257         Argument 1
258           LabelString           "Internet"
259           Tooltip               "if content is 'url', email becomes an Internet address"
260         EndArgument
261         Font
262           Shape                 Up
263         EndFont
264 End
265
266
267 Style Abstract
268         Margin                  Static
269         LatexType               Environment
270         LatexName               abstract
271         Category                FrontMatter
272         InTitle                 0
273         NextNoIndent            1
274         LeftMargin              MMM
275         RightMargin             MMM
276         ParIndent               MM
277         ItemSep                 0
278         TopSep                  0.7
279         BottomSep               0.7
280         ParSep                  0
281         Align                   Block
282         AlignPossible           Block
283         LabelType               Centered_Top_Environment
284         LabelString             "Abstract"
285         LabelBottomSep          0.5
286         Font
287           Size                  Small
288         EndFont
289         LabelFont
290           Series                Bold
291           Size                  Large
292         EndFont
293 End
294
295
296 Style Keywords
297         Margin                  Dynamic
298         LatexType               Environment
299         LatexName               keyword
300         Category                FrontMatter
301         InTitle                 0
302         Align                   Left
303         NextNoIndent            1
304         BottomSep               0.5
305         ParSkip                 0.4
306         Align                   Block
307         LabelSep                xx
308         LabelType               Static
309         LabelString             "Keywords:"
310         LabelFont
311           Color                 Green
312           Series                Bold
313         EndFont         
314 End
315
316
317 Style Bibliography
318         Margin                  First_Dynamic
319         LatexType               Bib_Environment
320         LatexName               thebibliography
321         Category                BackMatter
322         NextNoIndent            1
323         LeftMargin              MM
324         ParSkip                 0.4
325         ItemSep                 0
326         TopSep                  0.7
327         BottomSep               0.7
328         ParSep                  0.5
329         Align                   Block
330         AlignPossible           Block, Left
331         LabelType               Bibliography
332         LabelString             "References"
333         LabelBottomSep          1.2
334         LabelFont
335           Series                Bold
336           Size                  Larger
337         EndFont
338 End
339