]> git.lyx.org Git - lyx.git/blob - layouts/jasatex.layout
Add documentation for notes cite engine type.
[lyx.git] / layouts / jasatex.layout
1 #% Do not delete the line below; configure depends on this
2 #  \DeclareLaTeXClass[jasatex]{Journal of the Acoustical Society of America (JASA)}
3 #  \DeclareCategory{Articles}
4 # JASATeX textclass definition file.
5 # Author: Uwe Stöhr (uwestoehr@web.de)
6
7 Format 104
8
9 Columns                 1
10 Sides                   1
11 SecNumDepth             3
12 TocDepth                3
13 DefaultStyle            Standard
14 Provides natbib         1
15
16 ClassOptions
17         FontSize        10|11|12
18 end
19
20 Preamble
21         \setcitestyle{numbers} % use the numbers citation style as required by jasatex
22 EndPreamble
23
24
25 # This is just to show how to declare the default font.
26 # The defaults are exactly those shown here.
27 DefaultFont
28         Family          Roman
29         Series          Medium
30         Shape           Up
31         Size            Normal
32         Color           None
33 EndFont
34
35
36 Style Standard
37         Category        MainText
38         Margin          Static
39         LatexType       Paragraph
40         LatexName       dummy
41         ParIndent       MM
42         ParSkip         0.4
43         Align           Block
44         AlignPossible   Block, Left, Right, Center
45         LabelType       No_Label
46         DocBookTag  para
47 End
48
49
50 Input stdcounters.inc
51 Input stdfloats.inc
52 Input stdlists.inc
53 Input stdsections.inc
54 Input stdstarsections.inc
55
56 NoStyle Chapter
57 NoCounter chapter
58 NoStyle Chapter*
59
60
61 Style Title
62         Margin          Static
63         LatexType       Command
64         LatexName       title
65         Category        FrontMatter
66         InTitle         1
67         ParSkip         0.4
68         ItemSep         0
69         TopSep          0
70         BottomSep       1
71         ParSep          1
72         Align           Center
73         AlignPossible   Left, Right
74         Argument 1
75           LabelString   "Short Title|S"
76           Tooltip       "Short title that will appear in header line"
77           InsertCotext   1
78         EndArgument
79         LabelType       No_Label
80         Font
81           Size          Largest
82         EndFont
83         HTMLTitle       true
84         DocBookTag            title
85         DocBookTagType        paragraph
86         DocBookInInfo         maybe
87 End
88
89
90 Style Author
91         Margin          Static
92         LatexType       Command
93         LatexName       author
94         Category        FrontMatter
95         InTitle         1
96         LabelSep        xxx
97         ParSkip         0.4
98         TopSep          1.3
99         BottomSep       0.7
100         ParSep          0.7
101         Align           Center
102         AlignPossible   Center
103         LabelType       No_Label
104         Font
105           Size          Large
106         EndFont
107         DocBookTag            personname
108         DocBookTagType        paragraph
109         DocBookWrapperTag     author
110         DocBookWrapperTagType inline
111         DocBookInInfo         always
112 End
113
114
115 Style Affiliation
116         Margin          Static
117         LatexType       Command
118         LatexName       affiliation
119         Category        FrontMatter
120         InTitle         1
121         ParSkip         0.4
122         Align           Center
123         AlignPossible   Center
124         LabelType       No_Label
125         Font
126           Shape         Italic
127         EndFont
128         DocBookTag                        affiliation
129         DocBookWrapperTag                 author
130         DocBookWrapperMergeWithPrevious   true
131         DocBookItemTag                    orgname
132         DocBookItemTagType                paragraph
133         DocBookInInfo                     always
134 End
135
136
137 Style "Alternative Affiliation"
138         CopyStyle       Affiliation
139         LatexType       Command
140         LatexName       altaffiliation
141         Argument 1
142           LabelString   "Affiliation Prefix"
143           Tooltip       "A prefix like 'Also at '"
144         EndArgument
145         DocBookTag                        affiliation
146         DocBookAttr                       role='alternate'
147         DocBookWrapperTag                 author
148         DocBookWrapperMergeWithPrevious   true
149         DocBookItemTag                    orgname
150         DocBookItemTagType                paragraph
151         DocBookInInfo                     always
152 End
153
154
155 Style Homepage
156         CopyStyle       Affiliation
157         LatexName       homepage
158         Font
159           Shape         Up
160         EndFont
161         DocBookTag                        uri
162         DocBookTagType                    paragraph
163         DocBookWrapperTag                 author
164         DocBookWrapperMergeWithPrevious   true
165         DocBookItemTag                    NONE
166         DocBookInInfo                     always
167 End
168
169
170 Style Email
171         CopyStyle       Homepage
172         LatexName       email
173         DocBookTag                        email
174         DocBookTagType                    paragraph
175         DocBookWrapperTag                 author
176         DocBookWrapperMergeWithPrevious   true
177         DocBookItemTag                    NONE
178         DocBookInInfo                     always
179 End
180
181
182 Style Date
183         Margin          Dynamic
184         LatexType       Command
185         Category        FrontMatter
186         InTitle         1
187         LatexName       date
188         LabelSep        xxx
189         ParSkip         0.4
190         TopSep          0.9
191         BottomSep       0.5
192         ParSep          1
193         Align           Center
194         LabelType       No_Label
195         Font
196           Size          Large
197         EndFont
198         DocBookTag            date
199         DocBookTagType        paragraph
200         DocBookInInfo         always
201     DocBookNoFontInside   true
202 End
203
204
205 Style Abstract
206         Margin          Static
207         LatexType       Environment
208         LatexName       abstract
209         Category        FrontMatter
210         InTitle         1
211         NextNoIndent    1
212         LeftMargin      MMM
213         RightMargin     MMM
214         ParIndent       MM
215         ItemSep         0
216         TopSep          0.7
217         BottomSep       0.7
218         ParSep          0
219         Align           Block
220         AlignPossible   Left, Right, Center, Block
221         LabelType       Centered
222         LabelString     "Abstract"
223         LabelBottomSep  0.5
224         Font
225           Size          Small
226         EndFont
227         LabelFont
228           Series        Bold
229           Size          Large
230         EndFont
231         DocBookTag       para
232         DocBookAbstract  true
233 End
234
235
236 Style Keywords
237         Margin          Dynamic
238         LatexType       Command
239         LatexName       keywords
240         Category        FrontMatter
241         InTitle         1
242         NextNoIndent    1
243         BottomSep       0.5
244         ParSkip         0.4
245         Align           Block
246         AlignPossible   Block
247         LabelSep        xx
248         LabelType       Static
249         LabelString     "Keywords:"
250         LabelFont
251           Color         textlabel2
252           Series        Bold
253         EndFont
254         DocBookTag            keyword
255         DocBookTagType        paragraph
256         DocBookWrapperTag     keywordset
257         DocBookInInfo         always
258 End
259
260
261 Style PACS
262         CopyStyle       Keywords
263         LatexName       pacs
264         LabelString     "PACS numbers:"
265         DocBookTag          subjectset
266         DocBookAttr         role='pacs'
267         DocBookTagType      block
268         DocBookItemWrapperTag      subject
269         DocBookItemWrapperTagType  paragraph
270         DocBookItemTag      subjectterm
271         DocBookItemTagType  inline
272         DocBookWrapperTag   NONE
273         DocBookWrapperAttr  ""
274         DocBookInInfo       always
275 End
276
277 Style "Preprint number"
278         CopyStyle       Keywords
279         LatexName       preprint
280         LabelString     "Preprint number:"
281 End
282
283
284 Style Acknowledgments
285         CopyStyle       Abstract
286         LatexName       acknowledgments
287         Category        BackMatter
288         InTitle         0
289         LabelType       Above
290         LabelString     "Acknowledgments"
291         Font
292           Size          Normal
293         EndFont
294         LabelFont
295           Series        Bold
296           Size          Normal
297         EndFont
298         DocBookTag            para
299         DocBookWrapperTag     acknowledgements
300         DocBookSection        true
301         DocBookAbstract       false
302 End
303
304
305 InsetLayout "Flex:Online citation"
306         LyxType         custom
307         LatexType       command
308         LatexName       onlinecite
309         LabelString     "Online citation"
310         Font
311           Color         foreground
312           Size          Small
313           Family        Roman
314           Shape         Up
315           Series        Medium
316           Misc          No_Emph
317           Misc          No_Noun
318           Misc          No_Bar
319         EndFont
320         LabelFont
321           Color         textlabel2
322           Size          Small
323         EndFont
324 End
325
326
327 Style Bibliography
328         Margin          First_Dynamic
329         LatexType       Bib_Environment
330         LatexName       thebibliography
331         Category        BackMatter
332         NextNoIndent    1
333         ToggleIndent    Never
334         LeftMargin      MM
335         ParSkip         0.4
336         ItemSep         0
337         TopSep          0.7
338         BottomSep       0.7
339         ParSep          0.5
340         Align           Block
341         AlignPossible   Block
342         LabelType       Bibliography
343         LabelString     "References"
344         LabelBottomSep  1.2
345         LabelFont
346           Series        Bold
347           Size          Larger
348         EndFont
349         TocLevel        1
350         IsTocCaption    0
351         Argument listpreamble:1
352           LabelString    "Bib preamble"
353           MenuString     "Bibliography Preamble"
354           Tooltip        "LaTeX code to be inserted before the first bibliography item"
355           PassThru       1
356           Font
357             Family typewriter
358             Color latex
359           EndFont
360         EndArgument
361 End
362