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