Debian Codegraph @

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

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