sample-xelatex.tex 27 KB

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