]> git.lyx.org Git - lyx.git/blob - lib/layouts/apa.layout
Remove hebrew letter document class
[lyx.git] / lib / layouts / apa.layout
1 #% Do not delete the line below; configure depends on this
2 #  \DeclareLaTeXClass[apa,apacite.sty,endfloat.sty,endnotes.sty,flushend.sty,txfonts.sty]{American Psychological Association (APA)}
3 #  \DeclareCategory{Articles}
4 # Author: Randy Gobbel <gobbel@andrew.cmu.edu>
5
6 Format 104
7 Columns                 1
8 Sides                   1
9 PageStyle               Headers
10
11
12 ClassOptions
13         Other "man"
14         FontSize              6|8|10|12
15 End
16
17
18 Preamble
19         \helvetica
20         \author{Author} % hack around some bugs in apa.cls
21         \affiliation{Affiliation} % hack around some bugs in apa.cls
22 EndPreamble
23
24
25 Style Standard
26         Category              MainText
27         LatexName             dummy
28         LatexType             Paragraph
29         Margin                Static
30         ParIndent             MM
31         ParSkip               0.4
32         ParSep                0.4
33         TopSep                1.0
34         BottomSep             1.0
35         Align                 Block
36         AlignPossible         Block, Left, Right, Center
37         LabelType             No_Label
38         DocBookTag            para
39 End
40
41
42 Style Title
43         Category              FrontMatter
44         LatexName             title
45         LatexType             Command
46         InTitle               1
47         Font
48           Size                Huge
49         EndFont
50         Align                 Center
51         HTMLTitle             true
52         DocBookTag            title
53         DocBookTagType        paragraph
54         DocBookInInfo         maybe
55 End
56
57
58 Style RightHeader
59         LatexName             rightheader
60         LatexType             Command
61         InTitle               1
62         Font
63           Size                Small
64           Shape               SmallCaps
65         EndFont
66         Labeltype             Static
67         LabelString           "Right header:"
68         Labelsep              M
69         LabelFont
70           Series              Bold
71           Size                Small
72         EndFont
73         Align                 Right
74         DocBookTag            titleabbrev
75         DocBookAttr           role='right-header'
76         DocBookTagType        paragraph
77         DocBookInInfo         maybe
78 End
79
80
81 Style Abstract
82         Category              FrontMatter
83         LatexName             abstract
84         LatexType             Command
85         InTitle               1
86         Font
87           Size                Small
88         EndFont
89         Margin                Dynamic
90         LeftMargin            MMN
91         RightMargin           MMN
92         Align                 Block
93         AlignPossible         Block, Left, Right, Center
94         Labeltype             Static
95         LabelString           "Abstract:"
96         Labelsep              M
97         LabelFont
98           Series              Bold
99           Size                Small
100         EndFont
101         DocBookAbstract       true
102         DocBookInInfo         always
103         DocBookWrapperTag     abstract
104         DocBookWrapperMergeWithPrevious    true
105         DocBookTag            para
106 End
107
108
109 Style ShortTitle
110         Category              FrontMatter
111         LatexName             shorttitle
112         LatexType             Command
113         InTitle               1
114         Align                 Left
115         AlignPossible         Left, Right, Center
116         Margin                Dynamic
117         Labeltype             Static
118         LabelString           "Short title:"
119         Labelsep              M
120         Font
121           Shape               SmallCaps
122           Size                Small
123         EndFont
124         LabelFont
125           Series              Bold
126           Size                Small
127           Shape               Up
128         EndFont
129         DocBookTag            titleabbrev
130         DocBookTagType        paragraph
131         DocBookInInfo         maybe
132         DocBookTag            titleabbrev
133         DocBookAttr           role='short-title'
134         DocBookTagType        paragraph
135         DocBookInInfo         maybe
136 End
137
138
139 Style Author
140         Category              FrontMatter
141         LatexName             author
142         LatexType             Command
143         InTitle               1
144         Align                 Center
145         AlignPossible         Left, Right, Center
146         TopSep                0.5
147         BottomSep             0.5
148         Font
149           Shape               Italic
150           Size                Small
151         EndFont
152         DocBookTag            personname
153         DocBookTagType        paragraph
154         DocBookWrapperTag     author
155         DocBookWrapperTagType inline
156         DocBookInInfo         always
157 End
158
159
160 Style TwoAuthors
161         Category              FrontMatter
162         LatexName             twoauthors
163         LatexType             Command
164         InTitle               1
165 End
166
167
168 Style ThreeAuthors
169         Category              FrontMatter
170         LatexName             threeauthors
171         LatexType             Command
172         InTitle               1
173 End
174
175
176 Style FourAuthors
177         Category              FrontMatter
178         LatexName             fourauthors
179         LatexType             Command
180         InTitle               1
181 End
182
183
184 Style Affiliation
185         Category              FrontMatter
186         LatexName             affiliation
187         LatexType             Command
188         InTitle               1
189         Margin                Dynamic
190         ParSkip               0.4
191         BottomSep             1.5
192         TopSep                1.5
193         ParSep                1.5
194         Align                 Left
195         AlignPossible         Block, Left, Right, Center
196         LabelType             Static
197         LabelString           "Affiliation:"
198         Labelsep              M
199         LabelFont
200           Series              Bold
201           Size                Small
202         EndFont
203         DocBookTag                        affiliation
204         DocBookWrapperTag                 author
205         DocBookWrapperMergeWithPrevious   true
206         DocBookItemTag                    orgname
207         DocBookItemTagType                paragraph
208         DocBookInInfo                     always
209 End
210
211
212 Style TwoAffiliations
213         Category              FrontMatter
214         LatexName             twoaffiliations
215         LatexType             Command
216         InTitle               1
217 End
218
219
220 Style ThreeAffiliations
221         Category              FrontMatter
222         LatexName             threeaffiliations
223         LatexType             Command
224         InTitle               1
225 End
226
227
228 Style FourAffiliations
229         Category              FrontMatter
230         LatexName             fouraffiliations
231         LatexType             Command
232         InTitle               1
233 End
234
235
236 Style Copyright
237         LatexName             ccoppy
238         LatexType             Command
239         InTitle               1
240 End
241
242
243 Style Acknowledgments
244         Category              BackMatter
245         LatexName             acknowledgements
246         LatexType             Command
247         Font
248           Size                Small
249         EndFont
250         Margin                Dynamic
251         LeftMargin            MMN
252         RightMargin           MMN
253         Align                 Block
254         AlignPossible         Block, Left, Right, Center
255         Labeltype             Static
256         LabelString           "Acknowledgments:"
257         Labelsep              M
258         LabelFont
259           Series              Bold
260           Size                Small
261         EndFont
262         DocBookTag            para
263         DocBookWrapperTag     acknowledgements
264         DocBookSection        true
265 End
266
267
268 Style ThickLine
269         LatexName             thickline
270         LatexType             Command
271         KeepEmpty             1
272 End
273
274
275
276 Input stdlayouts.inc
277
278
279 InsetLayout Caption:Centered
280         LabelString          standard
281         LaTeXType            command
282         LatexName            centeredcaption
283         NeedProtect          1
284         MultiPar             false
285         Argument 1
286                 LabelString   "Short Title|S"
287                 Tooltip       "The caption as it appears in the list of figures/tables"
288                 InsertCotext  1
289         EndArgument
290         HTMLStyle
291                 div.float-caption {
292                         text-align: center;
293                         border: 2px solid black;
294                         padding: 1ex;
295                         margin: 1ex;
296                 }
297         EndHTMLStyle
298         HTMLClass   "float-caption float-caption-centered"
299 End
300
301
302 Style FitFigure
303         LatexName             fitfigure
304         LatexType             Command
305 End
306
307
308 Style FitBitmap
309         LatexName             fitbitmap
310         LatexType             Command
311 End
312
313
314 Input stdsections.inc
315 Input stdstarsections.inc
316 Input stdinsets.inc
317
318 Input stdfloats.inc
319 Input stdcounters.inc
320
321 NoStyle Part
322 NoCounter part
323 NoStyle Part*
324 NoStyle Chapter
325 NoCounter chapter
326 NoStyle Chapter*
327 NoStyle Section*
328 NoStyle Subsection*
329 NoStyle Subsubsection*
330 NoStyle Paragraph*
331 NoStyle Subparagraph*
332
333
334 Style Section
335         LabelType             No_Label
336         Align                 Center
337         Font
338           Series              Bold
339           Size                Huge
340         EndFont
341         TocLevel              1
342 End
343
344
345 Style Subsection
346         LabelType             No_Label
347         Font
348           Series              Bold
349           Size                Larger
350         EndFont
351         TocLevel              2
352 End
353
354
355 Style Subsubsection
356         LabelType             No_Label
357         Font
358           Series              Bold
359           Size                Large
360         EndFont
361         TocLevel              3
362 End
363
364
365 Style Paragraph
366         LabelType             No_Label
367         Font
368           Series              Bold
369           Size                Normal
370         EndFont
371         TocLevel              4
372 End
373
374
375 Style Subparagraph
376         LabelType             No_Label
377         Font
378           Series              Bold
379           Size                Normal
380           Shape               Italic
381         EndFont
382         TocLevel 5
383 End
384
385
386 Style Itemize
387         Category              List
388         Margin                Static
389         LatexType             Item_Environment
390         LatexName             APAitemize
391         NextNoIndent          1
392         ToggleIndent          Never
393         LeftMargin            MMN
394         LabelSep              xx
395         ItemSep               0.2
396         TopSep                0.7
397         BottomSep             0.7
398         ParSep                0.3
399         Align                 Block
400         AlignPossible         Block, Left
401         LabelType             Itemize
402         Argument item:1
403                 LabelString   "Custom Item|s"
404                 Tooltip       "A customized item string"
405         EndArgument
406         Argument listpreamble:1
407                 LabelString    "List preamble"
408                 MenuString     "List Preamble"
409                 Tooltip        "LaTeX code to be inserted before the first item"
410                 PassThru       1
411                 Font
412                         Family typewriter
413                         Color latex
414                 EndFont
415         EndArgument
416         DocBookTag            itemizedlist
417         DocBookItemTag        listitem
418         DocBookItemInnerTag   para
419 End
420
421
422 Style Enumerate
423         Category              List
424         Margin                Static
425         LatexType             Item_Environment
426         LatexName             APAenumerate
427         NextNoIndent          1
428         ToggleIndent          Never
429         LeftMargin            MMN
430         LabelSep              xx
431         ParSkip               0.0
432         ItemSep               0.2
433         TopSep                0.7
434         BottomSep             0.7
435         ParSep                0.3
436         Align                 Block
437         AlignPossible         Block, Left
438         LabelType             Enumerate
439         RefPrefix             enu
440         Argument item:1
441                 LabelString   "Custom Item|s"
442                 Tooltip       "A customized item string"
443         EndArgument
444         Argument listpreamble:1
445                 LabelString    "List preamble"
446                 MenuString     "List Preamble"
447                 Tooltip        "LaTeX code to be inserted before the first item"
448                 PassThru       1
449                 Font
450                         Family typewriter
451                         Color latex
452                 EndFont
453         EndArgument
454         DocBookTag            orderedlist
455         DocBookItemTag        listitem
456         DocBookItemInnerTag   para
457         HTMLStyle
458                 ol.enumi   { list-style-type: decimal; }
459                 ol.enumii  { list-style-type: lower-latin; }
460                 ol.enumiii { list-style-type: lower-roman; }
461                 ol.enumiv  { list-style-type: upper-latin; }
462         EndHTMLStyle
463 End
464
465
466 Style Seriate
467         Category              List
468         Margin                Static
469         LatexType             Item_Environment
470         LatexName             seriate
471         NextNoIndent          1
472         LeftMargin            MMN
473         LabelSep              x
474         ParSkip               0.0
475         ItemSep               0.9
476         TopSep                0.5
477         BottomSep             0.5
478         ParSep                0.0
479         Align                 Block
480         AlignPossible         Block, Left
481         LabelType             Itemize
482         LabelCounter          enumii
483         LabelString           "(\alph{enumii})"
484         LabelStringAppendix   "(\alph{enumii})"
485         RefPrefix             ser
486         Argument listpreamble:1
487                 LabelString    "List preamble"
488                 MenuString     "List Preamble"
489                 Tooltip        "LaTeX code to be inserted before the first item"
490                 PassThru       1
491                 Font
492                         Family typewriter
493                         Color latex
494                 EndFont
495         EndArgument
496 End
497