Debian Codegraph @

texmf-dist/doc/latex/acmart/samples/sample-acmtog.tex

raw
1 %%
2 %% This is file `sample-acmtog.tex',
3 %% generated with the docstrip utility.
4 %%
5 %% The original source files were:
6 %%
7 %% samples.dtx (with options: `all,journal,bibtex,acmtog')
8 %%
9 %% IMPORTANT NOTICE:
10 %%
11 %% For the copyright see the source file.
12 %%
13 %% Any modified versions of this file must be renamed
14 %% with new filenames distinct from sample-acmtog.tex.
15 %%
16 %% For distribution of the original source see the terms
17 %% for copying and modification in the file samples.dtx.
18 %%
19 %% This generated file may be distributed as long as the
20 %% original source files, as listed above, are part of the
21 %% same distribution. (The sources need not necessarily be
22 %% in the same archive or directory.)
23 %%
24 %%
25 %% Commands for TeXCount
26 %TC:macro \cite [option:text,text]
27 %TC:macro \citep [option:text,text]
28 %TC:macro \citet [option:text,text]
29 %TC:envir table 0 1
30 %TC:envir table* 0 1
31 %TC:envir tabular [ignore] word
32 %TC:envir displaymath 0 word
33 %TC:envir math 0 word
34 %TC:envir comment 0 0
35 %%
36 %% The first command in your LaTeX source must be the \documentclass
37 %% command.
38 %%
39 %% For submission and review of your manuscript please change the
40 %% command to \documentclass[manuscript, screen, review]{acmart}.
41 %%
42 %% When submitting camera ready or to TAPS, please change the command
43 %% to \documentclass[sigconf]{acmart} or whichever template is required
44 %% for your publication.
45 %%
46 %%
47 \documentclass[acmtog]{acmart}
48 %%
49 %% \BibTeX command to typeset BibTeX logo in the docs
50 \AtBeginDocument{%
51 \providecommand\BibTeX{{%
52 Bib\TeX}}}
53
54 %% Rights management information. This information is sent to you
55 %% when you complete the rights form. These commands have SAMPLE
56 %% values in them; it is your responsibility as an author to replace
57 %% the commands and values with those provided to you when you
58 %% complete the rights form.
59 \setcopyright{acmlicensed}
60 \copyrightyear{2018}
61 \acmYear{2018}
62 \acmDOI{XXXXXXX.XXXXXXX}
63
64 %%
65 %% These commands are for a JOURNAL article.
66 \acmJournal{TOG}
67 \acmVolume{37}
68 \acmNumber{4}
69 \acmArticle{111}
70 \acmMonth{8}
71
72 %%
73 %% Submission ID.
74 %% Use this when submitting an article to a sponsored event. You'll
75 %% receive a unique submission ID from the organizers
76 %% of the event, and this ID should be used as the parameter to this command.
77 %%\acmSubmissionID{123-A56-BU3}
78
79 %%
80 %% For managing citations, it is recommended to use bibliography
81 %% files in BibTeX format.
82 %%
83 %% You can then either use BibTeX with the ACM-Reference-Format style,
84 %% or BibLaTeX with the acmnumeric or acmauthoryear sytles, that include
85 %% support for advanced citation of software artefact from the
86 %% biblatex-software package, also separately available on CTAN.
87 %%
88 %% Look at the sample-*-biblatex.tex files for templates showcasing
89 %% the biblatex styles.
90 %%
91
92 %%
93 %% The majority of ACM publications use numbered citations and
94 %% references. The command \citestyle{authoryear} switches to the
95 %% "author year" style.
96 %%
97 %% If you are preparing content for an event
98 %% sponsored by ACM SIGGRAPH, you must use the "author year" style of
99 %% citations and references.
100 \citestyle{acmauthoryear}
101
102
103 %%
104 %% end of the preamble, start of the body of the document source.
105 \begin{document}
106
107 %%
108 %% The "title" command has an optional parameter,
109 %% allowing the author to define a "short title" to be used in page headers.
110 \title{The Name of the Title Is Hope}
111
112 %%
113 %% The "author" command and its associated commands are used to define
114 %% the authors and their affiliations.
115 %% Of note is the shared affiliation of the first two authors, and the
116 %% "authornote" and "authornotemark" commands
117 %% used to denote shared contribution to the research.
118 \author{Ben Trovato}
119 \authornote{Both authors contributed equally to this research.}
120 \email{[email protected]}
121 \orcid{1234-5678-9012}
122 \author{G.K.M. Tobin}
123 \authornotemark[1]
124 \email{[email protected]}
125 \affiliation{%
126 \institution{Institute for Clarity in Documentation}
127 \city{Dublin}
128 \state{Ohio}
129 \country{USA}
130 }
131
132 \author{Lars Th{\o}rv{\"a}ld}
133 \affiliation{%
134 \institution{The Th{\o}rv{\"a}ld Group}
135 \city{Hekla}
136 \country{Iceland}}
137 \email{[email protected]}
138
139 \author{Valerie B\'eranger}
140 \affiliation{%
141 \institution{Inria Paris-Rocquencourt}
142 \city{Rocquencourt}
143 \country{France}
144 }
145
146 \author{Aparna Patel}
147 \affiliation{%
148 \institution{Rajiv Gandhi University}
149 \city{Doimukh}
150 \state{Arunachal Pradesh}
151 \country{India}}
152
153 \author{Huifen Chan}
154 \affiliation{%
155 \institution{Tsinghua University}
156 \city{Haidian Qu}
157 \state{Beijing Shi}
158 \country{China}}
159
160 \author{Charles Palmer}
161 \affiliation{%
162 \institution{Palmer Research Laboratories}
163 \city{San Antonio}
164 \state{Texas}
165 \country{USA}}
166 \email{[email protected]}
167
168 \author{John Smith}
169 \affiliation{%
170 \institution{The Th{\o}rv{\"a}ld Group}
171 \city{Hekla}
172 \country{Iceland}}
173 \email{[email protected]}
174
175 \author{Julius P. Kumquat}
176 \affiliation{%
177 \institution{The Kumquat Consortium}
178 \city{New York}
179 \country{USA}}
180 \email{[email protected]}
181
182 %%
183 %% By default, the full list of authors will be used in the page
184 %% headers. Often, this list is too long, and will overlap
185 %% other information printed in the page headers. This command allows
186 %% the author to define a more concise list
187 %% of authors' names for this purpose.
188 \renewcommand{\shortauthors}{Trovato et al.}
189
190 %%
191 %% The abstract is a short summary of the work to be presented in the
192 %% article.
193 \begin{abstract}
194 A clear and well-documented \LaTeX\ document is presented as an
195 article formatted for publication by ACM in a conference proceedings
196 or journal publication. Based on the ``acmart'' document class, this
197 article presents and explains many of the common variations, as well
198 as many of the formatting elements an author may use in the
199 preparation of the documentation of their work.
200 \end{abstract}
201
202 %%
203 %% The code below is generated by the tool at http://dl.acm.org/ccs.cfm.
204 %% Please copy and paste the code instead of the example below.
205 %%
206 \begin{CCSXML}
207 <ccs2012>
208 <concept>
209 <concept_id>00000000.0000000.0000000</concept_id>
210 <concept_desc>Do Not Use This Code, Generate the Correct Terms for Your Paper</concept_desc>
211 <concept_significance>500</concept_significance>
212 </concept>
213 <concept>
214 <concept_id>00000000.00000000.00000000</concept_id>
215 <concept_desc>Do Not Use This Code, Generate the Correct Terms for Your Paper</concept_desc>
216 <concept_significance>300</concept_significance>
217 </concept>
218 <concept>
219 <concept_id>00000000.00000000.00000000</concept_id>
220 <concept_desc>Do Not Use This Code, Generate the Correct Terms for Your Paper</concept_desc>
221 <concept_significance>100</concept_significance>
222 </concept>
223 <concept>
224 <concept_id>00000000.00000000.00000000</concept_id>
225 <concept_desc>Do Not Use This Code, Generate the Correct Terms for Your Paper</concept_desc>
226 <concept_significance>100</concept_significance>
227 </concept>
228 </ccs2012>
229 \end{CCSXML}
230
231 \ccsdesc[500]{Do Not Use This Code~Generate the Correct Terms for Your Paper}
232 \ccsdesc[300]{Do Not Use This Code~Generate the Correct Terms for Your Paper}
233 \ccsdesc{Do Not Use This Code~Generate the Correct Terms for Your Paper}
234 \ccsdesc[100]{Do Not Use This Code~Generate the Correct Terms for Your Paper}
235
236 %%
237 %% Keywords. The author(s) should pick words that accurately describe
238 %% the work being presented. Separate the keywords with commas.
239 \keywords{Do, Not, Use, This, Code, Put, the, Correct, Terms, for,
240 Your, Paper}
241
242 \received{20 February 2007}
243 \received[revised]{12 March 2009}
244 \received[accepted]{5 June 2009}
245
246 %%
247 %% This command processes the author and affiliation and title
248 %% information and builds the first part of the formatted document.
249 \maketitle
250
251 \section{Introduction}
252 ACM's consolidated article template, introduced in 2017, provides a
253 consistent \LaTeX\ style for use across ACM publications, and
254 incorporates accessibility and metadata-extraction functionality
255 necessary for future Digital Library endeavors. Numerous ACM and
256 SIG-specific \LaTeX\ templates have been examined, and their unique
257 features incorporated into this single new template.
258
259 If you are new to publishing with ACM, this document is a valuable
260 guide to the process of preparing your work for publication. If you
261 have published with ACM before, this document provides insight and
262 instruction into more recent changes to the article template.
263
264 The ``\verb|acmart|'' document class can be used to prepare articles
265 for any ACM publication --- conference or journal, and for any stage
266 of publication, from review to final ``camera-ready'' copy, to the
267 author's own version, with {\itshape very} few changes to the source.
268
269 \section{Template Overview}
270 As noted in the introduction, the ``\verb|acmart|'' document class can
271 be used to prepare many different kinds of documentation --- a
272 double-anonymous initial submission of a full-length technical paper, a
273 two-page SIGGRAPH Emerging Technologies abstract, a ``camera-ready''
274 journal article, a SIGCHI Extended Abstract, and more --- all by
275 selecting the appropriate {\itshape template style} and {\itshape
276 template parameters}.
277
278 This document will explain the major features of the document
279 class. For further information, the {\itshape \LaTeX\ User's Guide} is
280 available from
281 \url{https://www.acm.org/publications/proceedings-template}.
282
283 \subsection{Template Styles}
284
285 The primary parameter given to the ``\verb|acmart|'' document class is
286 the {\itshape template style} which corresponds to the kind of publication
287 or SIG publishing the work. This parameter is enclosed in square
288 brackets and is a part of the {\verb|documentclass|} command:
289 \begin{verbatim}
290 \documentclass[STYLE]{acmart}
291 \end{verbatim}
292
293 Journals use one of three template styles. All but three ACM journals
294 use the {\verb|acmsmall|} template style:
295 \begin{itemize}
296 \item {\texttt{acmsmall}}: The default journal template style.
297 \item {\texttt{acmlarge}}: Used by JOCCH and TAP.
298 \item {\texttt{acmtog}}: Used by TOG.
299 \end{itemize}
300
301 The majority of conference proceedings documentation will use the {\verb|acmconf|} template style.
302 \begin{itemize}
303 \item {\texttt{sigconf}}: The default proceedings template style.
304 \item{\texttt{sigchi}}: Used for SIGCHI conference articles.
305 \item{\texttt{sigplan}}: Used for SIGPLAN conference articles.
306 \end{itemize}
307
308 \subsection{Template Parameters}
309
310 In addition to specifying the {\itshape template style} to be used in
311 formatting your work, there are a number of {\itshape template parameters}
312 which modify some part of the applied template style. A complete list
313 of these parameters can be found in the {\itshape \LaTeX\ User's Guide.}
314
315 Frequently-used parameters, or combinations of parameters, include:
316 \begin{itemize}
317 \item {\texttt{anonymous,review}}: Suitable for a ``double-anonymous''
318 conference submission. Anonymizes the work and includes line
319 numbers. Use with the \texttt{\string\acmSubmissionID} command to print the
320 submission's unique ID on each page of the work.
321 \item{\texttt{authorversion}}: Produces a version of the work suitable
322 for posting by the author.
323 \item{\texttt{screen}}: Produces colored hyperlinks.
324 \end{itemize}
325
326 This document uses the following string as the first command in the
327 source file:
328 \begin{verbatim}
329 \documentclass[acmtog]{acmart}
330 \end{verbatim}
331
332 \section{Modifications}
333
334 Modifying the template --- including but not limited to: adjusting
335 margins, typeface sizes, line spacing, paragraph and list definitions,
336 and the use of the \verb|\vspace| command to manually adjust the
337 vertical spacing between elements of your work --- is not allowed.
338
339 {\bfseries Your document will be returned to you for revision if
340 modifications are discovered.}
341
342 \section{Typefaces}
343
344 The ``\verb|acmart|'' document class requires the use of the
345 ``Libertine'' typeface family. Your \TeX\ installation should include
346 this set of packages. Please do not substitute other typefaces. The
347 ``\verb|lmodern|'' and ``\verb|ltimes|'' packages should not be used,
348 as they will override the built-in typeface families.
349
350 \section{Title Information}
351
352 The title of your work should use capital letters appropriately -
353 \url{https://capitalizemytitle.com/} has useful rules for
354 capitalization. Use the {\verb|title|} command to define the title of
355 your work. If your work has a subtitle, define it with the
356 {\verb|subtitle|} command. Do not insert line breaks in your title.
357
358 If your title is lengthy, you must define a short version to be used
359 in the page headers, to prevent overlapping text. The \verb|title|
360 command has a ``short title'' parameter:
361 \begin{verbatim}
362 \title[short title]{full title}
363 \end{verbatim}
364
365 \section{Authors and Affiliations}
366
367 Each author must be defined separately for accurate metadata
368 identification. As an exception, multiple authors may share one
369 affiliation. Authors' names should not be abbreviated; use full first
370 names wherever possible. Include authors' e-mail addresses whenever
371 possible.
372
373 Grouping authors' names or e-mail addresses, or providing an ``e-mail
374 alias,'' as shown below, is not acceptable:
375 \begin{verbatim}
376 \author{Brooke Aster, David Mehldau}
377 \email{dave,judy,[email protected]}
378 \email{[email protected]}
379 \end{verbatim}
380
381 The \verb|authornote| and \verb|authornotemark| commands allow a note
382 to apply to multiple authors --- for example, if the first two authors
383 of an article contributed equally to the work.
384
385 If your author list is lengthy, you must define a shortened version of
386 the list of authors to be used in the page headers, to prevent
387 overlapping text. The following command should be placed just after
388 the last \verb|\author{}| definition:
389 \begin{verbatim}
390 \renewcommand{\shortauthors}{McCartney, et al.}
391 \end{verbatim}
392 Omitting this command will force the use of a concatenated list of all
393 of the authors' names, which may result in overlapping text in the
394 page headers.
395
396 The article template's documentation, available at
397 \url{https://www.acm.org/publications/proceedings-template}, has a
398 complete explanation of these commands and tips for their effective
399 use.
400
401 Note that authors' addresses are mandatory for journal articles.
402
403 \section{Rights Information}
404
405 Authors of any work published by ACM will need to complete a rights
406 form. Depending on the kind of work, and the rights management choice
407 made by the author, this may be copyright transfer, permission,
408 license, or an OA (open access) agreement.
409
410 Regardless of the rights management choice, the author will receive a
411 copy of the completed rights form once it has been submitted. This
412 form contains \LaTeX\ commands that must be copied into the source
413 document. When the document source is compiled, these commands and
414 their parameters add formatted text to several areas of the final
415 document:
416 \begin{itemize}
417 \item the ``ACM Reference Format'' text on the first page.
418 \item the ``rights management'' text on the first page.
419 \item the conference information in the page header(s).
420 \end{itemize}
421
422 Rights information is unique to the work; if you are preparing several
423 works for an event, make sure to use the correct set of commands with
424 each of the works.
425
426 The ACM Reference Format text is required for all articles over one
427 page in length, and is optional for one-page articles (abstracts).
428
429 \section{CCS Concepts and User-Defined Keywords}
430
431 Two elements of the ``acmart'' document class provide powerful
432 taxonomic tools for you to help readers find your work in an online
433 search.
434
435 The ACM Computing Classification System ---
436 \url{https://www.acm.org/publications/class-2012} --- is a set of
437 classifiers and concepts that describe the computing
438 discipline. Authors can select entries from this classification
439 system, via \url{https://dl.acm.org/ccs/ccs.cfm}, and generate the
440 commands to be included in the \LaTeX\ source.
441
442 User-defined keywords are a comma-separated list of words and phrases
443 of the authors' choosing, providing a more flexible way of describing
444 the research being presented.
445
446 CCS concepts and user-defined keywords are required for for all
447 articles over two pages in length, and are optional for one- and
448 two-page articles (or abstracts).
449
450 \section{Sectioning Commands}
451
452 Your work should use standard \LaTeX\ sectioning commands:
453 \verb|\section|, \verb|\subsection|, \verb|\subsubsection|,
454 \verb|\paragraph|, and \verb|\subparagraph|. The sectioning levels up to
455 \verb|\subsubsection| should be numbered; do not remove the numbering
456 from the commands.
457
458 Simulating a sectioning command by setting the first word or words of
459 a paragraph in boldface or italicized text is {\bfseries not allowed.}
460
461 Below are examples of sectioning commands.
462
463 \subsection{Subsection}
464 \label{sec:subsection}
465
466 This is a subsection.
467
468 \subsubsection{Subsubsection}
469 \label{sec:subsubsection}
470
471 This is a subsubsection.
472
473 \paragraph{Paragraph}
474
475 This is a paragraph.
476
477 \subparagraph{Subparagraph}
478
479 This is a subparagraph.
480
481 \section{Tables}
482
483 The ``\verb|acmart|'' document class includes the ``\verb|booktabs|''
484 package --- \url{https://ctan.org/pkg/booktabs} --- for preparing
485 high-quality tables.
486
487 Table captions are placed {\itshape above} the table.
488
489 Because tables cannot be split across pages, the best placement for
490 them is typically the top of the page nearest their initial cite. To
491 ensure this proper ``floating'' placement of tables, use the
492 environment \textbf{table} to enclose the table's contents and the
493 table caption. The contents of the table itself must go in the
494 \textbf{tabular} environment, to be aligned properly in rows and
495 columns, with the desired horizontal and vertical rules. Again,
496 detailed instructions on \textbf{tabular} material are found in the
497 \textit{\LaTeX\ User's Guide}.
498
499 Immediately following this sentence is the point at which
500 Table~\ref{tab:freq} is included in the input file; compare the
501 placement of the table here with the table in the printed output of
502 this document.
503
504 \begin{table}
505 \caption{Frequency of Special Characters}
506 \label{tab:freq}
507 \begin{tabular}{ccl}
508 \toprule
509 Non-English or Math&Frequency&Comments\\
510 \midrule
511 \O & 1 in 1,000& For Swedish names\\
512 $\pi$ & 1 in 5& Common in math\\
513 \$ & 4 in 5 & Used in business\\
514 $\Psi^2_1$ & 1 in 40,000& Unexplained usage\\
515 \bottomrule
516 \end{tabular}
517 \end{table}
518
519 To set a wider table, which takes up the whole width of the page's
520 live area, use the environment \textbf{table*} to enclose the table's
521 contents and the table caption. As with a single-column table, this
522 wide table will ``float'' to a location deemed more
523 desirable. Immediately following this sentence is the point at which
524 Table~\ref{tab:commands} is included in the input file; again, it is
525 instructive to compare the placement of the table here with the table
526 in the printed output of this document.
527
528 \begin{table*}
529 \caption{Some Typical Commands}
530 \label{tab:commands}
531 \begin{tabular}{ccl}
532 \toprule
533 Command &A Number & Comments\\
534 \midrule
535 \texttt{{\char'134}author} & 100& Author \\
536 \texttt{{\char'134}table}& 300 & For tables\\
537 \texttt{{\char'134}table*}& 400& For wider tables\\
538 \bottomrule
539 \end{tabular}
540 \end{table*}
541
542 Always use midrule to separate table header rows from data rows, and
543 use it only for this purpose. This enables assistive technologies to
544 recognise table headers and support their users in navigating tables
545 more easily.
546
547 \section{Math Equations}
548 You may want to display math equations in three distinct styles:
549 inline, numbered or non-numbered display. Each of the three are
550 discussed in the next sections.
551
552 \subsection{Inline (In-text) Equations}
553 A formula that appears in the running text is called an inline or
554 in-text formula. It is produced by the \textbf{math} environment,
555 which can be invoked with the usual
556 \texttt{{\char'134}begin\,\ldots{\char'134}end} construction or with
557 the short form \texttt{\$\,\ldots\$}. You can use any of the symbols
558 and structures, from $\alpha$ to $\omega$, available in
559 \LaTeX~\cite{Lamport:LaTeX}; this section will simply show a few
560 examples of in-text equations in context. Notice how this equation:
561 \begin{math}
562 \lim_{n\rightarrow \infty}x=0
563 \end{math},
564 set here in in-line math style, looks slightly different when
565 set in display style. (See next section).
566
567 \subsection{Display Equations}
568 A numbered display equation---one set off by vertical space from the
569 text and centered horizontally---is produced by the \textbf{equation}
570 environment. An unnumbered display equation is produced by the
571 \textbf{displaymath} environment.
572
573 Again, in either environment, you can use any of the symbols and
574 structures available in \LaTeX\@; this section will just give a couple
575 of examples of display equations in context. First, consider the
576 equation, shown as an inline equation above:
577 \begin{equation}
578 \lim_{n\rightarrow \infty}x=0
579 \end{equation}
580 Notice how it is formatted somewhat differently in
581 the \textbf{displaymath}
582 environment. Now, we'll enter an unnumbered equation:
583 \begin{displaymath}
584 \sum_{i=0}^{\infty} x + 1
585 \end{displaymath}
586 and follow it with another numbered equation:
587 \begin{equation}
588 \sum_{i=0}^{\infty}x_i=\int_{0}^{\pi+2} f
589 \end{equation}
590 just to demonstrate \LaTeX's able handling of numbering.
591
592 \section{Figures}
593
594 The ``\verb|figure|'' environment should be used for figures. One or
595 more images can be placed within a figure. If your figure contains
596 third-party material, you must clearly identify it as such, as shown
597 in the example below.
598 \begin{figure}[h]
599 \centering
600 \includegraphics[width=\linewidth]{sample-franklin}
601 \caption{1907 Franklin Model D roadster. Photograph by Harris \&
602 Ewing, Inc. [Public domain], via Wikimedia
603 Commons. (\url{https://goo.gl/VLCRBB}).}
604 \Description{A woman and a girl in white dresses sit in an open car.}
605 \end{figure}
606
607 Your figures should contain a caption which describes the figure to
608 the reader.
609
610 Figure captions are placed {\itshape below} the figure.
611
612 Every figure should also have a figure description unless it is purely
613 decorative. These descriptions convey what’s in the image to someone
614 who cannot see it. They are also used by search engine crawlers for
615 indexing images, and when images cannot be loaded.
616
617 A figure description must be unformatted plain text less than 2000
618 characters long (including spaces). {\bfseries Figure descriptions
619 should not repeat the figure caption – their purpose is to capture
620 important information that is not already provided in the caption or
621 the main text of the paper.} For figures that convey important and
622 complex new information, a short text description may not be
623 adequate. More complex alternative descriptions can be placed in an
624 appendix and referenced in a short figure description. For example,
625 provide a data table capturing the information in a bar chart, or a
626 structured list representing a graph. For additional information
627 regarding how best to write figure descriptions and why doing this is
628 so important, please see
629 \url{https://www.acm.org/publications/taps/describing-figures/}.
630
631 \subsection{The ``Teaser Figure''}
632
633 A ``teaser figure'' is an image, or set of images in one figure, that
634 are placed after all author and affiliation information, and before
635 the body of the article, spanning the page. If you wish to have such a
636 figure in your article, place the command immediately before the
637 \verb|\maketitle| command:
638 \begin{verbatim}
639 \begin{teaserfigure}
640 \includegraphics[width=\textwidth]{sampleteaser}
641 \caption{figure caption}
642 \Description{figure description}
643 \end{teaserfigure}
644 \end{verbatim}
645
646 \section{Citations and Bibliographies}
647
648 The use of \BibTeX\ for the preparation and formatting of one's
649 references is strongly recommended. Authors' names should be complete
650 --- use full first names (``Donald E. Knuth'') not initials
651 (``D. E. Knuth'') --- and the salient identifying features of a
652 reference should be included: title, year, volume, number, pages,
653 article DOI, etc.
654
655 The bibliography is included in your source document with these two
656 commands, placed just before the \verb|\end{document}| command:
657 \begin{verbatim}
658 \bibliographystyle{ACM-Reference-Format}
659 \bibliography{bibfile}
660 \end{verbatim}
661 where ``\verb|bibfile|'' is the name, without the ``\verb|.bib|''
662 suffix, of the \BibTeX\ file.
663
664 Citations and references are numbered by default. A small number of
665 ACM publications have citations and references formatted in the
666 ``author year'' style; for these exceptions, please include this
667 command in the {\bfseries preamble} (before the command
668 ``\verb|\begin{document}|'') of your \LaTeX\ source:
669 \begin{verbatim}
670 \citestyle{acmauthoryear}
671 \end{verbatim}
672
673
674 Some examples. A paginated journal article \cite{Abril07}, an
675 enumerated journal article \cite{Cohen07}, a reference to an entire
676 issue \cite{JCohen96}, a monograph (whole book) \cite{Kosiur01}, a
677 monograph/whole book in a series (see 2a in spec. document)
678 \cite{Harel79}, a divisible-book such as an anthology or compilation
679 \cite{Editor00} followed by the same example, however we only output
680 the series if the volume number is given \cite{Editor00a} (so
681 Editor00a's series should NOT be present since it has no vol. no.),
682 a chapter in a divisible book \cite{Spector90}, a chapter in a
683 divisible book in a series \cite{Douglass98}, a multi-volume work as
684 book \cite{Knuth97}, a couple of articles in a proceedings (of a
685 conference, symposium, workshop for example) (paginated proceedings
686 article) \cite{Andler79, Hagerup1993}, a proceedings article with
687 all possible elements \cite{Smith10}, an example of an enumerated
688 proceedings article \cite{VanGundy07}, an informally published work
689 \cite{Harel78}, a couple of preprints \cite{Bornmann2019,
690 AnzarootPBM14}, a doctoral dissertation \cite{Clarkson85}, a
691 master's thesis: \cite{anisi03}, an online document / world wide web
692 resource \cite{Thornburg01, Ablamowicz07, Poker06}, a video game
693 (Case 1) \cite{Obama08} and (Case 2) \cite{Novak03} and \cite{Lee05}
694 and (Case 3) a patent \cite{JoeScientist001}, work accepted for
695 publication \cite{rous08}, 'YYYYb'-test for prolific author
696 \cite{SaeediMEJ10} and \cite{SaeediJETC10}. Other cites might
697 contain 'duplicate' DOI and URLs (some SIAM articles)
698 \cite{Kirschmer:2010:AEI:1958016.1958018}. Boris / Barbara Beeton:
699 multi-volume works as books \cite{MR781536} and \cite{MR781537}. A
700 presentation~\cite{Reiser2014}. An article under
701 review~\cite{Baggett2025}. A
702 couple of citations with DOIs:
703 \cite{2004:ITE:1009386.1010128,Kirschmer:2010:AEI:1958016.1958018}. Online
704 citations: \cite{TUGInstmem, Thornburg01, CTANacmart}.
705 Artifacts: \cite{R} and \cite{UMassCitations}.
706
707 \section{Acknowledgments}
708
709 Identification of funding sources and other support, and thanks to
710 individuals and groups that assisted in the research and the
711 preparation of the work should be included in an acknowledgment
712 section, which is placed just before the reference section in your
713 document.
714
715 This section has a special environment:
716 \begin{verbatim}
717 \begin{acks}
718 ...
719 \end{acks}
720 \end{verbatim}
721 so that the information contained therein can be more easily collected
722 during the article metadata extraction phase, and to ensure
723 consistency in the spelling of the section heading.
724
725 Authors should not prepare this section as a numbered or unnumbered {\verb|\section|}; please use the ``{\verb|acks|}'' environment.
726
727 \section{Appendices}
728
729 If your work needs an appendix, add it before the
730 ``\verb|\end{document}|'' command at the conclusion of your source
731 document.
732
733 Start the appendix with the ``\verb|appendix|'' command:
734 \begin{verbatim}
735 \appendix
736 \end{verbatim}
737 and note that in the appendix, sections are lettered, not
738 numbered. This document has two appendices, demonstrating the section
739 and subsection identification method.
740
741 \section{Multi-language papers}
742
743 Papers may be written in languages other than English or include
744 titles, subtitles, keywords and abstracts in different languages (as a
745 rule, a paper in a language other than English should include an
746 English title and an English abstract). Use \verb|language=...| for
747 every language used in the paper. The last language indicated is the
748 main language of the paper. For example, a French paper with
749 additional titles and abstracts in English and German may start with
750 the following command
751 \begin{verbatim}
752 \documentclass[sigconf, language=english, language=german,
753 language=french]{acmart}
754 \end{verbatim}
755
756 The title, subtitle, keywords and abstract will be typeset in the main
757 language of the paper. The commands \verb|\translatedXXX|, \verb|XXX|
758 begin title, subtitle and keywords, can be used to set these elements
759 in the other languages. The environment \verb|translatedabstract| is
760 used to set the translation of the abstract. These commands and
761 environment have a mandatory first argument: the language of the
762 second argument. See \verb|sample-sigconf-i13n.tex| file for examples
763 of their usage.
764
765 \section{SIGCHI Extended Abstracts}
766
767 The ``\verb|sigchi-a|'' template style (available only in \LaTeX\ and
768 not in Word) produces a landscape-orientation formatted article, with
769 a wide left margin. Three environments are available for use with the
770 ``\verb|sigchi-a|'' template style, and produce formatted output in
771 the margin:
772 \begin{description}
773 \item[\texttt{sidebar}:] Place formatted text in the margin.
774 \item[\texttt{marginfigure}:] Place a figure in the margin.
775 \item[\texttt{margintable}:] Place a table in the margin.
776 \end{description}
777
778 %%
779 %% The acknowledgments section is defined using the "acks" environment
780 %% (and NOT an unnumbered section). This ensures the proper
781 %% identification of the section in the article metadata, and the
782 %% consistent spelling of the heading.
783 \begin{acks}
784 To Robert, for the bagels and explaining CMYK and color spaces.
785 \end{acks}
786
787 %%
788 %% The next two lines define the bibliography style to be used, and
789 %% the bibliography file.
790 \bibliographystyle{ACM-Reference-Format}
791 \bibliography{sample-base}
792
793
794 %%
795 %% If your work has an appendix, this is the place to put it.
796 \appendix
797
798 \section{Research Methods}
799
800 \subsection{Part One}
801
802 Lorem ipsum dolor sit amet, consectetur adipiscing elit. Morbi
803 malesuada, quam in pulvinar varius, metus nunc fermentum urna, id
804 sollicitudin purus odio sit amet enim. Aliquam ullamcorper eu ipsum
805 vel mollis. Curabitur quis dictum nisl. Phasellus vel semper risus, et
806 lacinia dolor. Integer ultricies commodo sem nec semper.
807
808 \subsection{Part Two}
809
810 Etiam commodo feugiat nisl pulvinar pellentesque. Etiam auctor sodales
811 ligula, non varius nibh pulvinar semper. Suspendisse nec lectus non
812 ipsum convallis congue hendrerit vitae sapien. Donec at laoreet
813 eros. Vivamus non purus placerat, scelerisque diam eu, cursus
814 ante. Etiam aliquam tortor auctor efficitur mattis.
815
816 \section{Online Resources}
817
818 Nam id fermentum dui. Suspendisse sagittis tortor a nulla mollis, in
819 pulvinar ex pretium. Sed interdum orci quis metus euismod, et sagittis
820 enim maximus. Vestibulum gravida massa ut felis suscipit
821 congue. Quisque mattis elit a risus ultrices commodo venenatis eget
822 dui. Etiam sagittis eleifend elementum.
823
824 Nam interdum magna at lectus dignissim, ac dignissim lorem
825 rhoncus. Maecenas eu arcu ac neque placerat aliquam. Nunc pulvinar
826 massa et mattis lacinia.
827
828 \end{document}
829 \endinput
830 %%
831 %% End of file `sample-acmtog.tex'.