]> git.lyx.org Git - lyx.git/blob - lib/layouts/jasatex.layout
0e679c7cfe60dbc53da5dfa49c7f003c3fddeec9
[lyx.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 68
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 End
47
48
49 Input stdcounters.inc
50 Input stdfloats.inc
51 Input stdlists.inc
52 Input stdsections.inc
53 Input stdstarsections.inc
54
55 NoStyle Chapter
56 NoCounter chapter
57 NoStyle Chapter*
58
59
60 Style Title
61         Margin          Static
62         LatexType       Command
63         LatexName       title
64         Category        FrontMatter
65         InTitle         1
66         ParSkip         0.4
67         ItemSep         0
68         TopSep          0
69         BottomSep       1
70         ParSep          1
71         Align           Center
72         AlignPossible   Left, Right
73         Argument 1
74           LabelString   "Short Title|S"
75           Tooltip       "Short title that will appear in header line"
76           InsertCotext   1
77         EndArgument
78         LabelType       No_Label
79         Font
80           Size          Largest
81         EndFont
82         HTMLTitle       true
83 End
84
85
86 Style Author
87         Margin          Static
88         LatexType       Command
89         LatexName       author
90         Category        FrontMatter
91         InTitle         1
92         LabelSep        xxx
93         ParSkip         0.4
94         TopSep          1.3
95         BottomSep       0.7
96         ParSep          0.7
97         Align           Center
98         AlignPossible   Center
99         LabelType       No_Label
100         Font
101           Size          Large
102         EndFont
103 End
104
105
106 Style Affiliation
107         Margin          Static
108         LatexType       Command
109         LatexName       affiliation
110         Category        FrontMatter
111         InTitle         1
112         ParSkip         0.4
113         Align           Center
114         AlignPossible   Center
115         LabelType       No_Label
116         Font
117           Shape         Italic
118         EndFont
119 End
120
121
122 Style "Alternative Affiliation"
123         CopyStyle       Affiliation
124         LatexType       Command
125         LatexName       altaffiliation
126         Argument 1
127           LabelString   "Affiliation Prefix"
128           Tooltip       "A prefix like 'Also at '"
129         EndArgument
130 End
131
132
133 Style Homepage
134         CopyStyle       Affiliation
135         LatexName       homepage
136         Font
137           Shape         Up
138         EndFont
139 End
140
141
142 Style Email
143         CopyStyle       Homepage
144         LatexName       email
145 End
146
147
148 Style Date
149         Margin          Dynamic
150         LatexType       Command
151         Category        FrontMatter
152         InTitle         1
153         LatexName       date
154         LabelSep        xxx
155         ParSkip         0.4
156         TopSep          0.9
157         BottomSep       0.5
158         ParSep          1
159         Align           Center
160         LabelType       No_Label
161         Font
162           Size          Large
163         EndFont
164 End
165
166
167 Style Abstract
168         Margin          Static
169         LatexType       Environment
170         LatexName       abstract
171         Category        FrontMatter
172         InTitle         1
173         NextNoIndent    1
174         LeftMargin      MMM
175         RightMargin     MMM
176         ParIndent       MM
177         ItemSep         0
178         TopSep          0.7
179         BottomSep       0.7
180         ParSep          0
181         Align           Block
182         AlignPossible   Left, Right, Center, Block
183         LabelType       Centered
184         LabelString     "Abstract"
185         LabelBottomSep  0.5
186         Font
187           Size          Small
188         EndFont
189         LabelFont
190           Series        Bold
191           Size          Large
192         EndFont
193 End
194
195
196 Style Keywords
197         Margin          Dynamic
198         LatexType       Command
199         LatexName       keywords
200         Category        FrontMatter
201         InTitle         1
202         NextNoIndent    1
203         BottomSep       0.5
204         ParSkip         0.4
205         Align           Block
206         AlignPossible   Block
207         LabelSep        xx
208         LabelType       Static
209         LabelString     "Keywords:"
210         LabelFont
211           Color         Green
212           Series        Bold
213         EndFont         
214 End
215
216
217 Style PACS
218         CopyStyle       Keywords
219         LatexName       pacs
220         LabelString     "PACS numbers:"
221 End
222
223 Style "Preprint number"
224         CopyStyle       Keywords
225         LatexName       preprint
226         LabelString     "Preprint number:"
227 End
228
229
230 Style Acknowledgments
231         CopyStyle       Abstract
232         LatexName       acknowledgments
233         Category        BackMatter
234         InTitle         0
235         LabelType       Above
236         LabelString     "Acknowledgments"
237         Font
238           Size          Normal
239         EndFont
240         LabelFont
241           Series        Bold
242           Size          Normal
243         EndFont
244 End
245
246
247 InsetLayout "Flex:Online citation"
248         LyxType         custom
249         LatexType       command
250         LatexName       onlinecite
251         LabelString     "Online citation"
252         Font
253           Color         foreground
254           Size          Small
255           Family        Roman
256           Shape         Up
257           Series        Medium
258           Misc          No_Emph
259           Misc          No_Noun
260           Misc          No_Bar
261         EndFont
262         LabelFont
263           Color         green
264           Size          Small
265         EndFont
266 End
267
268
269 Style Bibliography
270         Margin          First_Dynamic
271         LatexType       Bib_Environment
272         LatexName       thebibliography
273         Category        BackMatter
274         NextNoIndent    1
275         ToggleIndent    Never
276         LeftMargin      MM
277         ParSkip         0.4
278         ItemSep         0
279         TopSep          0.7
280         BottomSep       0.7
281         ParSep          0.5
282         Align           Block
283         AlignPossible   Block
284         LabelType       Bibliography
285         LabelString     "References"
286         LabelBottomSep  1.2
287         LabelFont
288           Series        Bold
289           Size          Larger
290         EndFont
291         TocLevel        1
292         IsTocCaption    0
293 End
294