File: acmart.layout

package info (click to toggle)
lyx 2.5.0-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 138,444 kB
  • sloc: cpp: 244,268; ansic: 106,398; xml: 72,791; python: 39,384; sh: 7,666; makefile: 6,584; pascal: 2,143; perl: 2,101; objc: 1,084; tcl: 163; sed: 16
file content (760 lines) | stat: -rw-r--r-- 14,483 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
#% Do not delete the line below; configure depends on this
#  \DeclareLaTeXClass[acmart]{Association for Computing Machinery (ACM)}
#  \DeclareCategory{Articles}
#
# Layout for typesetting publications of the Association for Computing Machinery.
#
# Author : John Perry <john.perry@usm.edu>
#          Guillaume Munch-Maccagnoni <gm@lyx.org>
# Reviewed following tickets #10722 & #10723
#          by Jean-Pierre Chrétien <jpc@lyx.org>

Format 111

Provides amscls 1
Provides amsmath 1
Provides amstext 1
Provides binhex 1
Provides caption 1
Provides comment 1
Provides cm-super 1
Provides cmap 1
Provides draftwatermark 1
Provides environ 1
Provides fancyhdr 1
Provides float 1
Provides fontaxes 1
Provides geometry 1
Provides graphics 1
Provides hyperref 1
Provides ifluatex 1
Provides ifxetex 1
Provides inconsolata 1
Provides latex-tools 1
Provides libertine 1
Provides makeidx 1
Provides manyfoot 1
Provides microtype 1
Provides mmap 1
Provides ms 1
Provides mweights 1
Provides natbib 1
Provides nccfoots 1
Provides newtx 1
Provides oberdiek 1
Provides pdftex-def 1
Provides totpages 1
Provides trimspaces 1
Provides setspace 1
Provides upquote 1
Provides url 1
Provides xcolor 1
Provides xkeyval 1

# Input general definitions
Input stdclass.inc
Input stdcounters.inc

ClassOptions
  FontSize		9|10|11|12
  Other   "format=manuscript,authordraft"
End

Style Standard
	Category              MainText
	Margin                Static
	LatexType             Paragraph
	LatexName             dummy
	ParIndent             MM
	ParSkip               0.4
	Align                 Block
	AlignPossible         Block, Left, Right, Center
	LabelType             No_Label
	# FIXME This ought to be set dynamically.
	HTMLStyle
		div.standard {
			margin-bottom: 2ex;
		}
	EndHTMLStyle
End

Style Author
  Align   Left
  InTitle 1
End

Style Thanks
  Category  FrontMatter
  InTitle 1
  Align Left
  AlignPossible Left
  Font
    Family Roman
  EndFont
  LabelFont
    Color textlabel1
    Shape Italic
    Family Roman
  EndFont
  LabelType Static
  LabelString "Thanks: "
  LatexType command
  LatexName thanks
  MultiPar 1
  ParagraphGroup 1
  Margin Dynamic
End

Style ACM_Journal
  Align left
  AlignPossible left
  Category Preamble
  InPreamble  1
  LabelString "Journal's Short Name: "
  LabelType Static
  LabelFont
    Color textlabel1
    Shape Italic
  EndFont
  LatexName acmJournal
  LatexType Command
  Margin Dynamic
End

Style ACM_Conference
  CopyStyle ACM_Journal
  Argument 1
    LabelString "Short name"
    Mandatory 0
  EndArgument
  Argument 2
    LabelString "Full name"
    Mandatory 1
  EndArgument
  Argument 3
    LabelString "Date"
    Mandatory 1
  EndArgument
  Argument 4
    LabelString "Venue"
    Mandatory 1
  EndArgument
  LabelString "Conference Name: "
  LatexName acmConference
  Margin Dynamic
End

Style Title
  Argument 1
    LabelString "Short title"
    Mandatory 0
	# TODO: In DocBook, output it in a titleabbrev outside this title.
  EndArgument
  Font
    Size Largest
  EndFont
  DependsOn Abstract
  DocBookTag      title
  DocBookTagType  paragraph
  DocBookInInfo   maybe
End

Style Subtitle
  Category  FrontMatter
  Align Center
  AlignPossible Center
  InTitle 1
  LatexType Command
  LatexName subtitle
  Font
    Size Larger
    Family Roman
  EndFont
  DocBookTag            subtitle
  DocBookInInfo         maybe
End

Style Email
  Align Left
  AlignPossible center
  Category FrontMatter
  Font
    Family  Typewriter
  EndFont
  #InPreamble  1
  InTitle 1
  LabelString "Email address: "
  LabelType Static
  LabelFont
    Color textlabel1
    Shape Italic
    Family Roman
  EndFont
  LatexType Command
  LatexName email
  Margin Dynamic
End

Style ORCID
  CopyStyle Email
  LabelString "ORCID: "
  Font
    Family Roman
  EndFont
  LabelFont
    Color textlabel1
    Shape Italic
  EndFont
  LatexName orcid
End

Style Affiliation
  CopyStyle Email
  Font
    Family Roman
  EndFont
  LabelFont
    Color textlabel1
    Shape Italic
  EndFont
  LabelString "Affiliation: "
  LatexName affiliation
End

Style Additional_Affiliation
  CopyStyle Affiliation
  LabelString "Additional Affiliation: "
  LatexName additionalaffiliation
End

InsetLayout Flex:Position
  LyxType custom
  ContentAsLabel 1
  Decoration Classic
  LabelString "Position"
  LatexName position
  LatexType command
End

InsetLayout Flex:Institution
  CopyStyle Flex:Position
  LabelString "Institution"
  LatexName institution
  Spellcheck 0
End

InsetLayout Flex:Department
  CopyStyle Flex:Position
  LabelString "Department"
  LatexName department
  LatexType command
  Spellcheck 0
  AllowedInLayouts
    Affiliation
  EndAllowedInLayouts
  AllowedOccurrences   1
End

InsetLayout Flex:Street_Address
  CopyStyle Flex:Position
  LabelString "Street Address"
  LatexName streetaddress
  LatexType command
  Spellcheck 0
  AllowedInLayouts
    Affiliation
  EndAllowedInLayouts
  AllowedOccurrences   1
End

InsetLayout Flex:City
  CopyStyle Flex:Position
  LabelString "City"
  LatexName city
  LatexType command
  Spellcheck 0
  AllowedInLayouts
    Affiliation
  EndAllowedInLayouts
  AllowedOccurrences   1
End

InsetLayout Flex:Country
  CopyStyle Flex:Position
  LabelString "Country"
  LatexName country
  LatexType command
  Spellcheck 0
  AllowedInLayouts
    Affiliation
  EndAllowedInLayouts
  AllowedOccurrences   1
End

InsetLayout Flex:State
  CopyStyle Flex:Position
  LabelString "State"
  LatexName state
  LatexType command
  Spellcheck 0
  AllowedInLayouts
    Affiliation
  EndAllowedInLayouts
  AllowedOccurrences   1
End

InsetLayout Flex:Postal_Code
  CopyStyle Flex:Position
  LabelString "Postal Code"
  LatexName postcode
  LatexType command
  Spellcheck 0
  AllowedInLayouts
    Affiliation
  EndAllowedInLayouts
  AllowedOccurrences   1
End

Style TitleNote
  CopyStyle Email
  Font
    Family Roman
  EndFont
  LabelFont
    Family Roman
    Color textlabel1
    Shape Italic
  EndFont
  LabelString "Title Note: "
  LatexName titlenote
  TopSep 0.3
  BottomSep 0.3
End

Style SubtitleNote
  CopyStyle TitleNote
  LabelString "Subtitle Note: "
  LatexName subtitlenote
End

Style AuthorNote
  CopyStyle TitleNote
  LabelString "Note: "
  LatexName authornote
End

Style ACM_Volume
  CopyStyle ACM_Journal
  LabelString "Volume: "
  LatexName acmVolume
End

Style ACM_Number
  CopyStyle ACM_Journal
  LabelString "Number: "
  LatexName acmNumber
End

Style ACM_Article
  CopyStyle ACM_Journal
  LabelString "Article: "
  LatexName acmArticle
End

Style ACM_Year
  CopyStyle ACM_Journal
  LabelString "Year: "
  LatexName acmYear
End

Style ACM_Month
  CopyStyle ACM_Journal
  LabelString "Month: "
  LatexName acmMonth
End

Style ACM_Art_Seq_Num
  CopyStyle ACM_Journal
  LabelString "Article Sequential Number: "
  LatexName acmArticleSeq
End

Style ACM_Submission_ID
  CopyStyle ACM_Journal
  LabelString "Submission ID: "
  LatexName acmSubmissionID
End

Style ACM_Price
  CopyStyle ACM_Journal
  LabelString "Price: "
  LatexName acmPrice
End

Style ACM_ISBN
  CopyStyle ACM_Journal
  LabelString "ISBN: "
  LatexName acmISBN
End

Style ACM_DOI
  CopyStyle ACM_Journal
  LabelString "ACM DOI: "
  LatexName acmDOI
End

Style ACM_Badge_R
  CopyStyle ACM_Journal
  LabelString "ACM Badge R: "
  LatexName acmBadgeR
End

Style ACM_Badge_L
  CopyStyle ACM_Journal
  LabelString "ACM Badge L: "
  LatexName acmBadgeL
End

Style Start_Page
  CopyStyle ACM_Journal
  LabelString "Start Page: "
  LatexName startPage
End

Style Terms
  CopyStyle TitleNote
  LabelString "Terms: "
  LatexName terms
End

Style Keywords
  CopyStyle TitleNote
  LabelString "Keywords: "
  LatexName keywords
End

Style CCSXML
  Category  FrontMatter
  LatexName CCSXML
  LatexType Environment
  Font
    Family Typewriter
    Color textlabel1
    Shape Italic
  EndFont
  FreeSpacing 1
  InTitle 1
  LabelString "Computing Classification Scheme (XML): "
  LabelType Centered
  LabelFont
    Family Roman
  EndFont
  NextNoIndent 1
  NewLine false
  ParbreakIsNewline true
  PassThru  true
End

Style CCS_Description
  CopyStyle TitleNote
  Argument 1
    LabelString "Significance"
  EndArgument
  LabelString "Computing Classification Scheme: "
  LatexName ccsdesc
  Font
    Family Typewriter
    Color textlabel1
    Shape Italic
  EndFont
  LabelFont
    Family Roman
  EndFont
  PassThru  1
End

Style Set_Copyright
  CopyStyle ACM_Journal
  LabelString "Set Copyright: "
  LatexName setcopyright
End

Style Copyright_Year
  CopyStyle ACM_Journal
  LabelString "Copyright Year: "
  LatexName copyrightyear
End

Style Teaser_Figure
  Category  FrontMatter
  Argument 1
    LabelString "Teaser Figure"
  EndArgument
  LatexType Environment
  LatexName teaserfigure
End

Style Received
  CopyStyle ACM_Journal
  Argument 1
    LabelString "Stage"
    Mandatory 0
  EndArgument
  LabelString "Received: "
  LatexName received
End

Style Abstract
  InTitle 1
End

Style ShortAuthors
  Category  FrontMatter
  Font
    Family Roman
  EndFont
  LatexType command
  InTitle 0
  LabelType Static
  LabelString "Short authors: "
  Margin Dynamic
  LabelFont
    Family Roman
    Color textlabel1
    Shape Italic
  EndFont
  Preamble
    \newcommand{\redefineshortauthors}[1]{\renewcommand{\shortauthors}{#1}}
  EndPreamble
  LatexName redefineshortauthors
End


OutlinerName sidebar    "Sidebar" #no AddToToc

Float
  Type                  sidebar
  GuiName               "Sidebar (sigchi-a only)"
  NumberWithin          none
  Style                 plain
  IsPredefined          true
  UsesFloatPkg          false
  RefPrefix             sidebar
End

Float
  Type                  marginfigure
  GuiName               "Margin figure (sigchi-a only)"
  NumberWithin          none
  Style                 plain
  IsPredefined          true
  Extension             lof
  ListName              "List of Figures"
  ListCommand           listoffigures
  UsesFloatPkg          false
  RefPrefix             mgfig
End

Float
  Type                  margintable
  GuiName               "Margin table (sigchi-a only)"
  NumberWithin          none
  Style                 plain
  IsPredefined          true
  Extension             lof
  ListName              "List of Tables"
  ListCommand           listoftables
  UsesFloatPkg          false
  RefPrefix             mgtab
End

OutlinerName thm "Definitions & Theorems"

Counter theorem
	GuiName Theorem
	Within                section
	RefFormat thm "Theorem|Theorems \arabic{theorem}"
	RefFormat cor "Corollary|Corollaries \arabic{theorem}"
	RefFormat lem "Lemma|Lemmas \arabic{theorem}"
	RefFormat prop "Proposition|Propositions \arabic{theorem}"
	RefFormat conj "Conjecture|Conjectures \arabic{theorem}"
	RefFormat def "Definition|Definitions \arabic{theorem}"
	RefFormat exa "Example|Examples \arabic{theorem}"
End

Style Theorem
	Category              Reasoning
	Margin                First_Dynamic
	LatexType             Environment
	LatexName             theorem
	NextNoIndent          1
	ResetArgs             1
	AddToToc              thm
	IsTocCaption          1
	Argument 1
		LabelString    "Additional Theorem Text"
		Tooltip        "Additional text appended to the theorem header"
		IsTocCaption      1
	EndArgument
	LabelSep              xx
	ParIndent             MMM
	ParSkip               0.4
	ItemSep               0.2
	TopSep                0.7
	BottomSep             0.7
	ParSep                0.3
	Align                 Block
	AlignPossible         Left
	LabelType             Static
	LabelCounter          theorem
	LabelString           "Theorem \thetheorem."
	Font
	  Shape               Italic
	  Size                Normal
	EndFont
	LabelFont
	  Shape               SmallCaps
	EndFont
End

Style Corollary
	CopyStyle             Theorem
	DependsOn             Theorem
	LatexName             corollary
	LabelString           "Corollary \thetheorem."
End

Style Lemma
	CopyStyle             Theorem
	DependsOn             Theorem
	LatexName             lemma
	LabelString           "Lemma \thetheorem."
End

Style Proposition
	CopyStyle             Theorem
	DependsOn             Theorem
	LatexName             proposition
	LabelString           "Proposition \thetheorem."
End

Style Conjecture
	CopyStyle             Theorem
	DependsOn             Theorem
	LatexName             conjecture
	LabelString           "Conjecture \thetheorem."
End

Style Definition
	CopyStyle             Theorem
	DependsOn             Theorem
	LatexName             definition
	LabelString           "Definition \thetheorem."
	Font
	  Shape               Up
	EndFont
	LabelFont
	  Shape  Italic
	  Series  Medium
	EndFont
End

Style Example
	CopyStyle             Definition
	LatexName             example
	LabelString           "Example \thetheorem."
End

InsetLayout Flex:Print_Only
  LyxType custom
  Decoration Classic
  Display true
  InToc true
  LatexName printonly
  LatexType Environment
  LabelString "Print version only"
End

InsetLayout Flex:Screen_Only
  CopyStyle Flex:Print_Only
  LatexName screenonly
  LabelString "Screen version only"
End

InsetLayout Flex:Anonymous_Suppression
  CopyStyle Flex:Print_Only
  LatexName anonsuppress
  LabelString "Non anonymous only"
End

Style Acknowledgments
  Category  BackMatter
  LatexName acks
  LatexType   Environment
  LabelString "Acknowledgments"
  LabelType Above
  TopSep                1.3
  LabelBottomSep        0.7
  Margin  Static
  LabelFont
    Series Bold
    Size Large
  EndFont
  DocBookTag            para
  DocBookWrapperTag     acknowledgements
  DocBookSection        true
End

InsetLayout Flex:Grant_Sponsor
  LyxType custom
  ContentAsLabel 1
  Decoration Conglomerate
  LabelString "Grant Sponsor"
  LatexName grantsponsor
  LatexType command
  Argument 1
    LabelString "Sponsor ID"
    Mandatory 1
    AutoInsert 1
  EndArgument
  Argument 2
    LabelString "Name"
    Mandatory 1
    AutoInsert 1
    Requires 1
  EndArgument
  Argument 3
    LabelString "URL"
    Mandatory 1
    AutoInsert 1
    Font
      Family  Typewriter
    EndFont
    Requires 2
  EndArgument
End

InsetLayout Flex:Grant_Number
  LyxType custom
  ContentAsLabel 1
  Decoration Conglomerate
  LabelString "Grant Number"
  LatexName grantnum
  LatexType command
  Argument 1
    LabelString "URL"
    Mandatory false
    Font
      Family  Typewriter
    EndFont
  EndArgument
  Argument 2
    LabelString "Sponsor ID"
    Mandatory true
    AutoInsert true
  EndArgument
End

Input theorems-case.inc
Input theorems-proof.inc
Input theorems-refprefix.inc