]> git.lyx.org Git - features.git/blob - lib/layouts/apax.inc
Added apa7 layout
[features.git] / lib / layouts / apax.inc
1 # APA x textclass definition file.
2 # Author: Jacob Bishop <bishop.jacob@gmail.com> based on the apa 
3 # layout written by Randy Gobbel.
4
5 Format 81
6 Columns                 1
7 Sides                   1
8 PageStyle               Headers
9
10
11 ClassOptions
12         Other "man"
13         FontSize              10|11|12
14 End
15
16
17 Preamble
18 EndPreamble
19
20
21 Style Standard
22         Category              MainText
23         LatexName             dummy
24         LatexType             Paragraph
25         Margin                Static
26         ParIndent             MM
27         ParSkip               0.4
28         ParSep                0.4
29         TopSep                1.0
30         BottomSep             1.0
31         Align                 Block
32         AlignPossible         Block, Left, Right, Center
33         LabelType             No_Label
34 End
35
36
37 Style Title
38         Category              FrontMatter
39         LatexName             title
40         LatexType             Command
41         InTitle               1
42         Font
43           Size                Huge
44         EndFont
45         Align                 Center
46         HTMLTitle             true
47 End
48
49
50 Style ShortTitle
51         Category              FrontMatter
52         LatexName             shorttitle
53         LatexType             Command
54         InTitle               1
55         Align                 Left
56         AlignPossible         Left, Right, Center
57         Margin                Dynamic
58         Labeltype             Static
59         LabelString           "Short title:"
60         Labelsep              M
61         Font
62           Shape               SmallCaps
63           Size                Small
64         EndFont
65         LabelFont
66           Series              Bold
67           Size                Small
68           Shape               Up
69         EndFont
70 End
71
72
73 Style Author
74         Category              FrontMatter
75         LatexName             author
76         LatexType             Command
77         InTitle               1
78         Align                 Center
79         AlignPossible         Left, Right, Center
80         TopSep                0.5
81         BottomSep             0.5
82         Font
83           Shape               Italic
84           Size                Small
85         EndFont
86 End
87
88
89 Style TwoAuthors
90         Category              FrontMatter
91         LatexName             twoauthors
92         LatexType             Command
93         InTitle               1
94 End
95
96
97 Style ThreeAuthors
98         Category              FrontMatter
99         LatexName             threeauthors
100         LatexType             Command
101         InTitle               1
102 End
103
104
105 Style FourAuthors
106         Category              FrontMatter
107         LatexName             fourauthors
108         LatexType             Command
109         InTitle               1
110 End
111
112 Style FiveAuthors
113         Category              FrontMatter
114         LatexName             fiveauthors
115         LatexType             Command
116         InTitle               1
117 End
118
119 Style SixAuthors
120         Category              FrontMatter
121         LatexName             sixauthors
122         LatexType             Command
123         InTitle               1
124 End
125
126 Style LeftHeader
127         Category              FrontMatter
128         LatexName             leftheader
129         LatexType             Command
130         InTitle               1
131         Align                 Left
132         AlignPossible         Left, Right, Center
133         Margin                Dynamic
134         Labeltype             Static
135         LabelString           "Left header:"
136         Labelsep              M
137         Font
138           Size                Small
139           Shape               SmallCaps
140         EndFont
141         LabelFont
142           Series              Bold
143           Size                Small
144         EndFont
145 End
146
147
148 Style Affiliation
149         Category              FrontMatter
150         LatexName             affiliation
151         LatexType             Command
152         InTitle               1
153         Margin                Dynamic
154         ParSkip               0.4
155         BottomSep             1.0
156         TopSep                1.5
157         ParSep                1.5
158         Align                 Left
159         AlignPossible         Block, Left, Right, Center
160         LabelType             Static
161         LabelString           "Affiliation:"
162         Labelsep              M
163         LabelFont
164           Series              Bold
165           Size                Small
166         EndFont
167 End
168
169 Style TwoAffiliations
170         Category              FrontMatter
171         LatexName             twoaffiliations
172         LatexType             Command
173         InTitle               1
174 End
175
176 Style ThreeAffiliations
177         Category              FrontMatter
178         LatexName             threeaffiliations
179         LatexType             Command
180         InTitle               1
181 End
182
183 Style FourAffiliations
184         Category              FrontMatter
185         LatexName             fouraffiliations
186         LatexType             Command
187         InTitle               1
188 End
189
190 Style FiveAffiliations
191         Category              FrontMatter
192         LatexName             fiveaffiliations
193         LatexType             Command
194         InTitle               1
195 End
196
197 Style SixAffiliations
198         Category              FrontMatter
199         LatexName             sixaffiliations
200         LatexType             Command
201         InTitle               1
202 End
203
204
205 Style Note
206         Category              FrontMatter
207         LatexName             note
208         LatexType             Command
209         InTitle               1
210         Margin                Dynamic
211         ParSkip               0.4
212         BottomSep             1.5
213         TopSep                1.5
214         ParSep                1.5
215         Align                 Left
216         AlignPossible         Block, Left, Right, Center
217         LabelType             Static
218         LabelString           "Note:"
219         Labelsep              M
220         LabelFont
221           Series              Bold
222           Size                Small
223         EndFont
224 End
225
226
227 Style Abstract
228         Category              FrontMatter
229         LatexName             abstract
230         LatexType             Command
231         InTitle               1
232         Font
233           Size                Small
234         EndFont
235         Margin                Dynamic
236         LeftMargin            MMN
237         RightMargin           MMN
238         Align                 Block
239         AlignPossible         Block, Left, Right, Center
240         Labeltype             Static
241         LabelString           "Abstract:"
242         Labelsep              M
243         LabelFont
244           Series              Bold
245           Size                Small
246         EndFont
247 End
248
249 Style Keywords
250         Category              FrontMatter
251         LatexName             keywords
252         LatexType             Command
253         InTitle               1
254         Font
255           Size                Small
256         EndFont
257         Margin                Dynamic
258         LeftMargin            MMN
259         RightMargin           MMN
260         Align                 Block
261         AlignPossible         Block, Left, Right, Center
262         TopSep                0.8
263         BottomSep             0.8
264         Labeltype             Static
265         LabelString           "Keywords:"
266         Labelsep              M
267         LabelFont
268           Size                Small
269           Shape               Italic
270         EndFont
271 End
272
273 Style AuthorNote
274         Category              FrontMatter
275         LatexName             authornote
276         LatexType             Command
277         InTitle               1
278         Font
279           Size                Small
280         EndFont
281         Margin                Dynamic
282         ParSkip               0.4
283         BottomSep             1.5
284         TopSep                1.5
285         ParSep                1.5
286         Align                 Left
287         LeftMargin            MMN
288         RightMargin           MMN
289         Align                 Block
290         AlignPossible         Block, Left, Right, Center
291         Labeltype             Static
292         LabelString           "Author Note:"
293         Labelsep              M
294         LabelFont
295           Series              Bold
296           Size                Small
297         EndFont
298 End
299
300
301 Style Acknowledgments
302         ObsoletedBy           AuthorNote
303 End
304
305
306 Style Journal
307         Category              Preamble
308         LatexName             journal
309         LatexType             Command
310         InPreamble            1
311 End
312
313
314 Style Copyright
315         Category              Preamble
316         LatexName             ccoppy
317         LatexType             Command
318         InPreamble            1
319         Align                 Right
320 End
321
322
323 Style CopNum
324         Category              Preamble
325         LatexName             copnum
326         LatexType             Command
327         InPreamble            1
328         Align                 Right
329 End
330
331 Style Volume
332         Category              Preamble
333         LatexName             volume
334         LatexType             Command
335         InPreamble            1
336 End
337
338 Style ThickLine
339         LatexName             thickline
340         LatexType             Command
341         KeepEmpty             1
342 End
343
344
345
346 Input stdlayouts.inc
347
348
349 InsetLayout Caption:Centered
350         LabelString          standard
351         LaTeXType            command
352         LatexName            centeredcaption
353         NeedProtect          1
354         MultiPar             false
355         Argument 1
356                 LabelString   "Short Title|S"
357                 Tooltip       "The caption as it appears in the list of figures/tables"
358                 InsertCotext  1
359         EndArgument
360         HTMLStyle
361                 div.float-caption {
362                         text-align: center;
363                         border: 2px solid black;
364                         padding: 1ex;
365                         margin: 1ex;
366                 }
367         EndHTMLStyle
368         HTMLAttr "class='float-caption float-caption-centered'"
369 End
370
371
372 Style FitFigure
373         LatexName             fitfigure
374         LatexType             Command
375 End
376
377
378 Style FitBitmap
379         LatexName             fitbitmap
380         LatexType             Command
381 End
382
383
384 Input stdsections.inc
385 Input stdstarsections.inc
386 Input stdinsets.inc
387
388 Input stdfloats.inc
389 Input stdcounters.inc
390
391 NoStyle Part
392 NoCounter part
393 NoStyle Part*
394 NoStyle Chapter
395 NoCounter chapter
396 NoStyle Chapter*
397 NoStyle Section*
398 NoStyle Subsection*
399 NoStyle Subsubsection*
400 NoStyle Paragraph*
401 NoStyle Subparagraph*
402
403
404 Style Section
405         LabelType             No_Label
406         Align                 Center
407         Font
408           Series              Bold
409           Size                Huge
410         EndFont
411         TocLevel              1
412 End
413
414
415 Style Subsection
416         LabelType             No_Label
417         Font
418           Series              Bold
419           Size                Larger
420         EndFont
421         TocLevel              2
422 End
423
424
425 Style Subsubsection
426         LabelType             No_Label
427         Font
428           Series              Bold
429           Size                Large
430         EndFont
431         TocLevel              3
432 End
433
434
435 Style Paragraph
436         LabelType             No_Label
437         Font
438           Series              Bold
439           Size                Normal
440         EndFont
441         TocLevel              4
442 End
443
444
445 Style Subparagraph
446         LabelType             No_Label
447         Font
448           Series              Bold
449           Size                Normal
450           Shape               Italic
451         EndFont
452         TocLevel              5
453 End
454
455
456 Style Itemize
457         Category              List
458         Margin                Static
459         LatexType             Item_Environment
460         LatexName             APAitemize
461         NextNoIndent          1
462         ToggleIndent          Never
463         LeftMargin            MMN
464         LabelSep              xx
465         ItemSep               0.2
466         TopSep                0.7
467         BottomSep             0.7
468         ParSep                0.3
469         Align                 Block
470         AlignPossible         Block, Left
471         LabelType             Itemize
472         LabelString           "*"
473         Argument item:1
474                 LabelString   "Custom Item|s"
475                 Tooltip       "A customized item string"
476         EndArgument
477         Argument listpreamble:1
478                 LabelString    "List preamble"
479                 MenuString     "List Preamble"
480                 Tooltip        "LaTeX code to be inserted before the first item"
481                 PassThru       1
482                 Font
483                         Family typewriter
484                         Color latex
485                 EndFont
486         EndArgument
487 End
488
489
490 Style Enumerate
491         Category              List
492         Margin                Static
493         LatexType             Item_Environment
494         LatexName             APAenumerate
495         NextNoIndent          1
496         ToggleIndent          Never
497         LeftMargin            MMN
498         LabelSep              xx
499         ParSkip               0.0
500         ItemSep               0.2
501         TopSep                0.7
502         BottomSep             0.7
503         ParSep                0.3
504         Align                 Block
505         AlignPossible         Block, Left
506         LabelType             Enumerate
507         RefPrefix             enu
508         Argument item:1
509                 LabelString   "Custom Item|s"
510                 Tooltip       "A customized item string"
511         EndArgument
512         Argument listpreamble:1
513                 LabelString    "List preamble"
514                 MenuString     "List Preamble"
515                 Tooltip        "LaTeX code to be inserted before the first item"
516                 PassThru       1
517                 Font
518                         Family typewriter
519                         Color latex
520                 EndFont
521         EndArgument
522 End
523
524
525 Style Seriate
526         Category              List
527         Margin                Static
528         LatexType             Item_Environment
529         LatexName             seriate
530         NextNoIndent          1
531         LeftMargin            MMN
532         LabelSep              x
533         ParSkip               0.0
534         ItemSep               0.9
535         TopSep                0.5
536         BottomSep             0.5
537         ParSep                0.0
538         Align                 Block
539         AlignPossible         Block, Left
540         LabelType             Static
541         LabelCounter          enumii
542         LabelString           "(\alph{enumii})"
543         LabelStringAppendix   "(\alph{enumii})"
544         RefPrefix             ser
545         Argument listpreamble:1
546                 LabelString    "List preamble"
547                 MenuString     "List Preamble"
548                 Tooltip        "LaTeX code to be inserted before the first item"
549                 PassThru       1
550                 Font
551                         Family typewriter
552                         Color latex
553                 EndFont
554         EndArgument
555 End
556
557 Style Course
558         Category              FrontMatter
559         InTitle               1
560         LatexName             course
561         LatexType             Command
562         Font
563           Size                Small
564         EndFont
565         Margin                Dynamic
566         LeftMargin            MMN
567         RightMargin           MMN
568         Align                 Block
569         AlignPossible         Block, Left, Right, Center
570         TopSep                0.8
571         BottomSep             0.8
572         Labeltype             Static
573         LabelString           "Course: "
574         Labelsep              M
575         LabelFont
576           Size                Small
577           Shape               Italic
578         EndFont
579 End
580
581 Style addORCIDlink
582         Category              FrontMatter
583         InTitle               1
584         Labeltype Static
585         LabelString           "ORCID-link: "
586         LatexName             addORCIDlink
587         LatexType             Command
588         Margin                Dynamic
589         LeftMargin MMN
590         RightMargin MMN
591         Align Block
592         Argument        1
593           LabelString "Author-name"
594           Tooltip ORCID
595           Mandatory     1
596         EndArgument
597 End
598