]> git.lyx.org Git - lyx.git/blob - lib/layouts/jasatex.layout
Categorize existing layouts
[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 36
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         OptionalArgs            1
120 End
121
122
123 Style Homepage
124         CopyStyle               Affiliation
125         LatexName               homepage
126         Font
127           Shape                 Up
128         EndFont
129 End
130
131
132 Style Email
133         CopyStyle               Homepage
134         LatexName               email
135 End
136
137
138 Style Date
139         Margin                  Dynamic
140         LatexType               Command
141         Category                FrontMatter
142         InTitle                 1
143         LatexName               date
144         LabelSep                xxx
145         ParSkip                 0.4
146         TopSep                  0.9
147         BottomSep               0.5
148         ParSep                  1
149         Align                   Center
150         LabelType               No_Label
151         Font
152           Size                  Large
153         EndFont
154 End
155
156
157 Style Abstract
158         Margin                  Static
159         LatexType               Environment
160         LatexName               abstract
161         Category                FrontMatter
162         InTitle                 1
163         NextNoIndent            1
164         LeftMargin              MMM
165         RightMargin             MMM
166         ParIndent               MM
167         ItemSep                 0
168         TopSep                  0.7
169         BottomSep               0.7
170         ParSep                  0
171         Align                   Block
172         AlignPossible           Left, Right, Center, Block
173         LabelType               Centered_Top_Environment
174         LabelString             "Abstract"
175         LabelBottomSep          0.5
176         Font
177           Size                  Small
178         EndFont
179         LabelFont
180           Series                Bold
181           Size                  Large
182         EndFont
183 End
184
185
186 Style Keywords
187         Margin                  Dynamic
188         LatexType               Command
189         LatexName               keywords
190         Category                FrontMatter
191         InTitle                 1
192         Align                   Left
193         NextNoIndent            1
194         BottomSep               0.5
195         ParSkip                 0.4
196         Align                   Block
197         AlignPossible           Block
198         LabelSep                xx
199         LabelType               Static
200         LabelString             "Keywords:"
201         LabelFont
202           Color                 Green
203           Series                Bold
204         EndFont         
205 End
206
207
208 Style PACS
209         CopyStyle               Keywords
210         LatexName               pacs
211         LabelString             "PACS numbers:"
212 End
213
214 Style "Preprint number"
215         CopyStyle               Keywords
216         LatexName               preprint
217         LabelString             "Preprint number:"
218 End
219
220
221 Style Acknowledgments
222         CopyStyle               Abstract
223         LatexName               acknowledgments
224         Category                BackMatter
225         LabelType               Top_Environment
226         LabelString             "Acknowledgments"
227         Font
228           Size                  Normal
229         EndFont
230         LabelFont
231           Series                Bold
232           Size                  Normal
233         EndFont
234 End
235
236
237 InsetLayout "Flex:Online citation"
238         LyxType                 custom
239         LatexType               command
240         LatexName               onlinecite
241         LabelString             "Online citation"
242         Font
243           Color                 foreground
244           Size                  Small
245           Family                Roman
246           Shape                 Up
247           Series                Medium
248           Misc                  No_Emph
249           Misc                  No_Noun
250           Misc                  No_Bar
251         EndFont
252         LabelFont
253           Color                 green
254           Size                  Small
255         EndFont
256 End
257
258
259 Style Bibliography
260         Margin                  First_Dynamic
261         LatexType               Bib_Environment
262         LatexName               thebibliography
263         Category                BackMatter
264         NextNoIndent            1
265         LeftMargin              MM
266         ParSkip                 0.4
267         ItemSep                 0
268         TopSep                  0.7
269         BottomSep               0.7
270         ParSep                  0.5
271         Align                   Block
272         AlignPossible           Block
273         LabelType               Bibliography
274         LabelString             "References"
275         LabelBottomSep          1.2
276         LabelFont
277           Series                Bold
278           Size                  Larger
279         EndFont
280 End