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