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