Debian Codegraph @

texmf-dist/doc/latex/acmart/samples/samples.dtx

raw
1 %<*all>
2 %%
3 %%
4 %% Commands for TeXCount
5 %<<TCMACROS
6 %TC:macro \cite [option:text,text]
7 %TC:macro \citep [option:text,text]
8 %TC:macro \citet [option:text,text]
9 %TC:envir table 0 1
10 %TC:envir table* 0 1
11 %TC:envir tabular [ignore] word
12 %TC:envir displaymath 0 word
13 %TC:envir math 0 word
14 %TC:envir comment 0 0
15 %TCMACROS
16 %%
17 %</all>
18 %<*tagged>
19 %% The tagged file should start with the metadata commands.
20 %% We also need currently use lualatex-dev for compilation!
21 \ifx\HCode\Undef
22 \DocumentMetadata{
23 pdfversion=2.0,pdfstandard=ua-2,
24 testphase={phase-III,firstaid,math,title}}
25 \else
26 \DocumentMetadata{}
27 \fi
28 %</tagged>
29 %<*all>
30 %% The first command in your LaTeX source must be the \documentclass
31 %% command.
32 %%
33 %% For submission and review of your manuscript please change the
34 %% command to \documentclass[manuscript, screen, review]{acmart}.
35 %%
36 %% When submitting camera ready or to TAPS, please change the command
37 %% to \documentclass[sigconf]{acmart} or whichever template is required
38 %% for your publication.
39 %%
40 %%
41 %<manuscript>\documentclass[manuscript,screen,review]{acmart}
42 %<acmsmall&!tagged>\documentclass[acmsmall]{acmart}
43 %<acmsmall-conf>\documentclass[acmsmall]{acmart}
44 %<acmsmall-biblatex>\documentclass[acmsmall,natbib=false]{acmart}
45 %<acmsmall-submission>\documentclass[acmsmall,screen,review]{acmart}
46 %<acmlarge>\documentclass[acmlarge]{acmart}
47 %<acmtog|acmtog-conf>\documentclass[acmtog]{acmart}
48 %<sigconf>\documentclass[sigconf]{acmart}
49 %<sigconf-biblatex>\documentclass[sigconf,natbib=false]{acmart}
50 %<authordraft>\documentclass[sigconf,authordraft]{acmart}
51 %<sigplan>\documentclass[sigplan,screen]{acmart}
52 %<sigchi>\documentclass[sigchi]{acmart}
53 %<sigchi-a>\documentclass[sigchi-a, nonacm]{acmart}
54 %<sigconf-i13n>\documentclass[sigconf, language=french,
55 %<sigconf-i13n>language=german, language=spanish, language=english]{acmart}
56 %<acmcp>\documentclass[acmcp]{acmart}
57 %<acmsmall&tagged>\documentclass[acmsmall]{acmart-tagged}
58 %%
59 %% \BibTeX command to typeset BibTeX logo in the docs
60 \AtBeginDocument{%
61 \providecommand\BibTeX{{%
62 Bib\TeX}}}
63
64 %% Rights management information. This information is sent to you
65 %% when you complete the rights form. These commands have SAMPLE
66 %% values in them; it is your responsibility as an author to replace
67 %% the commands and values with those provided to you when you
68 %% complete the rights form.
69 %
70 \setcopyright{acmlicensed}
71 \copyrightyear{2018}
72 \acmYear{2018}
73 \acmDOI{XXXXXXX.XXXXXXX}
74 %</all>
75 %<*proceedings>
76 %% These commands are for a PROCEEDINGS abstract or paper.
77 \acmConference[Conference acronym 'XX]{Make sure to enter the correct
78 conference title from your rights confirmation email}{June 03--05,
79 2018}{Woodstock, NY}
80 %%
81 %% Uncomment \acmBooktitle if the title of the proceedings is different
82 %% from ``Proceedings of ...''!
83 %%
84 %%\acmBooktitle{Woodstock '18: ACM Symposium on Neural Gaze Detection,
85 %% June 03--05, 2018, Woodstock, NY}
86 \acmISBN{978-1-4503-XXXX-X/2018/06}
87 %</proceedings>
88
89 %<*journal>
90 %%
91 %% These commands are for a JOURNAL article.
92 %<acmsmall|acmsmall-submission|acmsmall-biblatex>\acmJournal{JACM}
93 %<acmlarge>\acmJournal{POMACS}
94 %<acmtog>\acmJournal{TOG}
95 %<acmtog-conf>%\acmJournal{TOG} % Comment out journal to get conference info in bibstrip.
96 %<acmcp>\acmJournal{JDS}
97 \acmVolume{37}
98 \acmNumber{4}
99 \acmArticle{111}
100 \acmMonth{8}
101 %</journal>
102 %<*all>
103
104
105 %%
106 %% Submission ID.
107 %% Use this when submitting an article to a sponsored event. You'll
108 %% receive a unique submission ID from the organizers
109 %% of the event, and this ID should be used as the parameter to this command.
110 %%\acmSubmissionID{123-A56-BU3}
111 %</all>
112
113 %<*!acmcp>
114 %%
115 %% For managing citations, it is recommended to use bibliography
116 %% files in BibTeX format.
117 %%
118 %% You can then either use BibTeX with the ACM-Reference-Format style,
119 %% or BibLaTeX with the acmnumeric or acmauthoryear sytles, that include
120 %% support for advanced citation of software artefact from the
121 %% biblatex-software package, also separately available on CTAN.
122 %%
123 %% Look at the sample-*-biblatex.tex files for templates showcasing
124 %% the biblatex styles.
125 %%
126 %</!acmcp>
127
128 %<*bibtex>
129 %%
130 %% The majority of ACM publications use numbered citations and
131 %% references. The command \citestyle{authoryear} switches to the
132 %% "author year" style.
133 %%
134 %% If you are preparing content for an event
135 %% sponsored by ACM SIGGRAPH, you must use the "author year" style of
136 %% citations and references.
137 %<!(acmtog|acmtog-conf)>%% Uncommenting
138 %<!(acmtog|acmtog-conf)>%% the next command will enable that style.
139 %<!(acmtog|acmtog-conf)>%%\citestyle{acmauthoryear}
140 %<acmtog|acmtog-conf>\citestyle{acmauthoryear}
141 %</bibtex>
142
143 %<*acmsmall-biblatex|sigconf-biblatex>
144 %%
145 %% The majority of ACM publications use numbered citations and
146 %% references, obtained by selecting the acmnumeric BibLaTeX style.
147 %% The acmauthoryear BibLaTeX style switches to the "author year" style.
148 %%
149 %% If you are preparing content for an event
150 %% sponsored by ACM SIGGRAPH, you must use the acmauthoryear style of
151 %% citations and references.
152 %%
153 %% Bibliography style
154 \RequirePackage[
155 datamodel=acmdatamodel,
156 %<!acmsmall-biblatex> style=acmnumeric,
157 %<acmsmall-biblatex> style=acmauthoryear,
158 ]{biblatex}
159
160 %% Declare bibliography sources (one \addbibresource command per source)
161 \addbibresource{software.bib}
162 \addbibresource{sample-base.bib}
163 %</acmsmall-biblatex|sigconf-biblatex>
164 %<*all>
165
166 %%
167 %% end of the preamble, start of the body of the document source.
168 \begin{document}
169
170 %%
171 %% The "title" command has an optional parameter,
172 %% allowing the author to define a "short title" to be used in page headers.
173 \title{The Name of the Title Is Hope}
174 %<sigconf-i13n>\translatedtitle{french}{Le nom du titre est l'espoir}
175 %<sigconf-i13n>\translatedtitle{german}{Der Name des Titels ist 'Hoffnung'}
176 %<sigconf-i13n>\translatedtitle{spanish}{El nombre del título es esperanza}
177
178 %%
179 %% The "author" command and its associated commands are used to define
180 %% the authors and their affiliations.
181 %% Of note is the shared affiliation of the first two authors, and the
182 %% "authornote" and "authornotemark" commands
183 %% used to denote shared contribution to the research.
184 \author{Ben Trovato}
185 %<!acmcp>\authornote{Both authors contributed equally to this research.}
186 \email{[email protected]}
187 \orcid{1234-5678-9012}
188 \author{G.K.M. Tobin}
189 %<!acmcp>\authornotemark[1]
190 \email{[email protected]}
191 \affiliation{%
192 \institution{Institute for Clarity in Documentation}
193 \city{Dublin}
194 \state{Ohio}
195 \country{USA}
196 }
197
198 \author{Lars Th{\o}rv{\"a}ld}
199 \affiliation{%
200 \institution{The Th{\o}rv{\"a}ld Group}
201 \city{Hekla}
202 \country{Iceland}}
203 \email{[email protected]}
204
205 \author{Valerie B\'eranger}
206 \affiliation{%
207 \institution{Inria Paris-Rocquencourt}
208 \city{Rocquencourt}
209 \country{France}
210 }
211
212 \author{Aparna Patel}
213 \affiliation{%
214 \institution{Rajiv Gandhi University}
215 \city{Doimukh}
216 \state{Arunachal Pradesh}
217 \country{India}}
218
219 \author{Huifen Chan}
220 \affiliation{%
221 \institution{Tsinghua University}
222 \city{Haidian Qu}
223 \state{Beijing Shi}
224 \country{China}}
225
226 \author{Charles Palmer}
227 \affiliation{%
228 \institution{Palmer Research Laboratories}
229 \city{San Antonio}
230 \state{Texas}
231 \country{USA}}
232 \email{[email protected]}
233
234 \author{John Smith}
235 \affiliation{%
236 \institution{The Th{\o}rv{\"a}ld Group}
237 \city{Hekla}
238 \country{Iceland}}
239 \email{[email protected]}
240
241 \author{Julius P. Kumquat}
242 \affiliation{%
243 \institution{The Kumquat Consortium}
244 \city{New York}
245 \country{USA}}
246 \email{[email protected]}
247
248 %%
249 %% By default, the full list of authors will be used in the page
250 %% headers. Often, this list is too long, and will overlap
251 %% other information printed in the page headers. This command allows
252 %% the author to define a more concise list
253 %% of authors' names for this purpose.
254 \renewcommand{\shortauthors}{Trovato et al.}
255 %</all>
256 %<*acmcp>
257 %%
258 %% Article type: Research, Review, Discussion, Invited or position
259 \acmArticleType{Review}
260 %%
261 %% Links to code and data
262 \acmCodeLink{https://github.com/borisveytsman/acmart}
263 \acmDataLink{htps://zenodo.org/link}
264 %%
265 %% Authors' contribution
266 \acmContributions{BT and GKMT designed the study; LT, VB, and AP
267 conducted the experiments, BR, HC, CP and JS analyzed the results,
268 JPK developed analytical predictions, all authors participated in
269 writing the manuscript.}
270 %%
271 %% Sometimes the addresses are too long to fit on the page. In this
272 %% case uncomment the lines below and fill them accodingly.
273 %%
274 %% \authorsaddresses{Corresponding author: Ben Trovato,
275 %% \href{mailto:[email protected]}{[email protected]};
276 %% Institute for Clarity in Documentation, P.O. Box 1212, Dublin,
277 %% Ohio, USA, 43017-6221}
278 %%
279 %</acmcp>
280 %<*!acmcp>
281
282 %%
283 %% The abstract is a short summary of the work to be presented in the
284 %% article.
285 \begin{abstract}
286 A clear and well-documented \LaTeX\ document is presented as an
287 article formatted for publication by ACM in a conference proceedings
288 or journal publication. Based on the ``acmart'' document class, this
289 article presents and explains many of the common variations, as well
290 as many of the formatting elements an author may use in the
291 preparation of the documentation of their work.
292 \end{abstract}
293 %</!acmcp>
294 %<*sigconf-i13n>
295
296 \begin{translatedabstract}{french}
297 Un document \LaTeX\ clair et bien documenté est présenté comme un
298 article formaté pour publication par ACM dans les actes d'une
299 conférence ou parution dans une revue. Basé sur la classe de
300 document ``acmart'', ce l'article présente et explique de nombreuses
301 variations courantes, ainsi que autant d'éléments de mise en forme
302 qu'un auteur peut utiliser dans le préparation de la documentation
303 de leur travail.
304 \end{translatedabstract}
305
306 \begin{translatedabstract}{german}
307 Es wird ein übersichtliches und gut dokumentiertes \LaTeX\-Dokument präsentiert,
308 welches für die Veröffentlichung durch ACM in einem Tagungsband oder
309 als Zeitschriftenpublikation formatiert wurde.
310 Basierend auf der Dokumentenklasse ``acmart'' präsentiert und erklärt dieser Artikel
311 viele der Formatierungselemente sowie auch viele der gängigen Variationen,
312 die ein Autor bei der Beschreibung seiner Arbeit verwenden darf.
313 \end{translatedabstract}
314
315 \begin{translatedabstract}{spanish}
316 Un documento \LaTeX\ claro y bien documentado se presenta como un
317 artículo formateado para su publicación por ACM en las actas de una
318 conferencia o publicación de una revista. Basado en la clase de
319 documento ``acmart'', este artículo presenta y explica muchas de las
320 variaciones comunes, así como tantos de los elementos de formato que
321 un autor puede usar en el preparación de la documentación de su
322 trabajo.
323 \end{translatedabstract}
324 %</sigconf-i13n>
325 %<*!acmcp>
326
327 %%
328 %% The code below is generated by the tool at http://dl.acm.org/ccs.cfm.
329 %% Please copy and paste the code instead of the example below.
330 %%
331 \begin{CCSXML}
332 <ccs2012>
333 <concept>
334 <concept_id>00000000.0000000.0000000</concept_id>
335 <concept_desc>Do Not Use This Code, Generate the Correct Terms for Your Paper</concept_desc>
336 <concept_significance>500</concept_significance>
337 </concept>
338 <concept>
339 <concept_id>00000000.00000000.00000000</concept_id>
340 <concept_desc>Do Not Use This Code, Generate the Correct Terms for Your Paper</concept_desc>
341 <concept_significance>300</concept_significance>
342 </concept>
343 <concept>
344 <concept_id>00000000.00000000.00000000</concept_id>
345 <concept_desc>Do Not Use This Code, Generate the Correct Terms for Your Paper</concept_desc>
346 <concept_significance>100</concept_significance>
347 </concept>
348 <concept>
349 <concept_id>00000000.00000000.00000000</concept_id>
350 <concept_desc>Do Not Use This Code, Generate the Correct Terms for Your Paper</concept_desc>
351 <concept_significance>100</concept_significance>
352 </concept>
353 </ccs2012>
354 \end{CCSXML}
355
356 \ccsdesc[500]{Do Not Use This Code~Generate the Correct Terms for Your Paper}
357 \ccsdesc[300]{Do Not Use This Code~Generate the Correct Terms for Your Paper}
358 \ccsdesc{Do Not Use This Code~Generate the Correct Terms for Your Paper}
359 \ccsdesc[100]{Do Not Use This Code~Generate the Correct Terms for Your Paper}
360
361 %</!acmcp>
362 %<*all>
363 %%
364 %% Keywords. The author(s) should pick words that accurately describe
365 %% the work being presented. Separate the keywords with commas.
366 \keywords{Do, Not, Use, This, Code, Put, the, Correct, Terms, for,
367 Your, Paper}
368 %<sigconf-i13n>\translatedkeywords{french}{ensembles de données,
369 %<sigconf-i13n> réseaux de neurones,
370 %<sigconf-i13n> détection du regard, marquage de texte}
371 %<sigconf-i13n> \translatedkeywords{german}{Datensammlungen,
372 %<sigconf-i13n> neuronale Netze, Blickerkennung, Textklassifizierung}
373 %<sigconf-i13n> \translatedkeywords{spanish}{conjuntos de datos,
374 %<sigconf-i13n> redes neuronales, detección de mirada, etiquetado de texto}
375 %</all>
376 %<*sigconf|authordraft|sigplan|acmsmall-conf|sigconf-i13n>
377 %% A "teaser" image appears between the author and affiliation
378 %% information and the body of the document, and typically spans the
379 %% page.
380 \begin{teaserfigure}
381 \includegraphics[width=\textwidth]{sampleteaser}
382 \caption{Seattle Mariners at Spring Training, 2010.}
383 \Description{Enjoying the baseball game from the third-base
384 seats. Ichiro Suzuki preparing to bat.}
385 \label{fig:teaser}
386 \end{teaserfigure}
387 %</sigconf|authordraft|sigplan|acmsmall-conf|sigconf-i13n>
388 %<*!acmcp>
389
390 \received{20 February 2007}
391 \received[revised]{12 March 2009}
392 \received[accepted]{5 June 2009}
393
394 %%
395 %% This command processes the author and affiliation and title
396 %% information and builds the first part of the formatted document.
397 \maketitle
398
399 \section{Introduction}
400 ACM's consolidated article template, introduced in 2017, provides a
401 consistent \LaTeX\ style for use across ACM publications, and
402 incorporates accessibility and metadata-extraction functionality
403 necessary for future Digital Library endeavors. Numerous ACM and
404 SIG-specific \LaTeX\ templates have been examined, and their unique
405 features incorporated into this single new template.
406
407 If you are new to publishing with ACM, this document is a valuable
408 guide to the process of preparing your work for publication. If you
409 have published with ACM before, this document provides insight and
410 instruction into more recent changes to the article template.
411
412 The ``\verb|acmart|'' document class can be used to prepare articles
413 for any ACM publication --- conference or journal, and for any stage
414 of publication, from review to final ``camera-ready'' copy, to the
415 author's own version, with {\itshape very} few changes to the source.
416
417 \section{Template Overview}
418 As noted in the introduction, the ``\verb|acmart|'' document class can
419 be used to prepare many different kinds of documentation --- a
420 double-anonymous initial submission of a full-length technical paper, a
421 two-page SIGGRAPH Emerging Technologies abstract, a ``camera-ready''
422 journal article, a SIGCHI Extended Abstract, and more --- all by
423 selecting the appropriate {\itshape template style} and {\itshape
424 template parameters}.
425
426 This document will explain the major features of the document
427 class. For further information, the {\itshape \LaTeX\ User's Guide} is
428 available from
429 \url{https://www.acm.org/publications/proceedings-template}.
430
431 \subsection{Template Styles}
432
433 The primary parameter given to the ``\verb|acmart|'' document class is
434 the {\itshape template style} which corresponds to the kind of publication
435 or SIG publishing the work. This parameter is enclosed in square
436 brackets and is a part of the {\verb|documentclass|} command:
437 \begin{verbatim}
438 \documentclass[STYLE]{acmart}
439 \end{verbatim}
440
441 Journals use one of three template styles. All but three ACM journals
442 use the {\verb|acmsmall|} template style:
443 \begin{itemize}
444 \item {\texttt{acmsmall}}: The default journal template style.
445 \item {\texttt{acmlarge}}: Used by JOCCH and TAP.
446 \item {\texttt{acmtog}}: Used by TOG.
447 \end{itemize}
448
449 The majority of conference proceedings documentation will use the {\verb|acmconf|} template style.
450 \begin{itemize}
451 \item {\texttt{sigconf}}: The default proceedings template style.
452 \item{\texttt{sigchi}}: Used for SIGCHI conference articles.
453 \item{\texttt{sigplan}}: Used for SIGPLAN conference articles.
454 \end{itemize}
455
456 \subsection{Template Parameters}
457
458 In addition to specifying the {\itshape template style} to be used in
459 formatting your work, there are a number of {\itshape template parameters}
460 which modify some part of the applied template style. A complete list
461 of these parameters can be found in the {\itshape \LaTeX\ User's Guide.}
462
463 Frequently-used parameters, or combinations of parameters, include:
464 \begin{itemize}
465 \item {\texttt{anonymous,review}}: Suitable for a ``double-anonymous''
466 conference submission. Anonymizes the work and includes line
467 numbers. Use with the \texttt{\string\acmSubmissionID} command to print the
468 submission's unique ID on each page of the work.
469 \item{\texttt{authorversion}}: Produces a version of the work suitable
470 for posting by the author.
471 \item{\texttt{screen}}: Produces colored hyperlinks.
472 \end{itemize}
473
474 This document uses the following string as the first command in the
475 source file:
476 \begin{verbatim}
477 %<manuscript>\documentclass[manuscript,screen,review]{acmart}
478 %<acmsmall|acmsmall-conf>\documentclass[acmsmall]{acmart}
479 %<acmsmall-submission>\documentclass[acmsmall,screen,review]{acmart}
480 %<acmlarge>\documentclass[acmlarge]{acmart}
481 %<acmtog|acmtog-conf>\documentclass[acmtog]{acmart}
482 %<sigconf>\documentclass[sigconf]{acmart}
483 %<authordraft>\documentclass[sigconf,authordraft]{acmart}
484 %<sigplan>\documentclass[sigplan,screen]{acmart}
485 %<sigchi>\documentclass[sigchi]{acmart}
486 %<sigchi-a>\documentclass[sigchi-a]{acmart}
487 %<sigconf-i13n>\documentclass[sigconf, language=french,
488 %<sigconf-i13n>language=german, language=spanish, language=english]{acmart}
489 \end{verbatim}
490
491
492 \section{Modifications}
493
494 Modifying the template --- including but not limited to: adjusting
495 margins, typeface sizes, line spacing, paragraph and list definitions,
496 and the use of the \verb|\vspace| command to manually adjust the
497 vertical spacing between elements of your work --- is not allowed.
498
499 {\bfseries Your document will be returned to you for revision if
500 modifications are discovered.}
501
502 \section{Typefaces}
503
504 The ``\verb|acmart|'' document class requires the use of the
505 ``Libertine'' typeface family. Your \TeX\ installation should include
506 this set of packages. Please do not substitute other typefaces. The
507 ``\verb|lmodern|'' and ``\verb|ltimes|'' packages should not be used,
508 as they will override the built-in typeface families.
509
510 \section{Title Information}
511
512 The title of your work should use capital letters appropriately -
513 \url{https://capitalizemytitle.com/} has useful rules for
514 capitalization. Use the {\verb|title|} command to define the title of
515 your work. If your work has a subtitle, define it with the
516 {\verb|subtitle|} command. Do not insert line breaks in your title.
517
518 If your title is lengthy, you must define a short version to be used
519 in the page headers, to prevent overlapping text. The \verb|title|
520 command has a ``short title'' parameter:
521 \begin{verbatim}
522 \title[short title]{full title}
523 \end{verbatim}
524
525 \section{Authors and Affiliations}
526
527 Each author must be defined separately for accurate metadata
528 identification. As an exception, multiple authors may share one
529 affiliation. Authors' names should not be abbreviated; use full first
530 names wherever possible. Include authors' e-mail addresses whenever
531 possible.
532
533 Grouping authors' names or e-mail addresses, or providing an ``e-mail
534 alias,'' as shown below, is not acceptable:
535 \begin{verbatim}
536 \author{Brooke Aster, David Mehldau}
537 \email{dave,judy,[email protected]}
538 \email{[email protected]}
539 \end{verbatim}
540
541 The \verb|authornote| and \verb|authornotemark| commands allow a note
542 to apply to multiple authors --- for example, if the first two authors
543 of an article contributed equally to the work.
544
545 If your author list is lengthy, you must define a shortened version of
546 the list of authors to be used in the page headers, to prevent
547 overlapping text. The following command should be placed just after
548 the last \verb|\author{}| definition:
549 \begin{verbatim}
550 \renewcommand{\shortauthors}{McCartney, et al.}
551 \end{verbatim}
552 Omitting this command will force the use of a concatenated list of all
553 of the authors' names, which may result in overlapping text in the
554 page headers.
555
556 The article template's documentation, available at
557 \url{https://www.acm.org/publications/proceedings-template}, has a
558 complete explanation of these commands and tips for their effective
559 use.
560
561 Note that authors' addresses are mandatory for journal articles.
562
563 \section{Rights Information}
564
565 Authors of any work published by ACM will need to complete a rights
566 form. Depending on the kind of work, and the rights management choice
567 made by the author, this may be copyright transfer, permission,
568 license, or an OA (open access) agreement.
569
570 Regardless of the rights management choice, the author will receive a
571 copy of the completed rights form once it has been submitted. This
572 form contains \LaTeX\ commands that must be copied into the source
573 document. When the document source is compiled, these commands and
574 their parameters add formatted text to several areas of the final
575 document:
576 \begin{itemize}
577 \item the ``ACM Reference Format'' text on the first page.
578 \item the ``rights management'' text on the first page.
579 \item the conference information in the page header(s).
580 \end{itemize}
581
582 Rights information is unique to the work; if you are preparing several
583 works for an event, make sure to use the correct set of commands with
584 each of the works.
585
586 The ACM Reference Format text is required for all articles over one
587 page in length, and is optional for one-page articles (abstracts).
588
589 \section{CCS Concepts and User-Defined Keywords}
590
591 Two elements of the ``acmart'' document class provide powerful
592 taxonomic tools for you to help readers find your work in an online
593 search.
594
595 The ACM Computing Classification System ---
596 \url{https://www.acm.org/publications/class-2012} --- is a set of
597 classifiers and concepts that describe the computing
598 discipline. Authors can select entries from this classification
599 system, via \url{https://dl.acm.org/ccs/ccs.cfm}, and generate the
600 commands to be included in the \LaTeX\ source.
601
602 User-defined keywords are a comma-separated list of words and phrases
603 of the authors' choosing, providing a more flexible way of describing
604 the research being presented.
605
606 CCS concepts and user-defined keywords are required for for all
607 articles over two pages in length, and are optional for one- and
608 two-page articles (or abstracts).
609
610 \section{Sectioning Commands}
611
612 Your work should use standard \LaTeX\ sectioning commands:
613 \verb|\section|, \verb|\subsection|, \verb|\subsubsection|,
614 \verb|\paragraph|, and \verb|\subparagraph|. The sectioning levels up to
615 \verb|\subsubsection| should be numbered; do not remove the numbering
616 from the commands.
617
618 Simulating a sectioning command by setting the first word or words of
619 a paragraph in boldface or italicized text is {\bfseries not allowed.}
620
621 Below are examples of sectioning commands.
622
623 \subsection{Subsection}
624 \label{sec:subsection}
625
626 This is a subsection.
627
628 \subsubsection{Subsubsection}
629 \label{sec:subsubsection}
630
631 This is a subsubsection.
632
633 \paragraph{Paragraph}
634
635 This is a paragraph.
636
637 \subparagraph{Subparagraph}
638
639 This is a subparagraph.
640
641 \section{Tables}
642
643 The ``\verb|acmart|'' document class includes the ``\verb|booktabs|''
644 package --- \url{https://ctan.org/pkg/booktabs} --- for preparing
645 high-quality tables.
646
647 Table captions are placed {\itshape above} the table.
648
649 Because tables cannot be split across pages, the best placement for
650 them is typically the top of the page nearest their initial cite. To
651 ensure this proper ``floating'' placement of tables, use the
652 environment \textbf{table} to enclose the table's contents and the
653 table caption. The contents of the table itself must go in the
654 \textbf{tabular} environment, to be aligned properly in rows and
655 columns, with the desired horizontal and vertical rules. Again,
656 detailed instructions on \textbf{tabular} material are found in the
657 \textit{\LaTeX\ User's Guide}.
658
659 Immediately following this sentence is the point at which
660 Table~\ref{tab:freq} is included in the input file; compare the
661 placement of the table here with the table in the printed output of
662 this document.
663
664 %<!sigchi-a>\begin{table}
665 %<sigchi-a>\begin{margintable}
666 \caption{Frequency of Special Characters}
667 \label{tab:freq}
668 \begin{tabular}{ccl}
669 \toprule
670 Non-English or Math&Frequency&Comments\\
671 \midrule
672 \O & 1 in 1,000& For Swedish names\\
673 $\pi$ & 1 in 5& Common in math\\
674 \$ & 4 in 5 & Used in business\\
675 $\Psi^2_1$ & 1 in 40,000& Unexplained usage\\
676 \bottomrule
677 \end{tabular}
678 %<!sigchi-a>\end{table}
679 %<sigchi-a>\end{margintable}
680
681 To set a wider table, which takes up the whole width of the page's
682 live area, use the environment \textbf{table*} to enclose the table's
683 contents and the table caption. As with a single-column table, this
684 wide table will ``float'' to a location deemed more
685 desirable. Immediately following this sentence is the point at which
686 Table~\ref{tab:commands} is included in the input file; again, it is
687 instructive to compare the placement of the table here with the table
688 in the printed output of this document.
689
690 \begin{table*}
691 \caption{Some Typical Commands}
692 \label{tab:commands}
693 \begin{tabular}{ccl}
694 \toprule
695 Command &A Number & Comments\\
696 \midrule
697 \texttt{{\char'134}author} & 100& Author \\
698 \texttt{{\char'134}table}& 300 & For tables\\
699 \texttt{{\char'134}table*}& 400& For wider tables\\
700 \bottomrule
701 \end{tabular}
702 \end{table*}
703
704 Always use midrule to separate table header rows from data rows, and
705 use it only for this purpose. This enables assistive technologies to
706 recognise table headers and support their users in navigating tables
707 more easily.
708
709
710 \section{Math Equations}
711 You may want to display math equations in three distinct styles:
712 inline, numbered or non-numbered display. Each of the three are
713 discussed in the next sections.
714
715 \subsection{Inline (In-text) Equations}
716 A formula that appears in the running text is called an inline or
717 in-text formula. It is produced by the \textbf{math} environment,
718 which can be invoked with the usual
719 \texttt{{\char'134}begin\,\ldots{\char'134}end} construction or with
720 the short form \texttt{\$\,\ldots\$}. You can use any of the symbols
721 and structures, from $\alpha$ to $\omega$, available in
722 \LaTeX~\cite{Lamport:LaTeX}; this section will simply show a few
723 examples of in-text equations in context. Notice how this equation:
724 \begin{math}
725 \lim_{n\rightarrow \infty}x=0
726 \end{math},
727 set here in in-line math style, looks slightly different when
728 set in display style. (See next section).
729
730 \subsection{Display Equations}
731 A numbered display equation---one set off by vertical space from the
732 text and centered horizontally---is produced by the \textbf{equation}
733 environment. An unnumbered display equation is produced by the
734 \textbf{displaymath} environment.
735
736 Again, in either environment, you can use any of the symbols and
737 structures available in \LaTeX\@; this section will just give a couple
738 of examples of display equations in context. First, consider the
739 equation, shown as an inline equation above:
740 \begin{equation}
741 \lim_{n\rightarrow \infty}x=0
742 \end{equation}
743 Notice how it is formatted somewhat differently in
744 the \textbf{displaymath}
745 environment. Now, we'll enter an unnumbered equation:
746 \begin{displaymath}
747 \sum_{i=0}^{\infty} x + 1
748 \end{displaymath}
749 and follow it with another numbered equation:
750 \begin{equation}
751 \sum_{i=0}^{\infty}x_i=\int_{0}^{\pi+2} f
752 \end{equation}
753 just to demonstrate \LaTeX's able handling of numbering.
754
755 \section{Figures}
756
757 The ``\verb|figure|'' environment should be used for figures. One or
758 more images can be placed within a figure. If your figure contains
759 third-party material, you must clearly identify it as such, as shown
760 in the example below.
761 %<!sigchi-a>\begin{figure}[h]
762 %<sigchi-a>\begin{marginfigure}
763 \centering
764 \includegraphics[width=\linewidth]{sample-franklin}
765 \caption{1907 Franklin Model D roadster. Photograph by Harris \&
766 Ewing, Inc. [Public domain], via Wikimedia
767 Commons. (\url{https://goo.gl/VLCRBB}).}
768 \Description{A woman and a girl in white dresses sit in an open car.}
769 %<!sigchi-a>\end{figure}
770 %<sigchi-a>\end{marginfigure}
771
772 Your figures should contain a caption which describes the figure to
773 the reader.
774
775 Figure captions are placed {\itshape below} the figure.
776
777 Every figure should also have a figure description unless it is purely
778 decorative. These descriptions convey what’s in the image to someone
779 who cannot see it. They are also used by search engine crawlers for
780 indexing images, and when images cannot be loaded.
781
782 A figure description must be unformatted plain text less than 2000
783 characters long (including spaces). {\bfseries Figure descriptions
784 should not repeat the figure caption – their purpose is to capture
785 important information that is not already provided in the caption or
786 the main text of the paper.} For figures that convey important and
787 complex new information, a short text description may not be
788 adequate. More complex alternative descriptions can be placed in an
789 appendix and referenced in a short figure description. For example,
790 provide a data table capturing the information in a bar chart, or a
791 structured list representing a graph. For additional information
792 regarding how best to write figure descriptions and why doing this is
793 so important, please see
794 \url{https://www.acm.org/publications/taps/describing-figures/}.
795
796
797 \subsection{The ``Teaser Figure''}
798
799 A ``teaser figure'' is an image, or set of images in one figure, that
800 are placed after all author and affiliation information, and before
801 the body of the article, spanning the page. If you wish to have such a
802 figure in your article, place the command immediately before the
803 \verb|\maketitle| command:
804 \begin{verbatim}
805 \begin{teaserfigure}
806 \includegraphics[width=\textwidth]{sampleteaser}
807 \caption{figure caption}
808 \Description{figure description}
809 \end{teaserfigure}
810 \end{verbatim}
811
812 \section{Citations and Bibliographies}
813
814 The use of \BibTeX\ for the preparation and formatting of one's
815 references is strongly recommended. Authors' names should be complete
816 --- use full first names (``Donald E. Knuth'') not initials
817 (``D. E. Knuth'') --- and the salient identifying features of a
818 reference should be included: title, year, volume, number, pages,
819 article DOI, etc.
820
821 %<*!(acmsmall-biblatex|sigconf-biblatex)>
822 The bibliography is included in your source document with these two
823 commands, placed just before the \verb|\end{document}| command:
824 \begin{verbatim}
825 \bibliographystyle{ACM-Reference-Format}
826 \bibliography{bibfile}
827 \end{verbatim}
828 where ``\verb|bibfile|'' is the name, without the ``\verb|.bib|''
829 suffix, of the \BibTeX\ file.
830
831 Citations and references are numbered by default. A small number of
832 ACM publications have citations and references formatted in the
833 ``author year'' style; for these exceptions, please include this
834 command in the {\bfseries preamble} (before the command
835 ``\verb|\begin{document}|'') of your \LaTeX\ source:
836 \begin{verbatim}
837 \citestyle{acmauthoryear}
838 \end{verbatim}
839 %</!(acmsmall-biblatex|sigconf-biblatex)>
840
841 %<*acmsmall-biblatex|sigconf-biblatex>
842 Using the BibLaTeX system, the bibliography is included in your source
843 document with the following command, placed just before the \verb|\end{document}| command:
844 \begin{verbatim}
845 \printbibliography
846 \end{verbatim}
847
848 The command \verb|\addbibresource{bibfile}| declares the \BibTeX\ file to use
849 in the {\bfseries preamble} (before the command
850 ``\verb|\begin{document}|'') of your \LaTeX\ source
851 where ``\verb|bibfile|'' is the name, \emph{with} the ``\verb|.bib|'' suffix.
852 Notice that \verb|\addbibresource| takes only one argument: to declare multiple files,
853 use multiple instances of the command.
854
855 Citations and references are numbered by default. A small number of
856 ACM publications have citations and references formatted in the
857 ``author year'' style; for these exceptions, please pass the option \verb|style=acmauthoryear|
858 to the \verb|biblatex| package loaded in the {\bfseries preamble} (before the command
859 ``\verb|\begin{document}|'') of your \LaTeX\ source.
860
861 %</acmsmall-biblatex|sigconf-biblatex>
862
863
864
865 Some examples. A paginated journal article \cite{Abril07}, an
866 enumerated journal article \cite{Cohen07}, a reference to an entire
867 issue \cite{JCohen96}, a monograph (whole book) \cite{Kosiur01}, a
868 monograph/whole book in a series (see 2a in spec. document)
869 \cite{Harel79}, a divisible-book such as an anthology or compilation
870 \cite{Editor00} followed by the same example, however we only output
871 the series if the volume number is given \cite{Editor00a} (so
872 Editor00a's series should NOT be present since it has no vol. no.),
873 a chapter in a divisible book \cite{Spector90}, a chapter in a
874 divisible book in a series \cite{Douglass98}, a multi-volume work as
875 book \cite{Knuth97}, a couple of articles in a proceedings (of a
876 conference, symposium, workshop for example) (paginated proceedings
877 article) \cite{Andler79, Hagerup1993}, a proceedings article with
878 all possible elements \cite{Smith10}, an example of an enumerated
879 proceedings article \cite{VanGundy07}, an informally published work
880 \cite{Harel78}, a couple of preprints \cite{Bornmann2019,
881 AnzarootPBM14}, a doctoral dissertation \cite{Clarkson85}, a
882 master's thesis: \cite{anisi03}, an online document / world wide web
883 resource \cite{Thornburg01, Ablamowicz07, Poker06}, a video game
884 (Case 1) \cite{Obama08} and (Case 2) \cite{Novak03} and \cite{Lee05}
885 and (Case 3) a patent \cite{JoeScientist001}, work accepted for
886 publication \cite{rous08}, 'YYYYb'-test for prolific author
887 \cite{SaeediMEJ10} and \cite{SaeediJETC10}. Other cites might
888 contain 'duplicate' DOI and URLs (some SIAM articles)
889 \cite{Kirschmer:2010:AEI:1958016.1958018}. Boris / Barbara Beeton:
890 multi-volume works as books \cite{MR781536} and \cite{MR781537}. A
891 presentation~\cite{Reiser2014}. An article under
892 review~\cite{Baggett2025}. A
893 couple of citations with DOIs:
894 \cite{2004:ITE:1009386.1010128,Kirschmer:2010:AEI:1958016.1958018}. Online
895 citations: \cite{TUGInstmem, Thornburg01, CTANacmart}.
896 %<*!(acmsmall-biblatex|sigconf-biblatex)>
897 Artifacts: \cite{R} and \cite{UMassCitations}.
898 %</!(acmsmall-biblatex|sigconf-biblatex)>
899 %<*acmsmall-biblatex|sigconf-biblatex>
900 Data Artifacts: \cite{UMassCitations}.
901 Software project:~\cite{cgal,delebecque:hal-02090402}. Software Version:~\cite{gf-tag-sound-repo,}. Software Module:~\cite{cgal:lp-gi-20a}. Code fragment:~\cite{simplemapper}.
902 %</acmsmall-biblatex|sigconf-biblatex>
903
904
905 \section{Acknowledgments}
906
907 Identification of funding sources and other support, and thanks to
908 individuals and groups that assisted in the research and the
909 preparation of the work should be included in an acknowledgment
910 section, which is placed just before the reference section in your
911 document.
912
913 This section has a special environment:
914 \begin{verbatim}
915 \begin{acks}
916 ...
917 \end{acks}
918 \end{verbatim}
919 so that the information contained therein can be more easily collected
920 during the article metadata extraction phase, and to ensure
921 consistency in the spelling of the section heading.
922
923 Authors should not prepare this section as a numbered or unnumbered {\verb|\section|}; please use the ``{\verb|acks|}'' environment.
924
925 \section{Appendices}
926
927 If your work needs an appendix, add it before the
928 ``\verb|\end{document}|'' command at the conclusion of your source
929 document.
930
931 Start the appendix with the ``\verb|appendix|'' command:
932 \begin{verbatim}
933 \appendix
934 \end{verbatim}
935 and note that in the appendix, sections are lettered, not
936 numbered. This document has two appendices, demonstrating the section
937 and subsection identification method.
938
939 \section{Multi-language papers}
940
941 Papers may be written in languages other than English or include
942 titles, subtitles, keywords and abstracts in different languages (as a
943 rule, a paper in a language other than English should include an
944 English title and an English abstract). Use \verb|language=...| for
945 every language used in the paper. The last language indicated is the
946 main language of the paper. For example, a French paper with
947 additional titles and abstracts in English and German may start with
948 the following command
949 \begin{verbatim}
950 \documentclass[sigconf, language=english, language=german,
951 language=french]{acmart}
952 \end{verbatim}
953
954 The title, subtitle, keywords and abstract will be typeset in the main
955 language of the paper. The commands \verb|\translatedXXX|, \verb|XXX|
956 begin title, subtitle and keywords, can be used to set these elements
957 in the other languages. The environment \verb|translatedabstract| is
958 used to set the translation of the abstract. These commands and
959 environment have a mandatory first argument: the language of the
960 second argument. See \verb|sample-sigconf-i13n.tex| file for examples
961 of their usage.
962
963 \section{SIGCHI Extended Abstracts}
964
965 The ``\verb|sigchi-a|'' template style (available only in \LaTeX\ and
966 not in Word) produces a landscape-orientation formatted article, with
967 a wide left margin. Three environments are available for use with the
968 ``\verb|sigchi-a|'' template style, and produce formatted output in
969 the margin:
970 \begin{description}
971 \item[\texttt{sidebar}:] Place formatted text in the margin.
972 \item[\texttt{marginfigure}:] Place a figure in the margin.
973 \item[\texttt{margintable}:] Place a table in the margin.
974 \end{description}
975
976 %%
977 %% The acknowledgments section is defined using the "acks" environment
978 %% (and NOT an unnumbered section). This ensures the proper
979 %% identification of the section in the article metadata, and the
980 %% consistent spelling of the heading.
981 \begin{acks}
982 To Robert, for the bagels and explaining CMYK and color spaces.
983 \end{acks}
984
985 %<*!(acmsmall-biblatex|sigconf-biblatex)>
986 %%
987 %% The next two lines define the bibliography style to be used, and
988 %% the bibliography file.
989 \bibliographystyle{ACM-Reference-Format}
990 \bibliography{sample-base}
991 %</!(acmsmall-biblatex|sigconf-biblatex)>
992
993 %<*(acmsmall-biblatex|sigconf-biblatex)>
994 %%
995 %% Print the bibliography
996 %%
997 \printbibliography
998 %</(acmsmall-biblatex|sigconf-biblatex)>
999
1000 %%
1001 %% If your work has an appendix, this is the place to put it.
1002 \appendix
1003
1004 \section{Research Methods}
1005
1006 \subsection{Part One}
1007
1008 Lorem ipsum dolor sit amet, consectetur adipiscing elit. Morbi
1009 malesuada, quam in pulvinar varius, metus nunc fermentum urna, id
1010 sollicitudin purus odio sit amet enim. Aliquam ullamcorper eu ipsum
1011 vel mollis. Curabitur quis dictum nisl. Phasellus vel semper risus, et
1012 lacinia dolor. Integer ultricies commodo sem nec semper.
1013
1014 \subsection{Part Two}
1015
1016 Etiam commodo feugiat nisl pulvinar pellentesque. Etiam auctor sodales
1017 ligula, non varius nibh pulvinar semper. Suspendisse nec lectus non
1018 ipsum convallis congue hendrerit vitae sapien. Donec at laoreet
1019 eros. Vivamus non purus placerat, scelerisque diam eu, cursus
1020 ante. Etiam aliquam tortor auctor efficitur mattis.
1021
1022 \section{Online Resources}
1023
1024 Nam id fermentum dui. Suspendisse sagittis tortor a nulla mollis, in
1025 pulvinar ex pretium. Sed interdum orci quis metus euismod, et sagittis
1026 enim maximus. Vestibulum gravida massa ut felis suscipit
1027 congue. Quisque mattis elit a risus ultrices commodo venenatis eget
1028 dui. Etiam sagittis eleifend elementum.
1029
1030 Nam interdum magna at lectus dignissim, ac dignissim lorem
1031 rhoncus. Maecenas eu arcu ac neque placerat aliquam. Nunc pulvinar
1032 massa et mattis lacinia.
1033
1034 \end{document}
1035 %</!acmcp>
1036 %<*acmcp>
1037
1038 \maketitle
1039
1040
1041 \section{Problem statement}
1042
1043 In this document we discuss how to write an ACM article.
1044
1045 \section{Methods}
1046
1047 This document provides \LaTeX\ templates for the article. We
1048 demonstrate different versions of ACM styles and show various options
1049 and commands. We add extensive documentation for these commands and
1050 show examples of their use.
1051
1052 \section{Results}
1053
1054 We hope the resulting templates and documentation will help the
1055 readers to write submissions for ACM journals and proceedings.
1056
1057 \section{Significance}
1058
1059 This document is important for anybody wanting to comply with the
1060 requirements of ACM publishing.
1061
1062
1063 \end{document}
1064 %</acmcp>