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