]> git.lyx.org Git - features.git/blob - lib/layouts/jasatex.layout
174f3926ce67250cfefa0f36a91100bb362aa3e6
[features.git] / lib / 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 85
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 End
202
203
204 Style Abstract
205         Margin          Static
206         LatexType       Environment
207         LatexName       abstract
208         Category        FrontMatter
209         InTitle         1
210         NextNoIndent    1
211         LeftMargin      MMM
212         RightMargin     MMM
213         ParIndent       MM
214         ItemSep         0
215         TopSep          0.7
216         BottomSep       0.7
217         ParSep          0
218         Align           Block
219         AlignPossible   Left, Right, Center, Block
220         LabelType       Centered
221         LabelString     "Abstract"
222         LabelBottomSep  0.5
223         Font
224           Size          Small
225         EndFont
226         LabelFont
227           Series        Bold
228           Size          Large
229         EndFont
230         DocBookTag       NONE
231         DocBookAbstract  true
232 End
233
234
235 Style Keywords
236         Margin          Dynamic
237         LatexType       Command
238         LatexName       keywords
239         Category        FrontMatter
240         InTitle         1
241         NextNoIndent    1
242         BottomSep       0.5
243         ParSkip         0.4
244         Align           Block
245         AlignPossible   Block
246         LabelSep        xx
247         LabelType       Static
248         LabelString     "Keywords:"
249         LabelFont
250           Color         Green
251           Series        Bold
252         EndFont
253         DocBookTag            keyword
254         DocBookTagType        paragraph
255         DocBookWrapperTag     keywordset
256         DocBookInInfo         always
257 End
258
259
260 Style PACS
261         CopyStyle       Keywords
262         LatexName       pacs
263         LabelString     "PACS numbers:"
264         DocBookTag          subjectset
265         DocBookAttr         role='pacs'
266         DocBookTagType      block
267         DocBookItemWrapperTag      subject
268         DocBookItemWrapperTagType  paragraph
269         DocBookItemTag      subjectterm
270         DocBookItemTagType  inline
271         DocBookWrapperTag   NONE
272         DocBookWrapperAttr  ""
273         DocBookInInfo       always
274 End
275
276 Style "Preprint number"
277         CopyStyle       Keywords
278         LatexName       preprint
279         LabelString     "Preprint number:"
280 End
281
282
283 Style Acknowledgments
284         CopyStyle       Abstract
285         LatexName       acknowledgments
286         Category        BackMatter
287         InTitle         0
288         LabelType       Above
289         LabelString     "Acknowledgments"
290         Font
291           Size          Normal
292         EndFont
293         LabelFont
294           Series        Bold
295           Size          Normal
296         EndFont
297         DocBookTag            para
298         DocBookWrapperTag     acknowledgements
299 End
300
301
302 InsetLayout "Flex:Online citation"
303         LyxType         custom
304         LatexType       command
305         LatexName       onlinecite
306         LabelString     "Online citation"
307         Font
308           Color         foreground
309           Size          Small
310           Family        Roman
311           Shape         Up
312           Series        Medium
313           Misc          No_Emph
314           Misc          No_Noun
315           Misc          No_Bar
316         EndFont
317         LabelFont
318           Color         green
319           Size          Small
320         EndFont
321 End
322
323
324 Style Bibliography
325         Margin          First_Dynamic
326         LatexType       Bib_Environment
327         LatexName       thebibliography
328         Category        BackMatter
329         NextNoIndent    1
330         ToggleIndent    Never
331         LeftMargin      MM
332         ParSkip         0.4
333         ItemSep         0
334         TopSep          0.7
335         BottomSep       0.7
336         ParSep          0.5
337         Align           Block
338         AlignPossible   Block
339         LabelType       Bibliography
340         LabelString     "References"
341         LabelBottomSep  1.2
342         LabelFont
343           Series        Bold
344           Size          Larger
345         EndFont
346         TocLevel        1
347         IsTocCaption    0
348         Argument listpreamble:1
349           LabelString    "Bib preamble"
350           MenuString     "Bibliography Preamble"
351           Tooltip        "LaTeX code to be inserted before the first bibliography item"
352           PassThru       1
353           Font
354             Family typewriter
355             Color latex
356           EndFont
357         EndArgument
358 End
359