]> git.lyx.org Git - lyx.git/blob - lib/layouts/elsarticle.layout
Merge remote-tracking branch 'origin/master' into features/latexargs
[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 40
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 Option"
132                 Tooltip       "Optional argument for the footnote"
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 Option"
154                 Tooltip       "Optional argument for the author"
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 End
197
198
199 InsetLayout "Flex:CorAuthormark"
200         LyxType                 custom
201         LatexType               command
202         LatexName               corref
203         LabelString             "CorAuthor mark"
204         Font
205           Color                 foreground
206           Size                  Small
207           Family                Roman
208           Shape                 Up
209           Series                Medium
210           Misc                  No_Emph
211           Misc                  No_Noun
212           Misc                  No_Bar
213         EndFont
214         LabelFont
215           Color                 blue
216           Size                  Small
217         EndFont
218 End
219
220
221 Style "Corresponding author"
222         CopyStyle               "Title footnote"
223         LatexName               cortext
224         LabelString             "Corresponding author text:"
225 End
226
227
228 Style Address
229         Margin                  Static
230         LatexType               Command
231         Category                FrontMatter
232         LatexName               address
233         InTitle                 0
234         Argument 1
235                 LabelString   "Address Option"
236                 Tooltip       "Optional argument for the address"
237         EndArgument
238         ParSkip                 0.4
239         Align                   Center
240         AlignPossible           Left, Right
241         LabelType               No_Label
242         Font
243           Shape                 Italic
244         EndFont
245 End
246
247
248 Style Email
249         CopyStyle               Address
250         LatexName               ead
251         AlignPossible           Block
252         Font
253           Shape                 Up
254         EndFont
255 End
256
257
258 Style Abstract
259         Margin                  Static
260         LatexType               Environment
261         LatexName               abstract
262         Category                FrontMatter
263         InTitle                 0
264         NextNoIndent            1
265         LeftMargin              MMM
266         RightMargin             MMM
267         ParIndent               MM
268         ItemSep                 0
269         TopSep                  0.7
270         BottomSep               0.7
271         ParSep                  0
272         Align                   Block
273         AlignPossible           Block
274         LabelType               Centered_Top_Environment
275         LabelString             "Abstract"
276         LabelBottomSep          0.5
277         Font
278           Size                  Small
279         EndFont
280         LabelFont
281           Series                Bold
282           Size                  Large
283         EndFont
284 End
285
286
287 Style Keywords
288         Margin                  Dynamic
289         LatexType               Environment
290         LatexName               keyword
291         Category                FrontMatter
292         InTitle                 0
293         Align                   Left
294         NextNoIndent            1
295         BottomSep               0.5
296         ParSkip                 0.4
297         Align                   Block
298         LabelSep                xx
299         LabelType               Static
300         LabelString             "Keywords:"
301         LabelFont
302           Color                 Green
303           Series                Bold
304         EndFont         
305 End
306
307
308 Style Bibliography
309         Margin                  First_Dynamic
310         LatexType               Bib_Environment
311         LatexName               thebibliography
312         Category                BackMatter
313         NextNoIndent            1
314         LeftMargin              MM
315         ParSkip                 0.4
316         ItemSep                 0
317         TopSep                  0.7
318         BottomSep               0.7
319         ParSep                  0.5
320         Align                   Block
321         AlignPossible           Block, Left
322         LabelType               Bibliography
323         LabelString             "References"
324         LabelBottomSep          1.2
325         LabelFont
326           Series                Bold
327           Size                  Larger
328         EndFont
329 End
330