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