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