]> git.lyx.org Git - lyx.git/blob - lib/templates/acmart.lyx
Add acmart template
[lyx.git] / lib / templates / acmart.lyx
1 #LyX 2.3 created this file. For more info see http://www.lyx.org/
2 \lyxformat 542
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_number_before 0
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 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 .
497 \end_layout
498
499 \begin_layout Standard
500 \begin_inset Float algorithm
501 placement t
502 wide false
503 sideways false
504 status open
505
506 \begin_layout Algorithm
507 \begin_inset ERT
508 status open
509
510 \begin_layout Plain Layout
511
512
513 \backslash
514 SetAlgoNoLine
515 \end_layout
516
517 \end_inset
518
519
520 \end_layout
521
522 \begin_layout Algorithm
523 \begin_inset ERT
524 status open
525
526 \begin_layout Plain Layout
527
528
529 \backslash
530 KwData{
531 \end_layout
532
533 \end_inset
534
535 List 
536 \begin_inset Formula $L$
537 \end_inset
538
539  of all integers from 
540 \begin_inset Formula $2$
541 \end_inset
542
543  to 
544 \begin_inset Formula $N$
545 \end_inset
546
547 .
548 \begin_inset ERT
549 status open
550
551 \begin_layout Plain Layout
552
553 }
554 \end_layout
555
556 \end_inset
557
558
559 \end_layout
560
561 \begin_layout Algorithm
562 \noindent
563 \begin_inset ERT
564 status open
565
566 \begin_layout Plain Layout
567
568
569 \backslash
570 KwResult{
571 \end_layout
572
573 \end_inset
574
575 List 
576 \begin_inset Formula $P$
577 \end_inset
578
579  of prime numbers between 
580 \begin_inset Formula $2$
581 \end_inset
582
583  and 
584 \begin_inset Formula $N$
585 \end_inset
586
587 .
588 \begin_inset ERT
589 status open
590
591 \begin_layout Plain Layout
592
593 }
594 \end_layout
595
596 \end_inset
597
598
599 \end_layout
600
601 \begin_layout Algorithm
602 \begin_inset ERT
603 status open
604
605 \begin_layout Plain Layout
606
607
608 \backslash
609 BlankLine
610 \end_layout
611
612 \end_inset
613
614
615 \end_layout
616
617 \begin_layout Algorithm
618 \begin_inset ERT
619 status open
620
621 \begin_layout Plain Layout
622
623
624 \backslash
625 For{
626 \end_layout
627
628 \end_inset
629
630
631 \begin_inset Formula $i=2$
632 \end_inset
633
634  
635 \begin_inset ERT
636 status open
637
638 \begin_layout Plain Layout
639
640
641 \backslash
642 KwTo
643 \end_layout
644
645 \end_inset
646
647  
648 \begin_inset Formula $N$
649 \end_inset
650
651
652 \begin_inset ERT
653 status open
654
655 \begin_layout Plain Layout
656
657 }{
658 \end_layout
659
660 \end_inset
661
662
663 \end_layout
664
665 \begin_deeper
666 \begin_layout Algorithm
667 \begin_inset ERT
668 status open
669
670 \begin_layout Plain Layout
671
672
673 \backslash
674 If{
675 \end_layout
676
677 \end_inset
678
679
680 \begin_inset Formula $i$
681 \end_inset
682
683  is not crossed-out in the list 
684 \begin_inset Formula $L$
685 \end_inset
686
687
688 \begin_inset ERT
689 status open
690
691 \begin_layout Plain Layout
692
693 }{
694 \end_layout
695
696 \end_inset
697
698
699 \end_layout
700
701 \begin_deeper
702 \begin_layout Algorithm
703 Cross-out in the list 
704 \begin_inset Formula $L$
705 \end_inset
706
707  its multiples 
708 \begin_inset Formula $ki$
709 \end_inset
710
711  for all 
712 \begin_inset Formula $k\geq2$
713 \end_inset
714
715 .
716 \end_layout
717
718 \end_deeper
719 \begin_layout Algorithm
720 \begin_inset ERT
721 status open
722
723 \begin_layout Plain Layout
724
725 }
726 \end_layout
727
728 \end_inset
729
730
731 \end_layout
732
733 \end_deeper
734 \begin_layout Algorithm
735 \begin_inset ERT
736 status open
737
738 \begin_layout Plain Layout
739
740 }
741 \end_layout
742
743 \end_inset
744
745
746 \end_layout
747
748 \begin_layout Algorithm
749 \begin_inset ERT
750 status open
751
752 \begin_layout Plain Layout
753
754
755 \backslash
756 Return{
757 \end_layout
758
759 \end_inset
760
761 The list 
762 \begin_inset Formula $P$
763 \end_inset
764
765  of integers in 
766 \begin_inset Formula $L$
767 \end_inset
768
769  that are not crossed-out.
770 \begin_inset ERT
771 status open
772
773 \begin_layout Plain Layout
774
775 }
776 \end_layout
777
778 \end_inset
779
780
781 \end_layout
782
783 \begin_layout Plain Layout
784 \begin_inset Caption Standard
785
786 \begin_layout Plain Layout
787 Sieve of Eratosthenes
788 \end_layout
789
790 \end_inset
791
792
793 \begin_inset CommandInset label
794 LatexCommand label
795 name "alg:one"
796
797 \end_inset
798
799
800 \end_layout
801
802 \end_inset
803
804
805 \end_layout
806
807 \begin_layout Standard
808 See Figure
809 \begin_inset space ~
810 \end_inset
811
812
813 \begin_inset CommandInset ref
814 LatexCommand ref
815 reference "fig:one"
816 plural "false"
817 caps "false"
818 noprefix "false"
819
820 \end_inset
821
822 .
823 \begin_inset Float figure
824 wide false
825 sideways false
826 status open
827
828 \begin_layout Plain Layout
829 \begin_inset Graphics
830         filename ../doc/clipart/platypus.eps
831         width 4cm
832
833 \end_inset
834
835
836 \begin_inset Caption Standard
837
838 \begin_layout Plain Layout
839 Figure.
840 \end_layout
841
842 \end_inset
843
844
845 \begin_inset CommandInset label
846 LatexCommand label
847 name "fig:one"
848
849 \end_inset
850
851  
852 \end_layout
853
854 \end_inset
855
856
857 \end_layout
858
859 \begin_layout Section
860 Conclusions
861 \end_layout
862
863 \begin_layout Standard
864 Conclusion.
865 \end_layout
866
867 \begin_layout Standard
868 \begin_inset Note Note
869 status open
870
871 \begin_layout Plain Layout
872 Start of "Sample References" section
873 \end_layout
874
875 \end_inset
876
877
878 \end_layout
879
880 \begin_layout Section
881 \start_of_appendix
882 Appendix
883 \end_layout
884
885 \begin_layout Standard
886 \begin_inset Flex Print Only
887 status open
888
889 \begin_layout Plain Layout
890 See the supplementary materials in the online version
891 \end_layout
892
893 \end_inset
894
895
896 \end_layout
897
898 \begin_layout Standard
899 \begin_inset Flex Screen Only
900 status open
901
902 \begin_layout Subsection
903 Supplementary material 1
904 \end_layout
905
906 \begin_layout Plain Layout
907 Material.
908 \end_layout
909
910 \end_inset
911
912
913 \end_layout
914
915 \begin_layout Acknowledgments
916 The authors would like to thank...
917 \end_layout
918
919 \begin_layout Acknowledgments
920 The work is supported by the 
921 \begin_inset Flex Grant Sponsor
922 status open
923
924 \begin_layout Plain Layout
925 \begin_inset Argument 1
926 status open
927
928 \begin_layout Plain Layout
929 Sponsor ID
930 \end_layout
931
932 \end_inset
933
934
935 \begin_inset Argument 2
936 status open
937
938 \begin_layout Plain Layout
939 Sponsor Name
940 \end_layout
941
942 \end_inset
943
944
945 \begin_inset Argument 3
946 status open
947
948 \begin_layout Plain Layout
949 http://www.example.com
950 \end_layout
951
952 \end_inset
953
954
955 \end_layout
956
957 \end_inset
958
959  under Grant No.:
960 \begin_inset space ~
961 \end_inset
962
963
964 \begin_inset Flex Grant Number
965 status open
966
967 \begin_layout Plain Layout
968 \begin_inset Argument 2
969 status open
970
971 \begin_layout Plain Layout
972 Sponsor ID
973 \end_layout
974
975 \end_inset
976
977 1234567
978 \end_layout
979
980 \end_inset
981
982 .
983 \end_layout
984
985 \begin_layout Standard
986 \begin_inset Note Note
987 status open
988
989 \begin_layout Plain Layout
990 Bibliography
991 \end_layout
992
993 \begin_layout Plain Layout
994 \begin_inset CommandInset bibtex
995 LatexCommand bibtex
996 btprint "btPrintCited"
997 bibfiles "references"
998 options "ACM-Reference-Format"
999
1000 \end_inset
1001
1002
1003 \end_layout
1004
1005 \end_inset
1006
1007
1008 \end_layout
1009
1010 \end_body
1011 \end_document