]> git.lyx.org Git - lyx.git/blob - lib/layouts/jasatex.layout
Add a layout and template for the R Journal
[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 45
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         EndArgument
77         LabelType       No_Label
78         Font
79           Size          Largest
80         EndFont
81         HTMLTitle       true
82 End
83
84
85 Style Author
86         Margin          Static
87         LatexType       Command
88         LatexName       author
89         Category        FrontMatter
90         InTitle         1
91         LabelSep        xxx
92         ParSkip         0.4
93         TopSep          1.3
94         BottomSep       0.7
95         ParSep          0.7
96         Align           Center
97         AlignPossible   Center
98         LabelType       No_Label
99         Font
100           Size          Large
101         EndFont
102 End
103
104
105 Style Affiliation
106         Margin          Static
107         LatexType       Command
108         LatexName       affiliation
109         Category        FrontMatter
110         InTitle         1
111         ParSkip         0.4
112         Align           Center
113         AlignPossible   Center
114         LabelType       No_Label
115         Font
116           Shape         Italic
117         EndFont
118 End
119
120
121 Style "Alternative Affiliation"
122         CopyStyle       Affiliation
123         LatexType       Command
124         LatexName       altaffiliation
125         Argument 1
126           LabelString   "Affiliation Prefix"
127           Tooltip       "A prefix like 'Also at '"
128         EndArgument
129 End
130
131
132 Style Homepage
133         CopyStyle       Affiliation
134         LatexName       homepage
135         Font
136           Shape         Up
137         EndFont
138 End
139
140
141 Style Email
142         CopyStyle       Homepage
143         LatexName       email
144 End
145
146
147 Style Date
148         Margin          Dynamic
149         LatexType       Command
150         Category        FrontMatter
151         InTitle         1
152         LatexName       date
153         LabelSep        xxx
154         ParSkip         0.4
155         TopSep          0.9
156         BottomSep       0.5
157         ParSep          1
158         Align           Center
159         LabelType       No_Label
160         Font
161           Size          Large
162         EndFont
163 End
164
165
166 Style Abstract
167         Margin          Static
168         LatexType       Environment
169         LatexName       abstract
170         Category        FrontMatter
171         InTitle         1
172         NextNoIndent    1
173         LeftMargin      MMM
174         RightMargin     MMM
175         ParIndent       MM
176         ItemSep         0
177         TopSep          0.7
178         BottomSep       0.7
179         ParSep          0
180         Align           Block
181         AlignPossible   Left, Right, Center, Block
182         LabelType       Centered
183         LabelString     "Abstract"
184         LabelBottomSep  0.5
185         Font
186           Size          Small
187         EndFont
188         LabelFont
189           Series        Bold
190           Size          Large
191         EndFont
192 End
193
194
195 Style Keywords
196         Margin          Dynamic
197         LatexType       Command
198         LatexName       keywords
199         Category        FrontMatter
200         InTitle         1
201         Align           Left
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         LeftMargin      MM
276         ParSkip         0.4
277         ItemSep         0
278         TopSep          0.7
279         BottomSep       0.7
280         ParSep          0.5
281         Align           Block
282         AlignPossible   Block
283         LabelType       Bibliography
284         LabelString     "References"
285         LabelBottomSep  1.2
286         LabelFont
287           Series        Bold
288           Size          Larger
289         EndFont
290 End
291