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