]> git.lyx.org Git - lyx.git/blob - lib/layouts/elsarticle.layout
Allow literate documents other than noweb to work out of the box. Currently
[lyx.git] / lib / layouts / elsarticle.layout
1 #% Do not delete the line below; configure depends on this
2 #  \DeclareLaTeXClass[elsarticle]{article (Elsevier)}
3 # elsarticle textclass definition file.
4 # Author: Uwe Stöhr (uwestoehr@web.de)
5
6 Format 11
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
48 NoStyle Chapter
49 NoStyle Chapter*
50
51
52 Style Title
53         Margin                  Static
54         LatexType               Command
55         LatexName               title
56         Category                FrontMatter
57         InTitle                 1
58         OptionalArgs            0
59         ParSkip                 0.4
60         ItemSep                 0
61         TopSep                  0
62         BottomSep               1
63         ParSep                  1
64         Align                   Center
65         LabelType               No_Label
66         Font
67           Size                  Largest
68         EndFont
69 End
70
71
72 InsetLayout Titlenotemark
73         LyxType                 custom
74         LatexType               command
75         LatexName               tnoteref
76         LabelString             "Titlenote mark"
77         Font
78           Color                 foreground
79           Size                  Small
80           Family                Roman
81           Shape                 Up
82           Series                Medium
83           Misc                  No_Emph
84           Misc                  No_Noun
85           Misc                  No_Bar
86         EndFont
87         LabelFont
88           Color                 green
89           Size                  Small
90         EndFont
91 End
92
93
94 Style "Title footnote"
95         Margin                  Dynamic
96         LatexType               Command
97         LatexName               tnotetext
98         Category                FrontMatter
99         InTitle                 1
100         OptionalArgs            1
101         ParSkip                 0.4
102         BottomSep               0.5
103         Align                   Left
104         LabelSep                xx
105         LabelType               Static
106         LabelString             "Title footnote:"
107         LabelFont
108           Color                 Green
109           Series                Bold
110         EndFont
111 End
112
113
114 Style Author
115         Margin                  Static
116         LatexType               Command
117         Category                FrontMatter
118         InTitle                 1
119         OptionalArgs            1
120         LatexName               author
121         LabelSep                xxx
122         ParSkip                 0.4
123         TopSep                  1.3
124         BottomSep               0.7
125         ParSep                  0.7
126         Align                   Center
127         LabelType               No_Label
128         Font
129           Size                  Large
130         EndFont
131 End
132
133
134 InsetLayout Authormark
135         LyxType                 custom
136         LatexType               command
137         LatexName               fnref
138         LabelString             "Author mark"
139         Font
140           Color                 foreground
141           Size                  Small
142           Family                Roman
143           Shape                 Up
144           Series                Medium
145           Misc                  No_Emph
146           Misc                  No_Noun
147           Misc                  No_Bar
148         EndFont
149         LabelFont
150           Color                 latex
151           Size                  Small
152         EndFont
153 End
154
155
156 Style "Author footnote"
157         CopyStyle               "Title footnote"
158         LatexName               fntext
159         LabelString             "Author footnote:"
160 End
161
162
163 InsetLayout CorAuthormark
164         LyxType                 custom
165         LatexType               command
166         LatexName               corref
167         LabelString             "CorAuthor 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                 blue
180           Size                  Small
181         EndFont
182 End
183
184
185 Style "Corresponding author"
186         CopyStyle               "Title footnote"
187         LatexName               cortext
188         LabelString             "Corresponding author text:"
189 End
190
191
192 Style Address
193         Margin                  Static
194         LatexType               Command
195         Category                FrontMatter
196         LatexName               address
197         InTitle                 1
198         OptionalArgs            1
199         ParSkip                 0.4
200         Align                   Center
201         AlignPossible           Left, Right
202         LabelType               No_Label
203         Font
204           Shape                 Italic
205         EndFont
206 End
207
208
209 Style Email
210         CopyStyle               Address
211         LatexName               ead
212         AlignPossible           Block
213         Font
214           Shape                 Up
215         EndFont
216 End
217
218
219 Style Abstract
220         Margin                  Static
221         LatexType               Environment
222         LatexName               abstract
223         Category                FrontMatter
224         InTitle                 1
225         NextNoIndent            1
226         LeftMargin              MMM
227         RightMargin             MMM
228         ParIndent               MM
229         ItemSep                 0
230         TopSep                  0.7
231         BottomSep               0.7
232         ParSep                  0
233         Align                   Block
234         AlignPossible           Block
235         LabelType               Centered_Top_Environment
236         LabelString             "Abstract"
237         LabelBottomSep          0.5
238         Font
239           Size                  Small
240         EndFont
241         LabelFont
242           Series                Bold
243           Size                  Large
244         EndFont
245 End
246
247
248 Style Keywords
249         Margin                  Dynamic
250         LatexType               Environment
251         LatexName               keyword
252         Category                FrontMatter
253         InTitle                 1
254         Align                   Left
255         NextNoIndent            1
256         BottomSep               0.5
257         ParSkip                 0.4
258         Align                   Block
259         LabelSep                xx
260         LabelType               Static
261         LabelString             "Keywords:"
262         LabelFont
263           Color                 Green
264           Series                Bold
265         EndFont         
266 End
267
268
269 Style Bibliography
270         Margin                  First_Dynamic
271         LatexType               Bib_Environment
272         LatexName               thebibliography
273         Category                BackMatter
274         NextNoIndent            1
275         LeftMargin              MM
276         ParSkip                 0.4
277         ItemSep                 0
278         TopSep                  0.7
279         BottomSep               0.7
280         ParSep                  0.5
281         Align                   Block
282         AlignPossible           Block, Left
283         LabelType               Bibliography
284         LabelString             "References"
285         LabelBottomSep          1.2
286         LabelFont
287           Series                Bold
288           Size                  Larger
289         EndFont
290 End
291