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