]> git.lyx.org Git - lyx.git/blob - lib/layouts/jasatex.layout
0ac94146a29acab44774eb817f1fbdd8e9360e50
[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 40
8
9 Columns                 1
10 Sides                   1
11 SecNumDepth             3
12 TocDepth                3
13 DefaultStyle            Standard
14
15 ClassOptions
16         FontSize                10|11|12
17 end
18
19 Preamble
20         \setcitestyle{numbers} % use the numbers citation style as required by jasatex
21 EndPreamble
22
23
24 # This is just to show how to declare the default font.
25 # The defaults are exactly those shown here.
26 DefaultFont
27         Family                  Roman
28         Series                  Medium
29         Shape                   Up
30         Size                    Normal
31         Color                   None
32 EndFont
33
34
35 Style Standard
36         Margin                  Static
37         LatexType               Paragraph
38         LatexName               dummy
39         ParIndent               MM
40         ParSkip                 0.4
41         Align                   Block
42         AlignPossible           Block, Left, Right, Center
43         LabelType               No_Label
44 End
45
46
47 Input stdcounters.inc
48 Input stdfloats.inc
49 Input stdlists.inc
50 Input stdsections.inc
51 Input stdstarsections.inc
52
53 NoStyle Chapter
54 NoCounter chapter
55 NoStyle Chapter*
56
57
58 Style Title
59         Margin                  Static
60         LatexType               Command
61         LatexName               title
62         Category                FrontMatter
63         InTitle                 1
64         ParSkip                 0.4
65         ItemSep                 0
66         TopSep                  0
67         BottomSep               1
68         ParSep                  1
69         Align                   Center
70         AlignPossible           Left, Right
71         LabelType               No_Label
72         Font
73           Size                  Largest
74         EndFont
75         HTMLTitle               true
76 End
77
78
79 Style Author
80         Margin                  Static
81         LatexType               Command
82         LatexName               author
83         Category                FrontMatter
84         InTitle                 1
85         LabelSep                xxx
86         ParSkip                 0.4
87         TopSep                  1.3
88         BottomSep               0.7
89         ParSep                  0.7
90         Align                   Center
91         AlignPossible           Center
92         LabelType               No_Label
93         Font
94           Size                  Large
95         EndFont
96 End
97
98
99 Style Affiliation
100         Margin                  Static
101         LatexType               Command
102         LatexName               affiliation
103         Category                FrontMatter
104         InTitle                 1
105         ParSkip                 0.4
106         Align                   Center
107         AlignPossible           Center
108         LabelType               No_Label
109         Font
110           Shape                 Italic
111         EndFont
112 End
113
114
115 Style "Alternative Affiliation"
116         CopyStyle               Affiliation
117         LatexType               Command
118         LatexName               altaffiliation
119         Argument 1
120                 LabelString   "Alternative Affiliation Option"
121                 Tooltip       "Option to the alternative affiliation command"
122         EndArgument
123 End
124
125
126 Style Homepage
127         CopyStyle               Affiliation
128         LatexName               homepage
129         Font
130           Shape                 Up
131         EndFont
132 End
133
134
135 Style Email
136         CopyStyle               Homepage
137         LatexName               email
138 End
139
140
141 Style Date
142         Margin                  Dynamic
143         LatexType               Command
144         Category                FrontMatter
145         InTitle                 1
146         LatexName               date
147         LabelSep                xxx
148         ParSkip                 0.4
149         TopSep                  0.9
150         BottomSep               0.5
151         ParSep                  1
152         Align                   Center
153         LabelType               No_Label
154         Font
155           Size                  Large
156         EndFont
157 End
158
159
160 Style Abstract
161         Margin                  Static
162         LatexType               Environment
163         LatexName               abstract
164         Category                FrontMatter
165         InTitle                 1
166         NextNoIndent            1
167         LeftMargin              MMM
168         RightMargin             MMM
169         ParIndent               MM
170         ItemSep                 0
171         TopSep                  0.7
172         BottomSep               0.7
173         ParSep                  0
174         Align                   Block
175         AlignPossible           Left, Right, Center, Block
176         LabelType               Centered_Top_Environment
177         LabelString             "Abstract"
178         LabelBottomSep          0.5
179         Font
180           Size                  Small
181         EndFont
182         LabelFont
183           Series                Bold
184           Size                  Large
185         EndFont
186 End
187
188
189 Style Keywords
190         Margin                  Dynamic
191         LatexType               Command
192         LatexName               keywords
193         Category                FrontMatter
194         InTitle                 1
195         Align                   Left
196         NextNoIndent            1
197         BottomSep               0.5
198         ParSkip                 0.4
199         Align                   Block
200         AlignPossible           Block
201         LabelSep                xx
202         LabelType               Static
203         LabelString             "Keywords:"
204         LabelFont
205           Color                 Green
206           Series                Bold
207         EndFont         
208 End
209
210
211 Style PACS
212         CopyStyle               Keywords
213         LatexName               pacs
214         LabelString             "PACS numbers:"
215 End
216
217 Style "Preprint number"
218         CopyStyle               Keywords
219         LatexName               preprint
220         LabelString             "Preprint number:"
221 End
222
223
224 Style Acknowledgments
225         CopyStyle               Abstract
226         LatexName               acknowledgments
227         Category                BackMatter
228         LabelType               Top_Environment
229         LabelString             "Acknowledgments"
230         Font
231           Size                  Normal
232         EndFont
233         LabelFont
234           Series                Bold
235           Size                  Normal
236         EndFont
237 End
238
239
240 InsetLayout "Flex:Online citation"
241         LyxType                 custom
242         LatexType               command
243         LatexName               onlinecite
244         LabelString             "Online citation"
245         Font
246           Color                 foreground
247           Size                  Small
248           Family                Roman
249           Shape                 Up
250           Series                Medium
251           Misc                  No_Emph
252           Misc                  No_Noun
253           Misc                  No_Bar
254         EndFont
255         LabelFont
256           Color                 green
257           Size                  Small
258         EndFont
259 End
260
261
262 Style Bibliography
263         Margin                  First_Dynamic
264         LatexType               Bib_Environment
265         LatexName               thebibliography
266         Category                BackMatter
267         NextNoIndent            1
268         LeftMargin              MM
269         ParSkip                 0.4
270         ItemSep                 0
271         TopSep                  0.7
272         BottomSep               0.7
273         ParSep                  0.5
274         Align                   Block
275         AlignPossible           Block
276         LabelType               Bibliography
277         LabelString             "References"
278         LabelBottomSep          1.2
279         LabelFont
280           Series                Bold
281           Size                  Larger
282         EndFont
283 End