samples.dtx 28 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747
  1. %<*manuscript|acmsmall|acmlarge|acmtog|sigconf|authordraft|sigplan|sigchi|sigchi-a|acmsmall-conf>
  2. %%
  3. %% The first command in your LaTeX source must be the \documentclass command.
  4. %<manuscript>\documentclass[manuscript,screen]{acmart}
  5. %<acmsmall|acmsmall-conf>\documentclass[acmsmall]{acmart}
  6. %<acmlarge>\documentclass[acmlarge]{acmart}
  7. %<acmtog>\documentclass[acmtog]{acmart}
  8. %<sigconf>\documentclass[sigconf]{acmart}
  9. %<authordraft>\documentclass[sigconf,authordraft]{acmart}
  10. %<sigplan>\documentclass[sigplan,screen]{acmart}
  11. %<sigchi>\documentclass[sigchi]{acmart}
  12. %<sigchi-a>\documentclass[sigchi-a]{acmart}
  13. %%
  14. %% \BibTeX command to typeset BibTeX logo in the docs
  15. \AtBeginDocument{%
  16. \providecommand\BibTeX{{%
  17. \normalfont B\kern-0.5em{\scshape i\kern-0.25em b}\kern-0.8em\TeX}}}
  18. %% Rights management information. This information is sent to you
  19. %% when you complete the rights form. These commands have SAMPLE
  20. %% values in them; it is your responsibility as an author to replace
  21. %% the commands and values with those provided to you when you
  22. %% complete the rights form.
  23. %
  24. \setcopyright{acmcopyright}
  25. \copyrightyear{2018}
  26. \acmYear{2018}
  27. \acmDOI{10.1145/1122445.1122456}
  28. %</manuscript|acmsmall|acmlarge|acmtog|sigconf|authordraft|sigplan|sigchi|sigchi-a|acmsmall-conf>
  29. %<*manuscript|sigconf|authordraft|sigplan|sigchi|sigchi-a|acmsmall-conf>
  30. %% These commands are for a PROCEEDINGS abstract or paper.
  31. \acmConference[Woodstock '18]{Woodstock '18: ACM Symposium on Neural
  32. Gaze Detection}{June 03--05, 2018}{Woodstock, NY}
  33. \acmBooktitle{Woodstock '18: ACM Symposium on Neural Gaze Detection,
  34. June 03--05, 2018, Woodstock, NY}
  35. \acmPrice{15.00}
  36. \acmISBN{978-1-4503-XXXX-X/18/06}
  37. %</manuscript|sigconf|authordraft|sigplan|sigchi|sigchi-a|acmsmall-conf>
  38. %<*acmsmall|acmlarge|acmtog>
  39. %%
  40. %% These commands are for a JOURNAL article.
  41. %<acmsmall>\acmJournal{JACM}
  42. %<acmlarge>\acmJournal{POMACS}
  43. %<acmtog>\acmJournal{TOG}
  44. \acmVolume{37}
  45. \acmNumber{4}
  46. \acmArticle{111}
  47. \acmMonth{8}
  48. %</acmsmall|acmlarge|acmtog>
  49. %<*manuscript|acmsmall|acmlarge|acmtog|sigconf|authordraft|sigplan|sigchi|sigchi-a|acmsmall-conf>
  50. %%
  51. %% Submission ID.
  52. %% Use this when submitting an article to a sponsored event. You'll
  53. %% receive a unique submission ID from the organizers
  54. %% of the event, and this ID should be used as the parameter to this command.
  55. %%\acmSubmissionID{123-A56-BU3}
  56. %%
  57. %% The majority of ACM publications use numbered citations and
  58. %% references. The command \citestyle{authoryear} switches to the
  59. %% "author year" style.
  60. %%
  61. %% If you are preparing content for an event
  62. %% sponsored by ACM SIGGRAPH, you must use the "author year" style of
  63. %% citations and references.
  64. %<!acmtog>%% Uncommenting
  65. %<!acmtog>%% the next command will enable that style.
  66. %<!acmtog>%%\citestyle{acmauthoryear}
  67. %<acmtog>\citestyle{acmauthoryear}
  68. %%
  69. %% end of the preamble, start of the body of the document source.
  70. \begin{document}
  71. %%
  72. %% The "title" command has an optional parameter,
  73. %% allowing the author to define a "short title" to be used in page headers.
  74. \title{The Name of the Title is Hope}
  75. %%
  76. %% The "author" command and its associated commands are used to define
  77. %% the authors and their affiliations.
  78. %% Of note is the shared affiliation of the first two authors, and the
  79. %% "authornote" and "authornotemark" commands
  80. %% used to denote shared contribution to the research.
  81. \author{Ben Trovato}
  82. \authornote{Both authors contributed equally to this research.}
  83. \email{trovato@corporation.com}
  84. \orcid{1234-5678-9012}
  85. \author{G.K.M. Tobin}
  86. \authornotemark[1]
  87. \email{webmaster@marysville-ohio.com}
  88. \affiliation{%
  89. \institution{Institute for Clarity in Documentation}
  90. \streetaddress{P.O. Box 1212}
  91. \city{Dublin}
  92. \state{Ohio}
  93. \postcode{43017-6221}
  94. }
  95. \author{Lars Th{\o}rv{\"a}ld}
  96. \affiliation{%
  97. \institution{The Th{\o}rv{\"a}ld Group}
  98. \streetaddress{1 Th{\o}rv{\"a}ld Circle}
  99. \city{Hekla}
  100. \country{Iceland}}
  101. \email{larst@affiliation.org}
  102. \author{Valerie B\'eranger}
  103. \affiliation{%
  104. \institution{Inria Paris-Rocquencourt}
  105. \city{Rocquencourt}
  106. \country{France}
  107. }
  108. \author{Aparna Patel}
  109. \affiliation{%
  110. \institution{Rajiv Gandhi University}
  111. \streetaddress{Rono-Hills}
  112. \city{Doimukh}
  113. \state{Arunachal Pradesh}
  114. \country{India}}
  115. \author{Huifen Chan}
  116. \affiliation{%
  117. \institution{Tsinghua University}
  118. \streetaddress{30 Shuangqing Rd}
  119. \city{Haidian Qu}
  120. \state{Beijing Shi}
  121. \country{China}}
  122. \author{Charles Palmer}
  123. \affiliation{%
  124. \institution{Palmer Research Laboratories}
  125. \streetaddress{8600 Datapoint Drive}
  126. \city{San Antonio}
  127. \state{Texas}
  128. \postcode{78229}}
  129. \email{cpalmer@prl.com}
  130. \author{John Smith}
  131. \affiliation{\institution{The Th{\o}rv{\"a}ld Group}}
  132. \email{jsmith@affiliation.org}
  133. \author{Julius P. Kumquat}
  134. \affiliation{\institution{The Kumquat Consortium}}
  135. \email{jpkumquat@consortium.net}
  136. %%
  137. %% By default, the full list of authors will be used in the page
  138. %% headers. Often, this list is too long, and will overlap
  139. %% other information printed in the page headers. This command allows
  140. %% the author to define a more concise list
  141. %% of authors' names for this purpose.
  142. \renewcommand{\shortauthors}{Trovato and Tobin, et al.}
  143. %%
  144. %% The abstract is a short summary of the work to be presented in the
  145. %% article.
  146. \begin{abstract}
  147. A clear and well-documented \LaTeX\ document is presented as an
  148. article formatted for publication by ACM in a conference proceedings
  149. or journal publication. Based on the ``acmart'' document class, this
  150. article presents and explains many of the common variations, as well
  151. as many of the formatting elements an author may use in the
  152. preparation of the documentation of their work.
  153. \end{abstract}
  154. %%
  155. %% The code below is generated by the tool at http://dl.acm.org/ccs.cfm.
  156. %% Please copy and paste the code instead of the example below.
  157. %%
  158. \begin{CCSXML}
  159. <ccs2012>
  160. <concept>
  161. <concept_id>10010520.10010553.10010562</concept_id>
  162. <concept_desc>Computer systems organization~Embedded systems</concept_desc>
  163. <concept_significance>500</concept_significance>
  164. </concept>
  165. <concept>
  166. <concept_id>10010520.10010575.10010755</concept_id>
  167. <concept_desc>Computer systems organization~Redundancy</concept_desc>
  168. <concept_significance>300</concept_significance>
  169. </concept>
  170. <concept>
  171. <concept_id>10010520.10010553.10010554</concept_id>
  172. <concept_desc>Computer systems organization~Robotics</concept_desc>
  173. <concept_significance>100</concept_significance>
  174. </concept>
  175. <concept>
  176. <concept_id>10003033.10003083.10003095</concept_id>
  177. <concept_desc>Networks~Network reliability</concept_desc>
  178. <concept_significance>100</concept_significance>
  179. </concept>
  180. </ccs2012>
  181. \end{CCSXML}
  182. \ccsdesc[500]{Computer systems organization~Embedded systems}
  183. \ccsdesc[300]{Computer systems organization~Redundancy}
  184. \ccsdesc{Computer systems organization~Robotics}
  185. \ccsdesc[100]{Networks~Network reliability}
  186. %%
  187. %% Keywords. The author(s) should pick words that accurately describe
  188. %% the work being presented. Separate the keywords with commas.
  189. \keywords{datasets, neural networks, gaze detection, text tagging}
  190. %</manuscript|acmsmall|acmlarge|acmtog|sigconf|authordraft|sigplan|sigchi|sigchi-a|acmsmall-conf>
  191. %<*sigconf|authordraft|sigplan|acmsmall-conf>
  192. %% A "teaser" image appears between the author and affiliation
  193. %% information and the body of the document, and typically spans the
  194. %% page.
  195. \begin{teaserfigure}
  196. \includegraphics[width=\textwidth]{sampleteaser}
  197. \caption{Seattle Mariners at Spring Training, 2010.}
  198. \Description{Enjoying the baseball game from the third-base
  199. seats. Ichiro Suzuki preparing to bat.}
  200. \label{fig:teaser}
  201. \end{teaserfigure}
  202. %</sigconf|authordraft|sigplan|acmsmall-conf>
  203. %<*manuscript|acmsmall|acmlarge|acmtog|sigconf|authordraft|sigplan|sigchi|sigchi-a|acmsmall-conf>
  204. %%
  205. %% This command processes the author and affiliation and title
  206. %% information and builds the first part of the formatted document.
  207. \maketitle
  208. \section{Introduction}
  209. ACM's consolidated article template, introduced in 2017, provides a
  210. consistent \LaTeX\ style for use across ACM publications, and
  211. incorporates accessibility and metadata-extraction functionality
  212. necessary for future Digital Library endeavors. Numerous ACM and
  213. SIG-specific \LaTeX\ templates have been examined, and their unique
  214. features incorporated into this single new template.
  215. If you are new to publishing with ACM, this document is a valuable
  216. guide to the process of preparing your work for publication. If you
  217. have published with ACM before, this document provides insight and
  218. instruction into more recent changes to the article template.
  219. The ``\verb|acmart|'' document class can be used to prepare articles
  220. for any ACM publication --- conference or journal, and for any stage
  221. of publication, from review to final ``camera-ready'' copy, to the
  222. author's own version, with {\itshape very} few changes to the source.
  223. \section{Template Overview}
  224. As noted in the introduction, the ``\verb|acmart|'' document class can
  225. be used to prepare many different kinds of documentation --- a
  226. double-blind initial submission of a full-length technical paper, a
  227. two-page SIGGRAPH Emerging Technologies abstract, a ``camera-ready''
  228. journal article, a SIGCHI Extended Abstract, and more --- all by
  229. selecting the appropriate {\itshape template style} and {\itshape
  230. template parameters}.
  231. This document will explain the major features of the document
  232. class. For further information, the {\itshape \LaTeX\ User's Guide} is
  233. available from
  234. \url{https://www.acm.org/publications/proceedings-template}.
  235. \subsection{Template Styles}
  236. The primary parameter given to the ``\verb|acmart|'' document class is
  237. the {\itshape template style} which corresponds to the kind of publication
  238. or SIG publishing the work. This parameter is enclosed in square
  239. brackets and is a part of the {\verb|documentclass|} command:
  240. \begin{verbatim}
  241. \documentclass[STYLE]{acmart}
  242. \end{verbatim}
  243. Journals use one of three template styles. All but three ACM journals
  244. use the {\verb|acmsmall|} template style:
  245. \begin{itemize}
  246. \item {\verb|acmsmall|}: The default journal template style.
  247. \item {\verb|acmlarge|}: Used by JOCCH and TAP.
  248. \item {\verb|acmtog|}: Used by TOG.
  249. \end{itemize}
  250. The majority of conference proceedings documentation will use the {\verb|acmconf|} template style.
  251. \begin{itemize}
  252. \item {\verb|acmconf|}: The default proceedings template style.
  253. \item{\verb|sigchi|}: Used for SIGCHI conference articles.
  254. \item{\verb|sigchi-a|}: Used for SIGCHI ``Extended Abstract'' articles.
  255. \item{\verb|sigplan|}: Used for SIGPLAN conference articles.
  256. \end{itemize}
  257. \subsection{Template Parameters}
  258. In addition to specifying the {\itshape template style} to be used in
  259. formatting your work, there are a number of {\itshape template parameters}
  260. which modify some part of the applied template style. A complete list
  261. of these parameters can be found in the {\itshape \LaTeX\ User's Guide.}
  262. Frequently-used parameters, or combinations of parameters, include:
  263. \begin{itemize}
  264. \item {\verb|anonymous,review|}: Suitable for a ``double-blind''
  265. conference submission. Anonymizes the work and includes line
  266. numbers. Use with the \verb|\acmSubmissionID| command to print the
  267. submission's unique ID on each page of the work.
  268. \item{\verb|authorversion|}: Produces a version of the work suitable
  269. for posting by the author.
  270. \item{\verb|screen|}: Produces colored hyperlinks.
  271. \end{itemize}
  272. This document uses the following string as the first command in the
  273. source file:
  274. \begin{verbatim}
  275. %<manuscript>\documentclass[manuscript,screen]{acmart}
  276. %<acmsmall|acmsmall-conf>\documentclass[acmsmall]{acmart}
  277. %<acmlarge>\documentclass[acmlarge]{acmart}
  278. %<acmtog>\documentclass[acmtog]{acmart}
  279. %<sigconf>\documentclass[sigconf]{acmart}
  280. %<authordraft>\documentclass[sigconf,authordraft]{acmart}
  281. %<sigplan>\documentclass[sigplan,screen]{acmart}
  282. %<sigchi>\documentclass[sigchi]{acmart}
  283. %<sigchi-a>\documentclass[sigchi-a]{acmart}
  284. \end{verbatim}
  285. \section{Modifications}
  286. Modifying the template --- including but not limited to: adjusting
  287. margins, typeface sizes, line spacing, paragraph and list definitions,
  288. and the use of the \verb|\vspace| command to manually adjust the
  289. vertical spacing between elements of your work --- is not allowed.
  290. {\bfseries Your document will be returned to you for revision if
  291. modifications are discovered.}
  292. \section{Typefaces}
  293. The ``\verb|acmart|'' document class requires the use of the
  294. ``Libertine'' typeface family. Your \TeX\ installation should include
  295. this set of packages. Please do not substitute other typefaces. The
  296. ``\verb|lmodern|'' and ``\verb|ltimes|'' packages should not be used,
  297. as they will override the built-in typeface families.
  298. \section{Title Information}
  299. The title of your work should use capital letters appropriately -
  300. \url{https://capitalizemytitle.com/} has useful rules for
  301. capitalization. Use the {\verb|title|} command to define the title of
  302. your work. If your work has a subtitle, define it with the
  303. {\verb|subtitle|} command. Do not insert line breaks in your title.
  304. If your title is lengthy, you must define a short version to be used
  305. in the page headers, to prevent overlapping text. The \verb|title|
  306. command has a ``short title'' parameter:
  307. \begin{verbatim}
  308. \title[short title]{full title}
  309. \end{verbatim}
  310. \section{Authors and Affiliations}
  311. Each author must be defined separately for accurate metadata
  312. identification. Multiple authors may share one affiliation. Authors'
  313. names should not be abbreviated; use full first names wherever
  314. possible. Include authors' e-mail addresses whenever possible.
  315. Grouping authors' names or e-mail addresses, or providing an ``e-mail
  316. alias,'' as shown below, is not acceptable:
  317. \begin{verbatim}
  318. \author{Brooke Aster, David Mehldau}
  319. \email{dave,judy,steve@university.edu}
  320. \email{firstname.lastname@phillips.org}
  321. \end{verbatim}
  322. The \verb|authornote| and \verb|authornotemark| commands allow a note
  323. to apply to multiple authors --- for example, if the first two authors
  324. of an article contributed equally to the work.
  325. If your author list is lengthy, you must define a shortened version of
  326. the list of authors to be used in the page headers, to prevent
  327. overlapping text. The following command should be placed just after
  328. the last \verb|\author{}| definition:
  329. \begin{verbatim}
  330. \renewcommand{\shortauthors}{McCartney, et al.}
  331. \end{verbatim}
  332. Omitting this command will force the use of a concatenated list of all
  333. of the authors' names, which may result in overlapping text in the
  334. page headers.
  335. The article template's documentation, available at
  336. \url{https://www.acm.org/publications/proceedings-template}, has a
  337. complete explanation of these commands and tips for their effective
  338. use.
  339. \section{Rights Information}
  340. Authors of any work published by ACM will need to complete a rights
  341. form. Depending on the kind of work, and the rights management choice
  342. made by the author, this may be copyright transfer, permission,
  343. license, or an OA (open access) agreement.
  344. Regardless of the rights management choice, the author will receive a
  345. copy of the completed rights form once it has been submitted. This
  346. form contains \LaTeX\ commands that must be copied into the source
  347. document. When the document source is compiled, these commands and
  348. their parameters add formatted text to several areas of the final
  349. document:
  350. \begin{itemize}
  351. \item the ``ACM Reference Format'' text on the first page.
  352. \item the ``rights management'' text on the first page.
  353. \item the conference information in the page header(s).
  354. \end{itemize}
  355. Rights information is unique to the work; if you are preparing several
  356. works for an event, make sure to use the correct set of commands with
  357. each of the works.
  358. \section{CCS Concepts and User-Defined Keywords}
  359. Two elements of the ``acmart'' document class provide powerful
  360. taxonomic tools for you to help readers find your work in an online
  361. search.
  362. The ACM Computing Classification System ---
  363. \url{https://www.acm.org/publications/class-2012} --- is a set of
  364. classifiers and concepts that describe the computing
  365. discipline. Authors can select entries from this classification
  366. system, via \url{https://dl.acm.org/ccs/ccs.cfm}, and generate the
  367. commands to be included in the \LaTeX\ source.
  368. User-defined keywords are a comma-separated list of words and phrases
  369. of the authors' choosing, providing a more flexible way of describing
  370. the research being presented.
  371. CCS concepts and user-defined keywords are required for all short- and
  372. full-length articles, and optional for two-page abstracts.
  373. \section{Sectioning Commands}
  374. Your work should use standard \LaTeX\ sectioning commands:
  375. \verb|section|, \verb|subsection|, \verb|subsubsection|, and
  376. \verb|paragraph|. They should be numbered; do not remove the numbering
  377. from the commands.
  378. Simulating a sectioning command by setting the first word or words of
  379. a paragraph in boldface or italicized text is {\bfseries not allowed.}
  380. \section{Tables}
  381. The ``\verb|acmart|'' document class includes the ``\verb|booktabs|''
  382. package --- \url{https://ctan.org/pkg/booktabs} --- for preparing
  383. high-quality tables.
  384. Table captions are placed {\itshape above} the table.
  385. Because tables cannot be split across pages, the best placement for
  386. them is typically the top of the page nearest their initial cite. To
  387. ensure this proper ``floating'' placement of tables, use the
  388. environment \textbf{table} to enclose the table's contents and the
  389. table caption. The contents of the table itself must go in the
  390. \textbf{tabular} environment, to be aligned properly in rows and
  391. columns, with the desired horizontal and vertical rules. Again,
  392. detailed instructions on \textbf{tabular} material are found in the
  393. \textit{\LaTeX\ User's Guide}.
  394. Immediately following this sentence is the point at which
  395. Table~\ref{tab:freq} is included in the input file; compare the
  396. placement of the table here with the table in the printed output of
  397. this document.
  398. %<!sigchi-a>\begin{table}
  399. %<sigchi-a>\begin{margintable}
  400. \caption{Frequency of Special Characters}
  401. \label{tab:freq}
  402. \begin{tabular}{ccl}
  403. \toprule
  404. Non-English or Math&Frequency&Comments\\
  405. \midrule
  406. \O & 1 in 1,000& For Swedish names\\
  407. $\pi$ & 1 in 5& Common in math\\
  408. \$ & 4 in 5 & Used in business\\
  409. $\Psi^2_1$ & 1 in 40,000& Unexplained usage\\
  410. \bottomrule
  411. \end{tabular}
  412. %<!sigchi-a>\end{table}
  413. %<sigchi-a>\end{margintable}
  414. To set a wider table, which takes up the whole width of the page's
  415. live area, use the environment \textbf{table*} to enclose the table's
  416. contents and the table caption. As with a single-column table, this
  417. wide table will ``float'' to a location deemed more
  418. desirable. Immediately following this sentence is the point at which
  419. Table~\ref{tab:commands} is included in the input file; again, it is
  420. instructive to compare the placement of the table here with the table
  421. in the printed output of this document.
  422. \begin{table*}
  423. \caption{Some Typical Commands}
  424. \label{tab:commands}
  425. \begin{tabular}{ccl}
  426. \toprule
  427. Command &A Number & Comments\\
  428. \midrule
  429. \texttt{{\char'134}author} & 100& Author \\
  430. \texttt{{\char'134}table}& 300 & For tables\\
  431. \texttt{{\char'134}table*}& 400& For wider tables\\
  432. \bottomrule
  433. \end{tabular}
  434. \end{table*}
  435. \section{Math Equations}
  436. You may want to display math equations in three distinct styles:
  437. inline, numbered or non-numbered display. Each of the three are
  438. discussed in the next sections.
  439. \subsection{Inline (In-text) Equations}
  440. A formula that appears in the running text is called an inline or
  441. in-text formula. It is produced by the \textbf{math} environment,
  442. which can be invoked with the usual
  443. \texttt{{\char'134}begin\,\ldots{\char'134}end} construction or with
  444. the short form \texttt{\$\,\ldots\$}. You can use any of the symbols
  445. and structures, from $\alpha$ to $\omega$, available in
  446. \LaTeX~\cite{Lamport:LaTeX}; this section will simply show a few
  447. examples of in-text equations in context. Notice how this equation:
  448. \begin{math}
  449. \lim_{n\rightarrow \infty}x=0
  450. \end{math},
  451. set here in in-line math style, looks slightly different when
  452. set in display style. (See next section).
  453. \subsection{Display Equations}
  454. A numbered display equation---one set off by vertical space from the
  455. text and centered horizontally---is produced by the \textbf{equation}
  456. environment. An unnumbered display equation is produced by the
  457. \textbf{displaymath} environment.
  458. Again, in either environment, you can use any of the symbols and
  459. structures available in \LaTeX\@; this section will just give a couple
  460. of examples of display equations in context. First, consider the
  461. equation, shown as an inline equation above:
  462. \begin{equation}
  463. \lim_{n\rightarrow \infty}x=0
  464. \end{equation}
  465. Notice how it is formatted somewhat differently in
  466. the \textbf{displaymath}
  467. environment. Now, we'll enter an unnumbered equation:
  468. \begin{displaymath}
  469. \sum_{i=0}^{\infty} x + 1
  470. \end{displaymath}
  471. and follow it with another numbered equation:
  472. \begin{equation}
  473. \sum_{i=0}^{\infty}x_i=\int_{0}^{\pi+2} f
  474. \end{equation}
  475. just to demonstrate \LaTeX's able handling of numbering.
  476. \section{Figures}
  477. The ``\verb|figure|'' environment should be used for figures. One or
  478. more images can be placed within a figure. If your figure contains
  479. third-party material, you must clearly identify it as such, as shown
  480. in the example below.
  481. %<!sigchi-a>\begin{figure}[h]
  482. %<sigchi-a>\begin{marginfigure}
  483. \centering
  484. \includegraphics[width=\linewidth]{sample-franklin}
  485. \caption{1907 Franklin Model D roadster. Photograph by Harris \&
  486. Ewing, Inc. [Public domain], via Wikimedia
  487. Commons. (\url{https://goo.gl/VLCRBB}).}
  488. \Description{The 1907 Franklin Model D roadster.}
  489. %<!sigchi-a>\end{figure}
  490. %<sigchi-a>\end{marginfigure}
  491. Your figures should contain a caption which describes the figure to
  492. the reader. Figure captions go below the figure. Your figures should
  493. {\bfseries also} include a description suitable for screen readers, to
  494. assist the visually-challenged to better understand your work.
  495. Figure captions are placed {\itshape below} the figure.
  496. \subsection{The ``Teaser Figure''}
  497. A ``teaser figure'' is an image, or set of images in one figure, that
  498. are placed after all author and affiliation information, and before
  499. the body of the article, spanning the page. If you wish to have such a
  500. figure in your article, place the command immediately before the
  501. \verb|\maketitle| command:
  502. \begin{verbatim}
  503. \begin{teaserfigure}
  504. \includegraphics[width=\textwidth]{sampleteaser}
  505. \caption{figure caption}
  506. \Description{figure description}
  507. \end{teaserfigure}
  508. \end{verbatim}
  509. \section{Citations and Bibliographies}
  510. The use of \BibTeX\ for the preparation and formatting of one's
  511. references is strongly recommended. Authors' names should be complete
  512. --- use full first names (``Donald E. Knuth'') not initials
  513. (``D. E. Knuth'') --- and the salient identifying features of a
  514. reference should be included: title, year, volume, number, pages,
  515. article DOI, etc.
  516. The bibliography is included in your source document with these two
  517. commands, placed just before the \verb|\end{document}| command:
  518. \begin{verbatim}
  519. \bibliographystyle{ACM-Reference-Format}
  520. \bibliography{bibfile}
  521. \end{verbatim}
  522. where ``\verb|bibfile|'' is the name, without the ``\verb|.bib|''
  523. suffix, of the \BibTeX\ file.
  524. Citations and references are numbered by default. A small number of
  525. ACM publications have citations and references formatted in the
  526. ``author year'' style; for these exceptions, please include this
  527. command in the {\bfseries preamble} (before
  528. ``\verb|\begin{document}|'') of your \LaTeX\ source:
  529. \begin{verbatim}
  530. \citestyle{acmauthoryear}
  531. \end{verbatim}
  532. Some examples. A paginated journal article \cite{Abril07}, an
  533. enumerated journal article \cite{Cohen07}, a reference to an entire
  534. issue \cite{JCohen96}, a monograph (whole book) \cite{Kosiur01}, a
  535. monograph/whole book in a series (see 2a in spec. document)
  536. \cite{Harel79}, a divisible-book such as an anthology or compilation
  537. \cite{Editor00} followed by the same example, however we only output
  538. the series if the volume number is given \cite{Editor00a} (so
  539. Editor00a's series should NOT be present since it has no vol. no.),
  540. a chapter in a divisible book \cite{Spector90}, a chapter in a
  541. divisible book in a series \cite{Douglass98}, a multi-volume work as
  542. book \cite{Knuth97}, an article in a proceedings (of a conference,
  543. symposium, workshop for example) (paginated proceedings article)
  544. \cite{Andler79}, a proceedings article with all possible elements
  545. \cite{Smith10}, an example of an enumerated proceedings article
  546. \cite{VanGundy07}, an informally published work \cite{Harel78}, a
  547. doctoral dissertation \cite{Clarkson85}, a master's thesis:
  548. \cite{anisi03}, an online document / world wide web resource
  549. \cite{Thornburg01, Ablamowicz07, Poker06}, a video game (Case 1)
  550. \cite{Obama08} and (Case 2) \cite{Novak03} and \cite{Lee05} and
  551. (Case 3) a patent \cite{JoeScientist001}, work accepted for
  552. publication \cite{rous08}, 'YYYYb'-test for prolific author
  553. \cite{SaeediMEJ10} and \cite{SaeediJETC10}. Other cites might
  554. contain 'duplicate' DOI and URLs (some SIAM articles)
  555. \cite{Kirschmer:2010:AEI:1958016.1958018}. Boris / Barbara Beeton:
  556. multi-volume works as books \cite{MR781536} and \cite{MR781537}. A
  557. couple of citations with DOIs:
  558. \cite{2004:ITE:1009386.1010128,Kirschmer:2010:AEI:1958016.1958018}. Online
  559. citations: \cite{TUGInstmem, Thornburg01, CTANacmart}. Artifacts:
  560. \cite{R} and \cite{UMassCitations}.
  561. \section{Acknowledgments}
  562. Identification of funding sources and other support, and thanks to
  563. individuals and groups that assisted in the research and the
  564. preparation of the work should be included in an acknowledgment
  565. section, which is placed just before the reference section in your
  566. document.
  567. This section has a special environment:
  568. \begin{verbatim}
  569. \begin{acks}
  570. ...
  571. \end{acks}
  572. \end{verbatim}
  573. so that the information contained therein can be more easily collected
  574. during the article metadata extraction phase, and to ensure
  575. consistency in the spelling of the section heading.
  576. Authors should not prepare this section as a numbered or unnumbered {\verb|\section|}; please use the ``{\verb|acks|}'' environment.
  577. \section{Appendices}
  578. If your work needs an appendix, add it before the
  579. ``\verb|\end{document}|'' command at the conclusion of your source
  580. document.
  581. Start the appendix with the ``\verb|appendix|'' command:
  582. \begin{verbatim}
  583. \appendix
  584. \end{verbatim}
  585. and note that in the appendix, sections are lettered, not
  586. numbered. This document has two appendices, demonstrating the section
  587. and subsection identification method.
  588. \section{SIGCHI Extended Abstracts}
  589. The ``\verb|sigchi-a|'' template style (available only in \LaTeX\ and
  590. not in Word) produces a landscape-orientation formatted article, with
  591. a wide left margin. Three environments are available for use with the
  592. ``\verb|sigchi-a|'' template style, and produce formatted output in
  593. the margin:
  594. \begin{itemize}
  595. \item {\verb|sidebar|}: Place formatted text in the margin.
  596. \item {\verb|marginfigure|}: Place a figure in the margin.
  597. \item {\verb|margintable|}: Place a table in the margin.
  598. \end{itemize}
  599. %%
  600. %% The acknowledgments section is defined using the "acks" environment
  601. %% (and NOT an unnumbered section). This ensures the proper
  602. %% identification of the section in the article metadata, and the
  603. %% consistent spelling of the heading.
  604. \begin{acks}
  605. To Robert, for the bagels and explaining CMYK and color spaces.
  606. \end{acks}
  607. %%
  608. %% The next two lines define the bibliography style to be used, and
  609. %% the bibliography file.
  610. \bibliographystyle{ACM-Reference-Format}
  611. \bibliography{sample-base}
  612. %%
  613. %% If your work has an appendix, this is the place to put it.
  614. \appendix
  615. \section{Research Methods}
  616. \subsection{Part One}
  617. Lorem ipsum dolor sit amet, consectetur adipiscing elit. Morbi
  618. malesuada, quam in pulvinar varius, metus nunc fermentum urna, id
  619. sollicitudin purus odio sit amet enim. Aliquam ullamcorper eu ipsum
  620. vel mollis. Curabitur quis dictum nisl. Phasellus vel semper risus, et
  621. lacinia dolor. Integer ultricies commodo sem nec semper.
  622. \subsection{Part Two}
  623. Etiam commodo feugiat nisl pulvinar pellentesque. Etiam auctor sodales
  624. ligula, non varius nibh pulvinar semper. Suspendisse nec lectus non
  625. ipsum convallis congue hendrerit vitae sapien. Donec at laoreet
  626. eros. Vivamus non purus placerat, scelerisque diam eu, cursus
  627. ante. Etiam aliquam tortor auctor efficitur mattis.
  628. \section{Online Resources}
  629. Nam id fermentum dui. Suspendisse sagittis tortor a nulla mollis, in
  630. pulvinar ex pretium. Sed interdum orci quis metus euismod, et sagittis
  631. enim maximus. Vestibulum gravida massa ut felis suscipit
  632. congue. Quisque mattis elit a risus ultrices commodo venenatis eget
  633. dui. Etiam sagittis eleifend elementum.
  634. Nam interdum magna at lectus dignissim, ac dignissim lorem
  635. rhoncus. Maecenas eu arcu ac neque placerat aliquam. Nunc pulvinar
  636. massa et mattis lacinia.
  637. \end{document}
  638. %</manuscript|acmsmall|acmlarge|acmtog|sigconf|authordraft|sigplan|sigchi|sigchi-a|acmsmall-conf>