]> git.lyx.org Git - lyx.git/blob - lib/layouts/elsarticle.layout
Update tex2lyx test files
[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         OptionalArgs            0
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         OptionalArgs            1
131         ParSkip                 0.4
132         BottomSep               0.5
133         Align                   Left
134         LabelSep                xx
135         LabelType               Static
136         LabelString             "Title footnote:"
137         LabelFont
138           Color                 Green
139           Series                Bold
140         EndFont
141 End
142
143
144 Style Author
145         Margin                  Static
146         LatexType               Command
147         Category                FrontMatter
148         InTitle                 0
149         OptionalArgs            1
150         LatexName               author
151         LabelSep                xxx
152         ParSkip                 0.4
153         TopSep                  1.3
154         BottomSep               0.7
155         ParSep                  0.7
156         Align                   Center
157         LabelType               No_Label
158         Font
159           Size                  Large
160         EndFont
161 End
162
163
164 InsetLayout "Flex:Authormark"
165         LyxType                 custom
166         LatexType               command
167         LatexName               fnref
168         LabelString             "Author mark"
169         Font
170           Color                 foreground
171           Size                  Small
172           Family                Roman
173           Shape                 Up
174           Series                Medium
175           Misc                  No_Emph
176           Misc                  No_Noun
177           Misc                  No_Bar
178         EndFont
179         LabelFont
180           Color                 latex
181           Size                  Small
182         EndFont
183 End
184
185
186 Style "Author footnote"
187         CopyStyle               "Title footnote"
188         LatexName               fntext
189         LabelString             "Author footnote:"
190 End
191
192
193 InsetLayout "Flex:CorAuthormark"
194         LyxType                 custom
195         LatexType               command
196         LatexName               corref
197         LabelString             "CorAuthor mark"
198         Font
199           Color                 foreground
200           Size                  Small
201           Family                Roman
202           Shape                 Up
203           Series                Medium
204           Misc                  No_Emph
205           Misc                  No_Noun
206           Misc                  No_Bar
207         EndFont
208         LabelFont
209           Color                 blue
210           Size                  Small
211         EndFont
212 End
213
214
215 Style "Corresponding author"
216         CopyStyle               "Title footnote"
217         LatexName               cortext
218         LabelString             "Corresponding author text:"
219 End
220
221
222 Style Address
223         Margin                  Static
224         LatexType               Command
225         Category                FrontMatter
226         LatexName               address
227         InTitle                 0
228         OptionalArgs            1
229         ParSkip                 0.4
230         Align                   Center
231         AlignPossible           Left, Right
232         LabelType               No_Label
233         Font
234           Shape                 Italic
235         EndFont
236 End
237
238
239 Style Email
240         CopyStyle               Address
241         LatexName               ead
242         AlignPossible           Block
243         Font
244           Shape                 Up
245         EndFont
246 End
247
248
249 Style Abstract
250         Margin                  Static
251         LatexType               Environment
252         LatexName               abstract
253         Category                FrontMatter
254         InTitle                 0
255         NextNoIndent            1
256         LeftMargin              MMM
257         RightMargin             MMM
258         ParIndent               MM
259         ItemSep                 0
260         TopSep                  0.7
261         BottomSep               0.7
262         ParSep                  0
263         Align                   Block
264         AlignPossible           Block
265         LabelType               Centered_Top_Environment
266         LabelString             "Abstract"
267         LabelBottomSep          0.5
268         Font
269           Size                  Small
270         EndFont
271         LabelFont
272           Series                Bold
273           Size                  Large
274         EndFont
275 End
276
277
278 Style Keywords
279         Margin                  Dynamic
280         LatexType               Environment
281         LatexName               keyword
282         Category                FrontMatter
283         InTitle                 0
284         Align                   Left
285         NextNoIndent            1
286         BottomSep               0.5
287         ParSkip                 0.4
288         Align                   Block
289         LabelSep                xx
290         LabelType               Static
291         LabelString             "Keywords:"
292         LabelFont
293           Color                 Green
294           Series                Bold
295         EndFont         
296 End
297
298
299 Style Bibliography
300         Margin                  First_Dynamic
301         LatexType               Bib_Environment
302         LatexName               thebibliography
303         Category                BackMatter
304         NextNoIndent            1
305         LeftMargin              MM
306         ParSkip                 0.4
307         ItemSep                 0
308         TopSep                  0.7
309         BottomSep               0.7
310         ParSep                  0.5
311         Align                   Block
312         AlignPossible           Block, Left
313         LabelType               Bibliography
314         LabelString             "References"
315         LabelBottomSep          1.2
316         LabelFont
317           Series                Bold
318           Size                  Larger
319         EndFont
320 End
321