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