]> git.lyx.org Git - lyx.git/blob - lib/layouts/jasatex.layout
Complete the NoInsetLayout format change
[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         LabelType       Above
235         LabelString     "Acknowledgments"
236         Font
237           Size          Normal
238         EndFont
239         LabelFont
240           Series        Bold
241           Size          Normal
242         EndFont
243 End
244
245
246 InsetLayout "Flex:Online citation"
247         LyxType         custom
248         LatexType       command
249         LatexName       onlinecite
250         LabelString     "Online citation"
251         Font
252           Color         foreground
253           Size          Small
254           Family        Roman
255           Shape         Up
256           Series        Medium
257           Misc          No_Emph
258           Misc          No_Noun
259           Misc          No_Bar
260         EndFont
261         LabelFont
262           Color         green
263           Size          Small
264         EndFont
265 End
266
267
268 Style Bibliography
269         Margin          First_Dynamic
270         LatexType       Bib_Environment
271         LatexName       thebibliography
272         Category        BackMatter
273         NextNoIndent    1
274         LeftMargin      MM
275         ParSkip         0.4
276         ItemSep         0
277         TopSep          0.7
278         BottomSep       0.7
279         ParSep          0.5
280         Align           Block
281         AlignPossible   Block
282         LabelType       Bibliography
283         LabelString     "References"
284         LabelBottomSep  1.2
285         LabelFont
286           Series        Bold
287           Size          Larger
288         EndFont
289 End
290