]> git.lyx.org Git - lyx.git/blob - lib/layouts/elsarticle.layout
Autoconf: use included boost when system boost is not available
[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 90
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 TitleLatexType Environment
22 TitleLatexName frontmatter
23
24 # This is just to show how to declare the default font.
25 # The defaults are exactly those shown here.
26 DefaultFont
27         Family                  Roman
28         Series                  Medium
29         Shape                   Up
30         Size                    Normal
31         Color                   None
32 EndFont
33
34
35 Style Standard
36         Category                MainText
37         Margin                  Static
38         LatexType               Paragraph
39         LatexName               dummy
40         ParIndent               MM
41         ParSkip                 0.4
42         Align                   Block
43         AlignPossible   Block, Left, Right, Center
44         LabelType               No_Label
45         DocBookTag      para
46 End
47
48 Input stdcounters.inc
49 Input stdfloats.inc
50 Input stdlists.inc
51 Input stdsections.inc
52 Input stdstarsections.inc
53 Input stdlayouts.inc
54
55 NoStyle                         Chapter
56 NoCounter                       chapter
57 NoStyle                         Chapter*
58
59 Style Title
60         Margin                  Static
61         LatexType               Command
62         LatexName               title
63         Category                FrontMatter
64         InTitle                 1
65         ResetArgs               1
66         ParSkip                 0.4
67         ItemSep                 0
68         TopSep                  0
69         BottomSep               1
70         ParSep                  1
71         Align                   Center
72         LabelType               No_Label
73         Font
74           Size                  Largest
75         EndFont
76         HTMLTitle               true
77         DocBookTag            title
78         DocBookTagType        paragraph
79         DocBookInInfo         maybe
80 End
81
82 InsetLayout "Flex:Titlenotemark"
83         LyxType                 custom
84         LatexType               command
85         ForcePlain              1
86         LatexName               tnoteref
87         LabelString             "Titlenote mark"
88         Font
89           Color                 foreground
90           Size                  Small
91           Family                Roman
92           Shape                 Up
93           Series                Medium
94           Misc                  No_Emph
95           Misc                  No_Noun
96           Misc                  No_Bar
97         EndFont
98         LabelFont
99           Color                 textlabel2
100           Size                  Small
101         EndFont
102         DocBookTag      footnoteref
103         # TODO: the content will be output within the tag, while it should be the linkend attribute, i.e. the output should be <footnoteref linked="[content]"/>. If the content has several footnotes, it should be split on the comma: "t1,t2" should generate <footnoteref linked="t1"/><footnoteref linked="t2"/>.
104 End
105
106
107 Style "Title footnote"
108         Margin                  Dynamic
109         LatexType               Command
110         LatexName               tnotetext
111         Category                FrontMatter
112         InTitle                 1
113         Argument 1
114           LabelString   "Footnote Label"
115           Tooltip       "Label you refer to in the title"
116           DocBookTag    anchor
117           DocBookTagType  inline
118         EndArgument
119         ParSkip                 0.4
120         BottomSep               0.5
121         Align                   Left
122         LabelSep                xx
123         LabelType               Static
124         LabelString             "Title footnote:"
125         LabelFont
126           Color                 textlabel2
127           Series                Bold
128         EndFont
129         DocBookTag      footnote
130         DocBookItemTag  para
131         DocBookWrapperTag      title
132         DocBookWrapperTagType  paragraph
133         DocBookWrapperMergeWithPrevious  true
134         DocBookInInfo   maybe
135         # TODO: the argument will be output within the tag, while it should be the xml:id attribute, i.e. the output should be <footnote xml:id="[Argument 1]"/>. And it should also be within the title, and not as a second title.
136 End
137
138
139 Style Author
140         Margin                  Static
141         LatexType               Command
142         Category                FrontMatter
143         InTitle                 1
144         Argument 1
145           LabelString   "Author Label"
146           Tooltip               "Label you will reference in the address"
147           DocBookTag    phrase
148           DocBookAttr   role='address-label'
149         EndArgument
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         DocBookTag            personname
162         DocBookTagType        paragraph
163         DocBookWrapperTag     author
164         DocBookWrapperTagType block
165         DocBookInInfo         always
166 End
167
168
169 InsetLayout "Flex:Authormark"
170         LyxType                 custom
171         LatexType               command
172         ForcePlain              1
173         LatexName               fnref
174         LabelString             "Author mark"
175         Font
176           Color                 foreground
177           Size                  Small
178           Family                Roman
179           Shape                 Up
180           Series                Medium
181           Misc                  No_Emph
182           Misc                  No_Noun
183           Misc                  No_Bar
184         EndFont
185         LabelFont
186           Color                 latex
187           Size                  Small
188         EndFont
189 End
190
191
192 Style "Author footnote"
193         CopyStyle               "Title footnote"
194         LatexName               fntext
195         InTitle                 1
196         LabelString             "Author footnote:"
197         Argument 1
198           LabelString   "Author Footnote Label"
199           Tooltip               "Label you refer to for an author"
200         EndArgument
201 End
202
203
204 InsetLayout "Flex:CorAuthormark"
205         CopyStyle               "Flex:Authormark"
206         LatexName               corref
207         LabelString             "CorAuthor mark"
208         LabelFont
209           Color                 textlabel1
210         EndFont
211 End
212
213
214 Style "Corresponding author"
215         CopyStyle               "Author footnote"
216         LatexName               cortext
217         InTitle                 1
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                 1
228         Argument 1
229           LabelString   "Address Label"
230           Tooltip               "Label of the author you refer to"
231           DocBookTag    phrase
232           DocBookAttr   role='label'
233         EndArgument
234         ParSkip                 0.4
235         Align                   Center
236         AlignPossible   Left, Right
237         LabelType               No_Label
238         Font
239           Shape                 Italic
240         EndFont
241         DocBookTag            address
242         DocBookTagType        paragraph
243         DocBookWrapperTag     author
244         DocBookWrapperTagType block
245         DocBookWrapperMergeWithPrevious  true
246         DocBookInInfo         always
247 End
248
249
250 Style Email
251         CopyStyle               Address
252         LatexName               ead
253         InTitle                 1
254         AlignPossible   Block
255         Argument 1
256           LabelString   "Internet"
257           Tooltip               "If content is 'url', email becomes an Internet address"
258         EndArgument
259         Font
260           Shape                 Up
261         EndFont
262         DocBookTag            email
263         DocBookTagType        paragraph
264         DocBookWrapperTag     author
265         DocBookWrapperTagType block
266         DocBookWrapperMergeWithPrevious  true
267         DocBookInInfo         always
268 End
269
270
271 Style Abstract
272         Margin                  Static
273         LatexType               Environment
274         LatexName               abstract
275         Category                FrontMatter
276         InTitle                 1
277         NextNoIndent    1
278         LeftMargin              MMM
279         RightMargin             MMM
280         ParIndent               MM
281         ItemSep                 0
282         TopSep                  0.7
283         BottomSep               0.7
284         ParSep                  0
285         Align                   Block
286         AlignPossible   Block
287         LabelType               Centered
288         LabelString             "Abstract"
289         LabelBottomSep  0.5
290         Font
291           Size                  Small
292         EndFont
293         LabelFont
294           Series                Bold
295           Size                  Large
296         EndFont
297         DocBookAbstract       true
298         DocBookInInfo         always
299         DocBookWrapperTag     abstract
300         DocBookWrapperMergeWithPrevious    true
301         DocBookTag            para
302 End
303
304
305 Style Keywords
306         Margin                  Dynamic
307         LatexType               Environment
308         LatexName               keyword
309         Category                FrontMatter
310         InTitle                 1
311         NextNoIndent    1
312         BottomSep               0.5
313         ParSkip                 0.4
314         Align                   Block
315         LabelSep                xx
316         LabelType               Static
317         LabelString             "Keywords:"
318         LabelFont
319           Color                 textlabel2
320           Series                Bold
321         EndFont
322         DocBookTag         keyword
323         DocBookTagType     paragraph
324         DocBookWrapperTag  keywordset
325         DocBookInInfo      always
326 End
327
328
329 Style Bibliography
330         Margin                  First_Dynamic
331         LatexType               Bib_Environment
332         LatexName               thebibliography
333         Category                BackMatter
334         NextNoIndent            1
335         ToggleIndent            Never
336         LeftMargin              MM
337         ParSkip                 0.4
338         ItemSep                 0
339         TopSep                  0.7
340         BottomSep               0.7
341         ParSep                  0.5
342         Align                   Block
343         AlignPossible           Block, Left
344         LabelType               Bibliography
345         LabelString             "References"
346         LabelBottomSep          1.2
347         LabelFont
348           Series                Bold
349           Size                  Larger
350         EndFont
351         TocLevel                1
352         IsTocCaption            0
353         Argument listpreamble:1
354           LabelString           "Bib preamble"
355           MenuString            "Bibliography Preamble"
356           Tooltip               "LaTeX code to be inserted before the first bibliography item"
357           PassThru              1
358           Font
359             Family              typewriter
360             Color               latex
361           EndFont
362         EndArgument
363         DocBookTag      bibliography
364 End
365