]> git.lyx.org Git - lyx.git/blob - lib/templates/acmart.lyx
templates/acmart.lyx: Small improvements
[lyx.git] / lib / templates / acmart.lyx
1 #LyX 2.3 created this file. For more info see http://www.lyx.org/
2 \lyxformat 543
3 \begin_document
4 \begin_header
5 \save_transient_properties true
6 \origin /systemlyxdir/templates/
7 \textclass acmart
8 \begin_preamble
9 % For algorithm2e
10 \renewcommand{\algorithmcfname}{ALGORITHM}
11 \SetAlFnt{\small}
12 \SetAlCapFnt{\small}
13 \SetAlCapNameFnt{\small}
14 \SetAlCapHSkip{0pt}
15 \IncMargin{-\parindent}
16 \end_preamble
17 \options format=acmsmall, review=false, screen=true
18 \use_default_options false
19 \begin_modules
20 InStar
21 algorithm2e
22 \end_modules
23 \maintain_unincluded_children false
24 \begin_local_layout
25 Format 60
26 PackageOptions algorithm2e ruled
27 \end_local_layout
28 \language english
29 \language_package auto
30 \inputencoding auto
31 \fontencoding global
32 \font_roman "default" "default"
33 \font_sans "default" "default"
34 \font_typewriter "default" "default"
35 \font_math "auto" "auto"
36 \font_default_family default
37 \use_non_tex_fonts false
38 \font_sc false
39 \font_osf false
40 \font_sf_scale 100 100
41 \font_tt_scale 100 100
42 \use_microtype false
43 \use_dash_ligatures true
44 \graphics default
45 \default_output_format default
46 \output_sync 0
47 \bibtex_command default
48 \index_command default
49 \paperfontsize default
50 \spacing single
51 \use_hyperref false
52 \papersize default
53 \use_geometry true
54 \use_package amsmath 1
55 \use_package amssymb 1
56 \use_package cancel 1
57 \use_package esint 1
58 \use_package mathdots 1
59 \use_package mathtools 1
60 \use_package mhchem 1
61 \use_package stackrel 1
62 \use_package stmaryrd 1
63 \use_package undertilde 1
64 \cite_engine natbib
65 \cite_engine_type numerical
66 \biblio_style plainnat
67 \use_bibtopic false
68 \use_indices false
69 \paperorientation portrait
70 \suppress_date false
71 \justification true
72 \use_refstyle 1
73 \index Index
74 \shortcut idx
75 \color #008000
76 \end_index
77 \secnumdepth 3
78 \tocdepth 3
79 \paragraph_separation indent
80 \paragraph_indentation default
81 \is_math_indent 0
82 \math_numbering_side default
83 \quotes_style english
84 \dynamic_quotes 0
85 \papercolumns 1
86 \papersides 1
87 \paperpagestyle default
88 \tracking_changes false
89 \output_changes false
90 \html_math_output 0
91 \html_css_as_file 0
92 \html_be_strict false
93 \end_header
94
95 \begin_body
96
97 \begin_layout In Preamble
98 \begin_inset Note Note
99 status open
100
101 \begin_layout Plain Layout
102 Metadata information:
103 \end_layout
104
105 \end_inset
106
107
108 \end_layout
109
110 \begin_layout ACM Journal
111 JACM
112 \end_layout
113
114 \begin_layout ACM Volume
115 1
116 \end_layout
117
118 \begin_layout ACM Number
119 1
120 \end_layout
121
122 \begin_layout ACM Article
123 1
124 \end_layout
125
126 \begin_layout ACM Year
127 2017
128 \end_layout
129
130 \begin_layout ACM Month
131 1
132 \end_layout
133
134 \begin_layout Copyright Year
135 2017
136 \end_layout
137
138 \begin_layout Set Copyright
139 acmlicensed
140 \begin_inset Note Note
141 status open
142
143 \begin_layout Plain Layout
144 acmcopyright,rightsretained,usgov,usgovmixed,cagov,cagovmixed
145 \end_layout
146
147 \end_inset
148
149
150 \end_layout
151
152 \begin_layout ACM DOI
153 0000001.0000001
154 \end_layout
155
156 \begin_layout In Preamble
157 \begin_inset Note Note
158 status open
159
160 \begin_layout Plain Layout
161 Paper history:
162 \end_layout
163
164 \end_inset
165
166
167 \end_layout
168
169 \begin_layout Received
170 January 2017
171 \end_layout
172
173 \begin_layout Received
174 \begin_inset Argument 1
175 status open
176
177 \begin_layout Plain Layout
178 revised
179 \end_layout
180
181 \end_inset
182
183 January 2017
184 \end_layout
185
186 \begin_layout Received
187 \begin_inset Argument 1
188 status open
189
190 \begin_layout Plain Layout
191 accepted
192 \end_layout
193
194 \end_inset
195
196 January 2017 
197 \end_layout
198
199 \begin_layout In Title
200 \begin_inset Note Note
201 status open
202
203 \begin_layout Plain Layout
204 Title portion.
205  Note the short title for running heads
206 \end_layout
207
208 \end_inset
209
210
211 \end_layout
212
213 \begin_layout Title
214 \begin_inset Argument 1
215 status open
216
217 \begin_layout Plain Layout
218 Short Title
219 \end_layout
220
221 \end_inset
222
223 Example ACM Article
224 \end_layout
225
226 \begin_layout Author
227 Author A.
228  Name
229 \end_layout
230
231 \begin_layout ORCID
232 1234-5678-9012-3456
233 \end_layout
234
235 \begin_layout Affiliation
236 \begin_inset Flex Institution
237 status open
238
239 \begin_layout Plain Layout
240 Institution
241 \end_layout
242
243 \end_inset
244
245
246 \begin_inset Flex Street Address
247 status open
248
249 \begin_layout Plain Layout
250 101 Street Address
251 \end_layout
252
253 \end_inset
254
255
256 \begin_inset Flex City
257 status open
258
259 \begin_layout Plain Layout
260 City
261 \end_layout
262
263 \end_inset
264
265
266 \begin_inset Flex State
267 status open
268
269 \begin_layout Plain Layout
270 ST
271 \end_layout
272
273 \end_inset
274
275
276 \begin_inset Flex Postal Code
277 status open
278
279 \begin_layout Plain Layout
280 12345
281 \end_layout
282
283 \end_inset
284
285
286 \begin_inset Flex Country
287 status open
288
289 \begin_layout Plain Layout
290 USA
291 \end_layout
292
293 \end_inset
294
295
296 \end_layout
297
298 \begin_layout Author
299 Author B.
300  Name
301 \end_layout
302
303 \begin_layout Author
304 Author C.
305  Name
306 \end_layout
307
308 \begin_layout Affiliation
309 \begin_inset Flex Institution
310 status open
311
312 \begin_layout Plain Layout
313 Institution 2
314 \end_layout
315
316 \end_inset
317
318
319 \begin_inset Flex Street Address
320 status open
321
322 \begin_layout Plain Layout
323 101 Street Address
324 \end_layout
325
326 \end_inset
327
328
329 \begin_inset Flex City
330 status open
331
332 \begin_layout Plain Layout
333 City
334 \end_layout
335
336 \end_inset
337
338
339 \begin_inset Flex State
340 status open
341
342 \begin_layout Plain Layout
343 ST
344 \end_layout
345
346 \end_inset
347
348
349 \begin_inset Flex Postal Code
350 status open
351
352 \begin_layout Plain Layout
353 12345
354 \end_layout
355
356 \end_inset
357
358
359 \begin_inset Flex Country
360 status open
361
362 \begin_layout Plain Layout
363 USA
364 \end_layout
365
366 \end_inset
367
368
369 \end_layout
370
371 \begin_layout Abstract
372 Abstract here.
373 \end_layout
374
375 \begin_layout In Title
376 \begin_inset Note Note
377 status open
378
379 \begin_layout Plain Layout
380 The code below should be generated by the tool at http://dl.acm.org/ccs.cfm:
381 \end_layout
382
383 \end_inset
384
385
386 \end_layout
387
388 \begin_layout CCSXML
389
390 <ccs2012>
391 \end_layout
392
393 \begin_layout CCSXML
394
395         <concept>
396 \end_layout
397
398 \begin_layout CCSXML
399
400                 <concept_id>10003752.10003777.10003778</concept_id>
401 \end_layout
402
403 \begin_layout CCSXML
404
405                 <concept_desc>Theory of computation~Complexity classes</concept_desc>
406 \end_layout
407
408 \begin_layout CCSXML
409
410                 <concept_significance>500</concept_significance>
411 \end_layout
412
413 \begin_layout CCSXML
414
415         </concept>
416 \end_layout
417
418 \begin_layout CCSXML
419
420 </ccs2012>
421 \end_layout
422
423 \begin_layout CCS Description
424
425 \begin_inset Argument 1
426 status open
427
428 \begin_layout Plain Layout
429 500
430 \end_layout
431
432 \end_inset
433
434 Theory of computation~Complexity classes
435 \end_layout
436
437 \begin_layout Keywords
438 Keyword 1, Keyword 2
439 \end_layout
440
441 \begin_layout Thanks
442 This work is supported by...
443 \end_layout
444
445 \begin_layout Standard
446 \begin_inset Note Note
447 status open
448
449 \begin_layout Plain Layout
450 When the default list of authors is too long for headers.
451  The following must be placed after 
452 \family typewriter
453
454 \backslash
455 maketitle
456 \end_layout
457
458 \end_inset
459
460
461 \end_layout
462
463 \begin_layout ShortAuthors
464 A.
465  A.
466  Name et al.
467 \end_layout
468
469 \begin_layout Section
470 Introduction
471 \end_layout
472
473 \begin_layout Standard
474 Introduction
475 \end_layout
476
477 \begin_layout Section
478 Section
479 \end_layout
480
481 \begin_layout Standard
482 See Algorithm
483 \begin_inset space ~
484 \end_inset
485
486
487 \begin_inset CommandInset ref
488 LatexCommand ref
489 reference "alg:one"
490 plural "false"
491 caps "false"
492 noprefix "false"
493
494 \end_inset
495
496 , Figure
497 \begin_inset space ~
498 \end_inset
499
500
501 \begin_inset CommandInset ref
502 LatexCommand ref
503 reference "fig:one"
504 plural "false"
505 caps "false"
506 noprefix "false"
507
508 \end_inset
509
510 , and Table
511 \begin_inset space ~
512 \end_inset
513
514
515 \begin_inset CommandInset ref
516 LatexCommand ref
517 reference "tab:one"
518
519 \end_inset
520
521 .
522 \end_layout
523
524 \begin_layout Standard
525 \begin_inset Float algorithm
526 placement t
527 wide false
528 sideways false
529 status open
530
531 \begin_layout Algorithm
532 \begin_inset ERT
533 status open
534
535 \begin_layout Plain Layout
536
537
538 \backslash
539 SetAlgoNoLine
540 \end_layout
541
542 \end_inset
543
544
545 \end_layout
546
547 \begin_layout Algorithm
548 \begin_inset ERT
549 status open
550
551 \begin_layout Plain Layout
552
553
554 \backslash
555 KwData{
556 \end_layout
557
558 \end_inset
559
560 List 
561 \begin_inset Formula $L$
562 \end_inset
563
564  of all integers from 
565 \begin_inset Formula $2$
566 \end_inset
567
568  to 
569 \begin_inset Formula $N$
570 \end_inset
571
572 .
573 \begin_inset ERT
574 status open
575
576 \begin_layout Plain Layout
577
578 }
579 \end_layout
580
581 \end_inset
582
583
584 \end_layout
585
586 \begin_layout Algorithm
587 \noindent
588 \begin_inset ERT
589 status open
590
591 \begin_layout Plain Layout
592
593
594 \backslash
595 KwResult{
596 \end_layout
597
598 \end_inset
599
600 List 
601 \begin_inset Formula $P$
602 \end_inset
603
604  of prime numbers between 
605 \begin_inset Formula $2$
606 \end_inset
607
608  and 
609 \begin_inset Formula $N$
610 \end_inset
611
612 .
613 \begin_inset ERT
614 status open
615
616 \begin_layout Plain Layout
617
618 }
619 \end_layout
620
621 \end_inset
622
623
624 \end_layout
625
626 \begin_layout Algorithm
627 \begin_inset ERT
628 status open
629
630 \begin_layout Plain Layout
631
632
633 \backslash
634 BlankLine
635 \end_layout
636
637 \end_inset
638
639
640 \end_layout
641
642 \begin_layout Algorithm
643 \begin_inset ERT
644 status open
645
646 \begin_layout Plain Layout
647
648
649 \backslash
650 For{
651 \end_layout
652
653 \end_inset
654
655
656 \begin_inset Formula $i=2$
657 \end_inset
658
659  
660 \begin_inset ERT
661 status open
662
663 \begin_layout Plain Layout
664
665
666 \backslash
667 KwTo
668 \end_layout
669
670 \end_inset
671
672  
673 \begin_inset Formula $N$
674 \end_inset
675
676
677 \begin_inset ERT
678 status open
679
680 \begin_layout Plain Layout
681
682 }{
683 \end_layout
684
685 \end_inset
686
687
688 \end_layout
689
690 \begin_deeper
691 \begin_layout Algorithm
692 \begin_inset ERT
693 status open
694
695 \begin_layout Plain Layout
696
697
698 \backslash
699 If{
700 \end_layout
701
702 \end_inset
703
704
705 \begin_inset Formula $i$
706 \end_inset
707
708  is not crossed-out in the list 
709 \begin_inset Formula $L$
710 \end_inset
711
712
713 \begin_inset ERT
714 status open
715
716 \begin_layout Plain Layout
717
718 }{
719 \end_layout
720
721 \end_inset
722
723
724 \end_layout
725
726 \begin_deeper
727 \begin_layout Algorithm
728 Cross-out in the list 
729 \begin_inset Formula $L$
730 \end_inset
731
732  its multiples 
733 \begin_inset Formula $ki$
734 \end_inset
735
736  for all 
737 \begin_inset Formula $k\geq2$
738 \end_inset
739
740 .
741 \end_layout
742
743 \end_deeper
744 \begin_layout Algorithm
745 \begin_inset ERT
746 status open
747
748 \begin_layout Plain Layout
749
750 }
751 \end_layout
752
753 \end_inset
754
755
756 \end_layout
757
758 \end_deeper
759 \begin_layout Algorithm
760 \begin_inset ERT
761 status open
762
763 \begin_layout Plain Layout
764
765 }
766 \end_layout
767
768 \end_inset
769
770
771 \end_layout
772
773 \begin_layout Algorithm
774 \begin_inset ERT
775 status open
776
777 \begin_layout Plain Layout
778
779
780 \backslash
781 Return{
782 \end_layout
783
784 \end_inset
785
786 The list 
787 \begin_inset Formula $P$
788 \end_inset
789
790  of integers in 
791 \begin_inset Formula $L$
792 \end_inset
793
794  that are not crossed-out.
795 \begin_inset ERT
796 status open
797
798 \begin_layout Plain Layout
799
800 }
801 \end_layout
802
803 \end_inset
804
805
806 \end_layout
807
808 \begin_layout Plain Layout
809 \begin_inset Caption Standard
810
811 \begin_layout Plain Layout
812 \begin_inset CommandInset label
813 LatexCommand label
814 name "alg:one"
815
816 \end_inset
817
818 Sieve of Eratosthenes.
819 \end_layout
820
821 \end_inset
822
823
824 \end_layout
825
826 \end_inset
827
828
829 \end_layout
830
831 \begin_layout Standard
832 \begin_inset Float figure
833 wide false
834 sideways false
835 status open
836
837 \begin_layout Plain Layout
838 \begin_inset Graphics
839         filename ../doc/clipart/platypus.eps
840         width 4cm
841
842 \end_inset
843
844
845 \begin_inset Caption Standard
846
847 \begin_layout Plain Layout
848 \begin_inset CommandInset label
849 LatexCommand label
850 name "fig:one"
851
852 \end_inset
853
854 Figure.
855 \end_layout
856
857 \end_inset
858
859
860 \end_layout
861
862 \end_inset
863
864
865 \end_layout
866
867 \begin_layout Standard
868 \begin_inset Float table
869 wide false
870 sideways false
871 status open
872
873 \begin_layout Plain Layout
874 \begin_inset Caption Standard
875
876 \begin_layout Plain Layout
877 \begin_inset CommandInset label
878 LatexCommand label
879 name "tab:one"
880
881 \end_inset
882
883
884 \emph on
885 Booktabs
886 \emph default
887  recommendations.
888 \end_layout
889
890 \end_inset
891
892
893 \end_layout
894
895 \begin_layout Plain Layout
896 \begin_inset Tabular
897 <lyxtabular version="3" rows="5" columns="2">
898 <features booktabs="true" tabularvalignment="middle">
899 <column alignment="left" valignment="top" width="0pt">
900 <column alignment="left" valignment="top" width="0pt">
901 <row>
902 <cell alignment="left" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
903 \begin_inset Text
904
905 \begin_layout Plain Layout
906
907 \end_layout
908
909 \end_inset
910 </cell>
911 <cell alignment="left" valignment="top" topline="true" usebox="none">
912 \begin_inset Text
913
914 \begin_layout Plain Layout
915 Recommendation
916 \end_layout
917
918 \end_inset
919 </cell>
920 </row>
921 <row>
922 <cell alignment="left" valignment="top" topline="true" usebox="none">
923 \begin_inset Text
924
925 \begin_layout Plain Layout
926 Caption
927 \end_layout
928
929 \end_inset
930 </cell>
931 <cell alignment="left" valignment="top" topline="true" usebox="none">
932 \begin_inset Text
933
934 \begin_layout Plain Layout
935 Above (for tables only)
936 \end_layout
937
938 \end_inset
939 </cell>
940 </row>
941 <row>
942 <cell alignment="left" valignment="top" usebox="none">
943 \begin_inset Text
944
945 \begin_layout Plain Layout
946 Horizontal rules
947 \end_layout
948
949 \end_inset
950 </cell>
951 <cell alignment="left" valignment="top" usebox="none">
952 \begin_inset Text
953
954 \begin_layout Plain Layout
955 Do not overuse
956 \end_layout
957
958 \end_inset
959 </cell>
960 </row>
961 <row>
962 <cell alignment="center" valignment="top" usebox="none">
963 \begin_inset Text
964
965 \begin_layout Plain Layout
966 Double rules
967 \end_layout
968
969 \end_inset
970 </cell>
971 <cell alignment="center" valignment="top" usebox="none">
972 \begin_inset Text
973
974 \begin_layout Plain Layout
975 Never
976 \end_layout
977
978 \end_inset
979 </cell>
980 </row>
981 <row>
982 <cell alignment="left" valignment="top" bottomline="true" usebox="none">
983 \begin_inset Text
984
985 \begin_layout Plain Layout
986 Vertical rules
987 \end_layout
988
989 \end_inset
990 </cell>
991 <cell alignment="left" valignment="top" bottomline="true" usebox="none">
992 \begin_inset Text
993
994 \begin_layout Plain Layout
995 Never, ever
996 \end_layout
997
998 \end_inset
999 </cell>
1000 </row>
1001 </lyxtabular>
1002
1003 \end_inset
1004
1005
1006 \end_layout
1007
1008 \end_inset
1009
1010
1011 \end_layout
1012
1013 \begin_layout Section
1014 Conclusions
1015 \end_layout
1016
1017 \begin_layout Standard
1018 Conclusion.
1019 \end_layout
1020
1021 \begin_layout Section
1022 \start_of_appendix
1023 Appendix
1024 \end_layout
1025
1026 \begin_layout Standard
1027 \begin_inset Flex Print Only
1028 status open
1029
1030 \begin_layout Plain Layout
1031 See the supplementary materials in the online version
1032 \end_layout
1033
1034 \end_inset
1035
1036
1037 \end_layout
1038
1039 \begin_layout Standard
1040 \begin_inset Flex Screen Only
1041 status open
1042
1043 \begin_layout Subsection
1044 Supplementary material 1
1045 \end_layout
1046
1047 \begin_layout Plain Layout
1048 Material.
1049 \end_layout
1050
1051 \end_inset
1052
1053
1054 \end_layout
1055
1056 \begin_layout Acknowledgments
1057 The authors would like to thank...
1058 \end_layout
1059
1060 \begin_layout Acknowledgments
1061 The work is supported by the 
1062 \begin_inset Flex Grant Sponsor
1063 status open
1064
1065 \begin_layout Plain Layout
1066 \begin_inset Argument 1
1067 status open
1068
1069 \begin_layout Plain Layout
1070 Sponsor ID
1071 \end_layout
1072
1073 \end_inset
1074
1075
1076 \begin_inset Argument 2
1077 status open
1078
1079 \begin_layout Plain Layout
1080 Sponsor Name
1081 \end_layout
1082
1083 \end_inset
1084
1085
1086 \begin_inset Argument 3
1087 status open
1088
1089 \begin_layout Plain Layout
1090 http://www.example.com
1091 \end_layout
1092
1093 \end_inset
1094
1095
1096 \end_layout
1097
1098 \end_inset
1099
1100  under Grant No.:
1101 \begin_inset space ~
1102 \end_inset
1103
1104
1105 \begin_inset Flex Grant Number
1106 status open
1107
1108 \begin_layout Plain Layout
1109 \begin_inset Argument 2
1110 status open
1111
1112 \begin_layout Plain Layout
1113 Sponsor ID
1114 \end_layout
1115
1116 \end_inset
1117
1118 1234567
1119 \end_layout
1120
1121 \end_inset
1122
1123 .
1124 \end_layout
1125
1126 \begin_layout Standard
1127 \begin_inset Note Note
1128 status open
1129
1130 \begin_layout Plain Layout
1131 Bibliography
1132 \end_layout
1133
1134 \begin_layout Plain Layout
1135 \begin_inset CommandInset bibtex
1136 LatexCommand bibtex
1137 btprint "btPrintCited"
1138 bibfiles "references"
1139 options "ACM-Reference-Format"
1140
1141 \end_inset
1142
1143
1144 \end_layout
1145
1146 \end_inset
1147
1148
1149 \end_layout
1150
1151 \end_body
1152 \end_document