]> git.lyx.org Git - lyx.git/blob - lib/layouts/acmart.layout
DocBook: implement Hollywood layout.
[lyx.git] / lib / layouts / acmart.layout
1 #% Do not delete the line below; configure depends on this
2 #  \DeclareLaTeXClass[acmart]{Association for Computing Machinery (ACM)}
3 #  \DeclareCategory{Articles}
4 #
5 # Layout for typesetting publications of the Association for Computing Machinery.
6 #
7 # Author : John Perry <john.perry@usm.edu>
8 #          Guillaume Munch-Maccagnoni <gm@lyx.org>
9 # Reviewed following tickets #10722 & #10723
10 #          by Jean-Pierre Chrétien <jpc@lyx.org>
11
12 Format 85
13
14 Provides amscls 1
15 Provides amsmath 1
16 Provides amstext 1
17 Provides binhex 1
18 Provides caption 1
19 Provides comment 1
20 Provides cm-super 1
21 Provides cmap 1
22 Provides draftwatermark 1
23 Provides environ 1
24 Provides fancyhdr 1
25 Provides float 1
26 Provides fontaxes 1
27 Provides geometry 1
28 Provides graphics 1
29 Provides hyperref 1
30 Provides ifluatex 1
31 Provides ifxetex 1
32 Provides inconsolata 1
33 Provides latex-tools 1
34 Provides libertine 1
35 Provides makeidx 1
36 Provides manyfoot 1
37 Provides microtype 1
38 Provides mmap 1
39 Provides ms 1
40 Provides mweights 1
41 Provides natbib 1
42 Provides nccfoots 1
43 Provides newtx 1
44 Provides oberdiek 1
45 Provides pdftex-def 1
46 Provides totpages 1
47 Provides trimspaces 1
48 Provides setspace 1
49 Provides upquote 1
50 Provides url 1
51 Provides xcolor 1
52 Provides xkeyval 1
53
54 # Input general definitions
55 Input stdclass.inc
56 Input stdcounters.inc
57
58 ClassOptions
59   FontSize              9|10|11|12
60   Other   "format=manuscript,authordraft"
61 End
62
63 Style Standard
64         Category              MainText
65         Margin                Static
66         LatexType             Paragraph
67         LatexName             dummy
68         ParIndent             MM
69         ParSkip               0.4
70         Align                 Block
71         AlignPossible         Block, Left, Right, Center
72         LabelType             No_Label
73         # FIXME This ought to be set dynamically.
74         HTMLStyle
75                 div.standard {
76                         margin-bottom: 2ex;
77                 }
78         EndHTMLStyle
79 End
80
81 Style Author
82   Align   Left
83   InTitle 1
84 End
85
86 Style Thanks
87   Category  FrontMatter
88   InTitle 1
89   Align Left
90   AlignPossible Left
91   Font
92     Family Roman
93   EndFont
94   LabelFont
95     Color Blue
96     Shape Italic
97     Family Roman
98   EndFont
99   LabelType Static
100   LabelString "Thanks: "
101   LatexType command
102   LatexName thanks
103   Margin Dynamic
104 End
105
106 Style ACM_Journal
107   Align left
108   AlignPossible left
109   Category Preamble
110   InPreamble  1
111   LabelString "Journal's Short Name: "
112   LabelType Static
113   LabelFont
114     Color Blue
115     Shape Italic
116   EndFont
117   LatexName acmJournal
118   LatexType Command
119   Margin Dynamic
120 End
121
122 Style ACM_Conference
123   CopyStyle ACM_Journal
124   Argument 1
125     LabelString "Short name"
126     Mandatory 0
127   EndArgument
128   Argument 2
129     LabelString "Full name"
130     Mandatory 1
131   EndArgument
132   Argument 3
133     LabelString "Date"
134     Mandatory 1
135   EndArgument
136   Argument 4
137     LabelString "Venue"
138     Mandatory 1
139   EndArgument
140   LabelString "Conference Name: "
141   LatexName acmConference
142   Margin Dynamic
143 End
144
145 Style Title
146   Argument 1
147     LabelString "Short title"
148     Mandatory 0
149   EndArgument
150   Font
151     Size Largest
152   EndFont
153   DependsOn Abstract
154 End
155
156 Style Subtitle
157   Category  FrontMatter
158   Align Center
159   AlignPossible Center
160   InTitle 1
161   LatexType Command
162   LatexName subtitle
163   Font
164     Size Larger
165     Family Roman
166   EndFont
167 End
168
169 Style Email
170   Align Left
171   AlignPossible center
172   Category FrontMatter
173   Font
174     Family  Typewriter
175   EndFont
176   #InPreamble  1
177   InTitle 1
178   LabelString "Email address: "
179   LabelType Static
180   LabelFont
181     Color Blue
182     Shape Italic
183     Family Roman
184   EndFont
185   LatexType Command
186   LatexName email
187   Margin Dynamic
188 End
189
190 Style ORCID
191   CopyStyle Email
192   LabelString "ORCID: "
193   Font
194     Family Roman
195   EndFont
196   LabelFont
197     Color Blue
198     Shape Italic
199   EndFont
200   LatexName orcid
201 End
202
203 Style Affiliation
204   CopyStyle Email
205   Font
206     Family Roman
207   EndFont
208   LabelFont
209     Color Blue
210     Shape Italic
211   EndFont
212   LabelString "Affiliation: "
213   LatexName affiliation
214 End
215
216 Style Additional_Affiliation
217   CopyStyle Affiliation
218   LabelString "Additional Affiliation: "
219   LatexName additionalaffiliation
220 End
221
222 InsetLayout Flex:Position
223   LyxType custom
224   ContentAsLabel 1
225   Decoration Classic
226   LabelString "Position"
227   LatexName position
228   LatexType command
229 End
230
231 InsetLayout Flex:Institution
232   CopyStyle Flex:Position
233   LabelString "Institution"
234   LatexName institution
235   Spellcheck 0
236 End
237
238 InsetLayout Flex:Department
239   CopyStyle Flex:Position
240   LabelString "Department"
241   LatexName department
242   LatexType command
243   Spellcheck 0
244 End
245
246 InsetLayout Flex:Street_Address
247   CopyStyle Flex:Position
248   LabelString "Street Address"
249   LatexName streetaddress
250   LatexType command
251   Spellcheck 0
252 End
253
254 InsetLayout Flex:City
255   CopyStyle Flex:Position
256   LabelString "City"
257   LatexName city
258   LatexType command
259   Spellcheck 0
260 End
261
262 InsetLayout Flex:Country
263   CopyStyle Flex:Position
264   LabelString "Country"
265   LatexName country
266   LatexType command
267   Spellcheck 0
268 End
269
270 InsetLayout Flex:State
271   CopyStyle Flex:Position
272   LabelString "State"
273   LatexName state
274   LatexType command
275   Spellcheck 0
276 End
277
278 InsetLayout Flex:Postal_Code
279   CopyStyle Flex:Position
280   LabelString "Postal Code"
281   LatexName postcode
282   LatexType command
283   Spellcheck 0
284 End
285
286 Style TitleNote
287   CopyStyle Email
288   Font
289     Family Roman
290   EndFont
291   LabelFont
292     Family Roman
293     Color Blue
294     Shape Italic
295   EndFont
296   LabelString "Title Note: "
297   LatexName titlenote
298   TopSep 0.3
299   BottomSep 0.3
300 End
301
302 Style SubtitleNote
303   CopyStyle TitleNote
304   LabelString "Subtitle Note: "
305   LatexName subtitlenote
306 End
307
308 Style AuthorNote
309   CopyStyle TitleNote
310   LabelString "Note: "
311   LatexName authornote
312 End
313
314 Style ACM_Volume
315   CopyStyle ACM_Journal
316   LabelString "Volume: "
317   LatexName acmVolume
318 End
319
320 Style ACM_Number
321   CopyStyle ACM_Journal
322   LabelString "Number: "
323   LatexName acmNumber
324 End
325
326 Style ACM_Article
327   CopyStyle ACM_Journal
328   LabelString "Article: "
329   LatexName acmArticle
330 End
331
332 Style ACM_Year
333   CopyStyle ACM_Journal
334   LabelString "Year: "
335   LatexName acmYear
336 End
337
338 Style ACM_Month
339   CopyStyle ACM_Journal
340   LabelString "Month: "
341   LatexName acmMonth
342 End
343
344 Style ACM_Art_Seq_Num
345   CopyStyle ACM_Journal
346   LabelString "Article Sequential Number: "
347   LatexName acmArticleSeq
348 End
349
350 Style ACM_Submission_ID
351   CopyStyle ACM_Journal
352   LabelString "Submission ID: "
353   LatexName acmSubmissionID
354 End
355
356 Style ACM_Price
357   CopyStyle ACM_Journal
358   LabelString "Price: "
359   LatexName acmPrice
360 End
361
362 Style ACM_ISBN
363   CopyStyle ACM_Journal
364   LabelString "ISBN: "
365   LatexName acmISBN
366 End
367
368 Style ACM_DOI
369   CopyStyle ACM_Journal
370   LabelString "ACM DOI: "
371   LatexName acmDOI
372 End
373
374 Style ACM_Badge_R
375   CopyStyle ACM_Journal
376   LabelString "ACM Badge R: "
377   LatexName acmBadgeR
378 End
379
380 Style ACM_Badge_L
381   CopyStyle ACM_Journal
382   LabelString "ACM Badge L: "
383   LatexName acmBadgeL
384 End
385
386 Style Start_Page
387   CopyStyle ACM_Journal
388   LabelString "Start Page: "
389   LatexName startPage
390 End
391
392 Style Terms
393   CopyStyle TitleNote
394   LabelString "Terms: "
395   LatexName terms
396 End
397
398 Style Keywords
399   CopyStyle TitleNote
400   LabelString "Keywords: "
401   LatexName keywords
402 End
403
404 Style CCSXML
405   Category  FrontMatter
406   LatexName CCSXML
407   LatexType Environment
408   Font
409     Family Typewriter
410     Color blue
411     Shape Italic
412   EndFont
413   FreeSpacing 1
414   InTitle 1
415   LabelString "Computing Classification Scheme (XML): "
416   LabelType Centered
417   LabelFont
418     Family Roman
419   EndFont
420   NextNoIndent 1
421   NewLine false
422   ParbreakIsNewline true
423   PassThru  true
424 End
425
426 Style CCS_Description
427   CopyStyle TitleNote
428   Argument 1
429     LabelString "Significance"
430   EndArgument
431   LabelString "Computing Classification Scheme: "
432   LatexName ccsdesc
433   Font
434     Family Typewriter
435     Color Blue
436     Shape Italic
437   EndFont
438   LabelFont
439     Family Roman
440   EndFont
441   PassThru  1
442 End
443
444 Style Set_Copyright
445   CopyStyle ACM_Journal
446   LabelString "Set Copyright: "
447   LatexName setcopyright
448 End
449
450 Style Copyright_Year
451   CopyStyle ACM_Journal
452   LabelString "Copyright Year: "
453   LatexName copyrightyear
454 End
455
456 Style Teaser_Figure
457   Category  FrontMatter
458   Argument 1
459     LabelString "Teaser Figure"
460   EndArgument
461   LatexType Environment
462   LatexName teaserfigure
463 End
464
465 Style Received
466   CopyStyle ACM_Journal
467   Argument 1
468     LabelString "Stage"
469     Mandatory 0
470   EndArgument
471   LabelString "Received: "
472   LatexName received
473 End
474
475 Style Abstract
476   InTitle 1
477 End
478
479 Style ShortAuthors
480   Category  FrontMatter
481   Font
482     Family Roman
483   EndFont
484   LatexType command
485   InTitle 0
486   LabelType Static
487   LabelString "Short authors: "
488   Margin Dynamic
489   LabelFont
490     Family Roman
491     Color blue
492     Shape Italic
493   EndFont
494   Preamble
495     \newcommand{\redefineshortauthors}[1]{\renewcommand{\shortauthors}{#1}}
496   EndPreamble
497   LatexName redefineshortauthors
498 End
499
500
501 OutlinerName sidebar    "Sidebar" #no AddToToc
502
503 Float
504   Type                  sidebar
505   GuiName               "Sidebar (sigchi-a only)"
506   NumberWithin          none
507   Style                 plain
508   IsPredefined          true
509   UsesFloatPkg          false
510   RefPrefix             sidebar
511 End
512
513 Float
514   Type                  marginfigure
515   GuiName               "Margin figure (sigchi-a only)"
516   NumberWithin          none
517   Style                 plain
518   IsPredefined          true
519   Extension             lof
520   ListName              "List of Figures"
521   ListCommand           listoffigures
522   UsesFloatPkg          false
523   RefPrefix             mgfig
524 End
525
526 Float
527   Type                  margintable
528   GuiName               "Margin table (sigchi-a only)"
529   NumberWithin          none
530   Style                 plain
531   IsPredefined          true
532   Extension             lof
533   ListName              "List of Tables"
534   ListCommand           listoftables
535   UsesFloatPkg          false
536   RefPrefix             mgtab
537 End
538
539 OutlinerName thm "Definitions & Theorems"
540
541 Counter theorem
542         GuiName Theorem
543         Within                section
544 End
545
546 Style Theorem
547         Category              Reasoning
548         Margin                First_Dynamic
549         LatexType             Environment
550         LatexName             theorem
551         NextNoIndent          1
552         ResetArgs             1
553         AddToToc              thm
554         IsTocCaption          1
555         Argument 1
556                 LabelString    "Additional Theorem Text"
557                 Tooltip        "Additional text appended to the theorem header"
558                 IsTocCaption      1
559         EndArgument
560         LabelSep              xx
561         ParIndent             MMM
562         ParSkip               0.4
563         ItemSep               0.2
564         TopSep                0.7
565         BottomSep             0.7
566         ParSep                0.3
567         Align                 Block
568         AlignPossible         Left
569         LabelType             Static
570         LabelCounter          theorem
571         LabelString           "Theorem \thetheorem."
572         Font
573           Shape               Italic
574           Size                Normal
575         EndFont
576         LabelFont
577           Shape               SmallCaps
578         EndFont
579 End
580
581 Style Corollary
582         CopyStyle             Theorem
583         DependsOn             Theorem
584         LatexName             corollary
585         LabelString           "Corollary \thetheorem."
586 End
587
588 Style Lemma
589         CopyStyle             Theorem
590         DependsOn             Theorem
591         LatexName             lemma
592         LabelString           "Lemma \thetheorem."
593 End
594
595 Style Proposition
596         CopyStyle             Theorem
597         DependsOn             Theorem
598         LatexName             proposition
599         LabelString           "Proposition \thetheorem."
600 End
601
602 Style Conjecture
603         CopyStyle             Theorem
604         DependsOn             Theorem
605         LatexName             conjecture
606         LabelString           "Conjecture \thetheorem."
607 End
608
609 Style Definition
610         CopyStyle             Theorem
611         DependsOn             Theorem
612         LatexName             definition
613         LabelString           "Definition \thetheorem."
614         Font
615           Shape               Up
616         EndFont
617         LabelFont
618           Shape  Italic
619           Series  Medium
620         EndFont
621 End
622
623 Style Example
624         CopyStyle             Definition
625         LatexName             example
626         LabelString           "Example \thetheorem."
627 End
628
629 InsetLayout Flex:Print_Only
630   LyxType custom
631   Decoration Classic
632   Display true
633   InToc true
634   LatexName printonly
635   LatexType Environment
636   LabelString "Print version only"
637 End
638
639 InsetLayout Flex:Screen_Only
640   CopyStyle Flex:Print_Only
641   LatexName screenonly
642   LabelString "Screen version only"
643 End
644
645 InsetLayout Flex:Anonymous_Suppression
646   CopyStyle Flex:Print_Only
647   LatexName anonsuppress
648   LabelString "Non anonymous only"
649 End
650
651 Style Acknowledgments
652   Category  BackMatter
653   LatexName acks
654   LatexType   Environment
655   LabelString "Acknowledgments"
656   LabelType Above
657   TopSep                1.3
658   LabelBottomSep        0.7
659   Margin  Static
660   LabelFont
661     Series Bold
662     Size Large
663   EndFont
664 End
665
666 InsetLayout Flex:Grant_Sponsor
667   LyxType custom
668   ContentAsLabel 1
669   Decoration Conglomerate
670   LabelString "Grant Sponsor"
671   LatexName grantsponsor
672   LatexType command
673   Argument 1
674     LabelString "Sponsor ID"
675     Mandatory 1
676     AutoInsert 1
677   EndArgument
678   Argument 2
679     LabelString "Name"
680     Mandatory 1
681     AutoInsert 1
682     Requires 1
683   EndArgument
684   Argument 3
685     LabelString "URL"
686     Mandatory 1
687     AutoInsert 1
688     Font
689       Family  Typewriter
690     EndFont
691     Requires 2
692   EndArgument
693 End
694
695 InsetLayout Flex:Grant_Number
696   LyxType custom
697   ContentAsLabel 1
698   Decoration Conglomerate
699   LabelString "Grant Number"
700   LatexName grantnum
701   LatexType command
702   Argument 1
703     LabelString "URL"
704     Mandatory false
705     Font
706       Family  Typewriter
707     EndFont
708   EndArgument
709   Argument 2
710     LabelString "Sponsor ID"
711     Mandatory true
712     AutoInsert true
713   EndArgument
714 End
715
716 Input theorems-case.inc
717 Input theorems-proof.inc
718 Input theorems-refprefix.inc