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