annotate docs/WAC2016/sig-alternate-sample.tex @ 628:520c4525c9b3 Dev_main

Moved returnDateNode() into interfaceContext. returnDateNode no longer uses deprecated Attribute Objects.
author Nicholas Jillings <n.g.r.jillings@se14.qmul.ac.uk>
date Mon, 21 Mar 2016 15:15:40 +0000
parents 4b98df0aa112
children
rev   line source
n@581 1 % This is "sig-alternate.tex" V2.1 April 2013
n@581 2 % This file should be compiled with V2.8 of "sig-alternate.cls" May 2012
n@581 3 %
n@581 4 % This example file demonstrates the use of the 'sig-alternate.cls'
n@581 5 % V2.8 LaTeX2e document class file. It is for those submitting
n@581 6 % articles to ACM Conference Proceedings WHO DO NOT WISH TO
n@581 7 % STRICTLY ADHERE TO THE SIGS (PUBS-BOARD-ENDORSED) STYLE.
n@581 8 % The 'sig-alternate.cls' file will produce a similar-looking,
n@581 9 % albeit, 'tighter' paper resulting in, invariably, fewer pages.
n@581 10 %
n@581 11 % ----------------------------------------------------------------------------------------------------------------
n@581 12 % This .tex file (and associated .cls V2.8) produces:
n@581 13 % 1) The Permission Statement
n@581 14 % 2) The Conference (location) Info information
n@581 15 % 3) The Copyright Line with ACM data
n@581 16 % 4) NO page numbers
n@581 17 %
n@581 18 % as against the acm_proc_article-sp.cls file which
n@581 19 % DOES NOT produce 1) thru' 3) above.
n@581 20 %
n@581 21 % Using 'sig-alternate.cls' you have control, however, from within
n@581 22 % the source .tex file, over both the CopyrightYear
n@581 23 % (defaulted to 200X) and the ACM Copyright Data
n@581 24 % (defaulted to X-XXXXX-XX-X/XX/XX).
n@581 25 % e.g.
n@581 26 % \CopyrightYear{2007} will cause 2007 to appear in the copyright line.
n@581 27 % \crdata{0-12345-67-8/90/12} will cause 0-12345-67-8/90/12 to appear in the copyright line.
n@581 28 %
n@581 29 % ---------------------------------------------------------------------------------------------------------------
n@581 30 % This .tex source is an example which *does* use
n@581 31 % the .bib file (from which the .bbl file % is produced).
n@581 32 % REMEMBER HOWEVER: After having produced the .bbl file,
n@581 33 % and prior to final submission, you *NEED* to 'insert'
n@581 34 % your .bbl file into your source .tex file so as to provide
n@581 35 % ONE 'self-contained' source file.
n@581 36 %
n@581 37 % ================= IF YOU HAVE QUESTIONS =======================
n@581 38 % Questions regarding the SIGS styles, SIGS policies and
n@581 39 % procedures, Conferences etc. should be sent to
n@581 40 % Adrienne Griscti (griscti@acm.org)
n@581 41 %
n@581 42 % Technical questions _only_ to
n@581 43 % Gerald Murray (murray@hq.acm.org)
n@581 44 % ===============================================================
n@581 45 %
n@581 46 % For tracking purposes - this is V2.0 - May 2012
n@581 47
n@581 48 \documentclass{sig-alternate}
n@581 49
n@581 50 \setlength{\paperheight}{11in}
n@581 51 \setlength{\paperwidth}{8.5in}
n@581 52 \usepackage[
n@581 53 pass,% keep layout unchanged
n@581 54 % showframe,% show the layout
n@581 55 ]{geometry}
n@581 56
n@581 57 \begin{document}
n@581 58
n@581 59 % Copyright
n@581 60 \setcopyright{waclicense}
n@581 61
n@581 62
n@581 63 %% DOI
n@581 64 %\doi{10.475/123_4}
n@581 65 %
n@581 66 %% ISBN
n@581 67 %\isbn{123-4567-24-567/08/06}
n@581 68 %
n@581 69 %%Conference
n@581 70 %\conferenceinfo{PLDI '13}{June 16--19, 2013, Seattle, WA, USA}
n@581 71 %
n@581 72 %\acmPrice{\$15.00}
n@581 73
n@581 74 %
n@581 75 % --- Author Metadata here ---
n@581 76 \conferenceinfo{Web Audio Conference WAC-2016,}{April 4--6, 2016, Atlanta, USA.}
n@581 77 \CopyrightYear{2016} % Allows default copyright year (20XX) to be over-ridden - IF NEED BE.
n@581 78 %\crdata{0-12345-67-8/90/01} % Allows default copyright data (0-89791-88-6/97/05) to be over-ridden - IF NEED BE.
n@581 79 % --- End of Author Metadata ---
n@581 80
n@581 81 \title{Latex Template for WAC 2016}
n@581 82 %\subtitle{[Extended Abstract]
n@581 83 %\titlenote{A full version of this paper is available as
n@581 84 %\textit{Author's Guide to Preparing ACM SIG Proceedings Using
n@581 85 %\LaTeX$2_\epsilon$\ and BibTeX} at
n@581 86 %\texttt{www.acm.org/eaddress.htm}}}
n@581 87 %
n@581 88 % You need the command \numberofauthors to handle the 'placement
n@581 89 % and alignment' of the authors beneath the title.
n@581 90 %
n@581 91 % For aesthetic reasons, we recommend 'three authors at a time'
n@581 92 % i.e. three 'name/affiliation blocks' be placed beneath the title.
n@581 93 %
n@581 94 % NOTE: You are NOT restricted in how many 'rows' of
n@581 95 % "name/affiliations" may appear. We just ask that you restrict
n@581 96 % the number of 'columns' to three.
n@581 97 %
n@581 98 % Because of the available 'opening page real-estate'
n@581 99 % we ask you to refrain from putting more than six authors
n@581 100 % (two rows with three columns) beneath the article title.
n@581 101 % More than six makes the first-page appear very cluttered indeed.
n@581 102 %
n@581 103 % Use the \alignauthor commands to handle the names
n@581 104 % and affiliations for an 'aesthetic maximum' of six authors.
n@581 105 % Add names, affiliations, addresses for
n@581 106 % the seventh etc. author(s) as the argument for the
n@581 107 % \additionalauthors command.
n@581 108 % These 'additional authors' will be output/set for you
n@581 109 % without further effort on your part as the last section in
n@581 110 % the body of your article BEFORE References or any Appendices.
n@581 111
n@581 112 \numberofauthors{8} % in this sample file, there are a *total*
n@581 113 % of EIGHT authors. SIX appear on the 'first-page' (for formatting
n@581 114 % reasons) and the remaining two appear in the \additionalauthors section.
n@581 115 %
n@581 116 \author{
n@581 117 % You can go ahead and credit any number of authors here,
n@581 118 % e.g. one 'row of three' or two rows (consisting of one row of three
n@581 119 % and a second row of one, two or three).
n@581 120 %
n@581 121 % The command \alignauthor (no curly braces needed) should
n@581 122 % precede each author name, affiliation/snail-mail address and
n@581 123 % e-mail address. Additionally, tag each line of
n@581 124 % affiliation/address with \affaddr, and tag the
n@581 125 % e-mail address with \email.
n@581 126 %
n@581 127 % 1st. author
n@581 128 \alignauthor
n@581 129 Ben Trovato\titlenote{Dr.~Trovato insisted his name be first.}\\
n@581 130 \affaddr{Institute for Clarity in Documentation}\\
n@581 131 \affaddr{1932 Wallamaloo Lane}\\
n@581 132 \email{trovato@corporation.com}
n@581 133 % 2nd. author
n@581 134 \alignauthor
n@581 135 G.K.M. Tobin\titlenote{The secretary disavows
n@581 136 any knowledge of this author's actions.}\\
n@581 137 \affaddr{Institute for Clarity in Documentation}\\
n@581 138 \affaddr{P.O. Box 1212}\\
n@581 139 \email{webmaster@marysville-ohio.com}
n@581 140 % 3rd. author
n@581 141 \alignauthor Lars Th{\o}rv{\"a}ld\titlenote{This author is the
n@581 142 one who did all the really hard work.}\\
n@581 143 \affaddr{The Th{\o}rv{\"a}ld Group}\\
n@581 144 \affaddr{1 Th{\o}rv{\"a}ld Circle}\\
n@581 145 \email{larst@affiliation.org}
n@581 146 \and % use '\and' if you need 'another row' of author names
n@581 147 % 4th. author
n@581 148 \alignauthor Lawrence P. Leipuner\\
n@581 149 \affaddr{Brookhaven Laboratories}\\
n@581 150 \affaddr{Brookhaven National Lab}\\
n@581 151 \email{lleipuner@researchlabs.org}
n@581 152 % 5th. author
n@581 153 \alignauthor Sean Fogarty\\
n@581 154 \affaddr{NASA Ames Research Center}\\
n@581 155 \affaddr{Moffett Field}\\
n@581 156 \email{fogartys@amesres.org}
n@581 157 % 6th. author
n@581 158 \alignauthor Charles Palmer\\
n@581 159 \affaddr{Palmer Research Laboratories}\\
n@581 160 \affaddr{8600 Datapoint Drive}\\
n@581 161 \email{cpalmer@prl.com}
n@581 162 }
n@581 163 % There's nothing stopping you putting the seventh, eighth, etc.
n@581 164 % author on the opening page (as the 'third row') but we ask,
n@581 165 % for aesthetic reasons that you place these 'additional authors'
n@581 166 % in the \additional authors block, viz.
n@581 167 \additionalauthors{Additional authors: John Smith (The Th{\o}rv{\"a}ld Group,
n@581 168 email: {\texttt{jsmith@affiliation.org}}) and Julius P.~Kumquat
n@581 169 (The Kumquat Consortium, email: {\texttt{jpkumquat@consortium.net}}).}
n@581 170 \date{30 July 1999}
n@581 171 % Just remember to make sure that the TOTAL number of authors
n@581 172 % is the number that will appear on the first page PLUS the
n@581 173 % number that will appear in the \additionalauthors section.
n@581 174
n@581 175 \maketitle
n@581 176 \begin{sloppypar}
n@581 177 \begin{abstract}
n@581 178 In this paper, we describe the formatting guidelines for the Proceedings of the Web Audio Conference 2016. This template has been adapted from the ACM SIG Proceedings Template available at www.acm.org.\footnote{\url{http://www.acm.org/publications/article-templates/proceedings-template.html}} This paper provides a sample of a \LaTeX\ document which conforms,
n@581 179 somewhat loosely, to the formatting guidelines for
n@581 180 ACM SIG Proceedings. It is an {\em alternate} style which produces
n@581 181 a {\em tighter-looking} paper and was designed in response to
n@581 182 concerns expressed, by authors, over page-budgets.
n@581 183 It complements the document \textit{Author's (Alternate) Guide to
n@581 184 Preparing ACM SIG Proceedings Using \LaTeX$2_\epsilon$\ and Bib\TeX}.
n@581 185 This source file has been written with the intention of being
n@581 186 compiled under \LaTeX$2_\epsilon$\ and BibTeX.
n@581 187
n@581 188 The developers have tried to include every imaginable sort
n@581 189 of ``bells and whistles", such as a subtitle, footnotes on
n@581 190 title, subtitle and authors, as well as in the text, and
n@581 191 every optional component (e.g. Acknowledgments, Additional
n@581 192 Authors, Appendices), not to mention examples of
n@581 193 equations, theorems, tables and figures.
n@581 194
n@581 195 To make best use of this sample document, run it through \LaTeX\
n@581 196 and BibTeX, and compare this source code with the printed
n@581 197 output produced by the dvi file. A compiled PDF version
n@581 198 is available on the web page to help you with the
n@581 199 `look and feel'.
n@581 200 \end{abstract}
n@581 201
n@581 202
n@581 203 %
n@581 204 % The code below should be generated by the tool at
n@581 205 % http://dl.acm.org/ccs.cfm
n@581 206 % Please copy and paste the code instead of the example below.
n@581 207 %
n@581 208 %\begin{CCSXML}
n@581 209 %<ccs2012>
n@581 210 %<concept>
n@581 211 %<concept_id>10010520.10010553.10010562</concept_id>
n@581 212 %<concept_desc>Computer systems organization~Embedded systems</concept_desc>
n@581 213 %<concept_significance>500</concept_significance>
n@581 214 %</concept>
n@581 215 %<concept>
n@581 216 %<concept_id>10010520.10010575.10010755</concept_id>
n@581 217 %<concept_desc>Computer systems organization~Redundancy</concept_desc>
n@581 218 %<concept_significance>300</concept_significance>
n@581 219 %</concept>
n@581 220 %<concept>
n@581 221 %<concept_id>10010520.10010553.10010554</concept_id>
n@581 222 %<concept_desc>Computer systems organization~Robotics</concept_desc>
n@581 223 %<concept_significance>100</concept_significance>
n@581 224 %</concept>
n@581 225 %<concept>
n@581 226 %<concept_id>10003033.10003083.10003095</concept_id>
n@581 227 %<concept_desc>Networks~Network reliability</concept_desc>
n@581 228 %<concept_significance>100</concept_significance>
n@581 229 %</concept>
n@581 230 %</ccs2012>
n@581 231 %\end{CCSXML}
n@581 232 %
n@581 233 %\ccsdesc[500]{Computer systems organization~Embedded systems}
n@581 234 %\ccsdesc[300]{Computer systems organization~Redundancy}
n@581 235 %\ccsdesc{Computer systems organization~Robotics}
n@581 236 %\ccsdesc[100]{Networks~Network reliability}
n@581 237 %
n@581 238 %
n@581 239 %%
n@581 240 %% End generated code
n@581 241 %%
n@581 242 %
n@581 243 %%
n@581 244 %% Use this command to print the description
n@581 245 %%
n@581 246 %\printccsdesc
n@581 247 %
n@581 248 %% We no longer use \terms command
n@581 249 %%\terms{Theory}
n@581 250 %
n@581 251 %\keywords{ACM proceedings, \LaTeX, text tagging}
n@581 252
n@581 253 \section{Introduction}
n@581 254 The \textit{proceedings} are the records of a conference.
n@581 255 ACM seeks to give these conference by-products a uniform,
n@581 256 high-quality appearance. To do this, ACM has some rigid
n@581 257 requirements for the format of the proceedings documents: there
n@581 258 is a specified format (balanced double columns), a specified
n@581 259 set of fonts (Arial or Helvetica and Times Roman) in
n@581 260 certain specified sizes (for instance, 9 point for body copy),
n@581 261 a specified live area (18 $\times$ 23.5 cm [7" $\times$ 9.25"]) centered on
n@581 262 the page, specified size of margins (1.9 cm [0.75"]) top, (2.54 cm [1"]) bottom
n@581 263 and (1.9 cm [.75"]) left and right; specified column width
n@581 264 (8.45 cm [3.33"]) and gutter size (.83 cm [.33"]).
n@581 265
n@581 266 The good news is, with only a handful of manual
n@581 267 settings\footnote{Two of these, the {\texttt{\char'134 numberofauthors}}
n@581 268 and {\texttt{\char'134 alignauthor}} commands, you have
n@581 269 already used; another, {\texttt{\char'134 balancecolumns}}, will
n@581 270 be used in your very last run of \LaTeX\ to ensure
n@581 271 balanced column heights on the last page.}, the \LaTeX\ document
n@581 272 class file handles all of this for you.
n@581 273
n@581 274 The remainder of this document is concerned with showing, in
n@581 275 the context of an ``actual'' document, the \LaTeX\ commands
n@581 276 specifically available for denoting the structure of a
n@581 277 proceedings paper, rather than with giving rigorous descriptions
n@581 278 or explanations of such commands.
n@581 279
n@581 280 \section{The {\secit Body} of The Paper}
n@581 281 Typically, the body of a paper is organized
n@581 282 into a hierarchical structure, with numbered or unnumbered
n@581 283 headings for sections, subsections, sub-subsections, and even
n@581 284 smaller sections. The command \texttt{{\char'134}section} that
n@581 285 precedes this paragraph is part of such a
n@581 286 hierarchy.\footnote{This is the second footnote. It
n@581 287 starts a series of three footnotes that add nothing
n@581 288 informational, but just give an idea of how footnotes work
n@581 289 and look. It is a wordy one, just so you see
n@581 290 how a longish one plays out.} \LaTeX\ handles the numbering
n@581 291 and placement of these headings for you, when you use
n@581 292 the appropriate heading commands around the titles
n@581 293 of the headings. If you want a sub-subsection or
n@581 294 smaller part to be unnumbered in your output, simply append an
n@581 295 asterisk to the command name. Examples of both
n@581 296 numbered and unnumbered headings will appear throughout the
n@581 297 balance of this sample document.
n@581 298
n@581 299 Because the entire article is contained in
n@581 300 the \textbf{document} environment, you can indicate the
n@581 301 start of a new paragraph with a blank line in your
n@581 302 input file; that is why this sentence forms a separate paragraph.
n@581 303
n@581 304 \subsection{Type Changes and {\subsecit Special} Characters}
n@581 305 We have already seen several typeface changes in this sample. You
n@581 306 can indicate italicized words or phrases in your text with
n@581 307 the command \texttt{{\char'134}textit}; emboldening with the
n@581 308 command \texttt{{\char'134}textbf}
n@581 309 and typewriter-style (for instance, for computer code) with
n@581 310 \texttt{{\char'134}texttt}. But remember, you do not
n@581 311 have to indicate typestyle changes when such changes are
n@581 312 part of the \textit{structural} elements of your
n@581 313 article; for instance, the heading of this subsection will
n@581 314 be in a sans serif\footnote{A third footnote, here.
n@581 315 Let's make this a rather short one to
n@581 316 see how it looks.} typeface, but that is handled by the
n@581 317 document class file. Take care with the use
n@581 318 of\footnote{A fourth, and last, footnote.}
n@581 319 the curly braces in typeface changes; they mark
n@581 320 the beginning and end of
n@581 321 the text that is to be in the different typeface.
n@581 322
n@581 323 You can use whatever symbols, accented characters, or
n@581 324 non-English characters you need anywhere in your document;
n@581 325 you can find a complete list of what is
n@581 326 available in the \textit{\LaTeX\
n@581 327 User's Guide}\cite{Lamport:LaTeX}.
n@581 328
n@581 329 \subsection{Math Equations}
n@581 330 You may want to display math equations in three distinct styles:
n@581 331 inline, numbered or non-numbered display. Each of
n@581 332 the three are discussed in the next sections.
n@581 333
n@581 334 \subsubsection{Inline (In-text) Equations}
n@581 335 A formula that appears in the running text is called an
n@581 336 inline or in-text formula. It is produced by the
n@581 337 \textbf{math} environment, which can be
n@581 338 invoked with the usual \texttt{{\char'134}begin. . .{\char'134}end}
n@581 339 construction or with the short form \texttt{\$. . .\$}. You
n@581 340 can use any of the symbols and structures,
n@581 341 from $\alpha$ to $\omega$, available in
n@581 342 \LaTeX\cite{Lamport:LaTeX}; this section will simply show a
n@581 343 few examples of in-text equations in context. Notice how
n@581 344 this equation: \begin{math}\lim_{n\rightarrow \infty}x=0\end{math},
n@581 345 set here in in-line math style, looks slightly different when
n@581 346 set in display style. (See next section).
n@581 347
n@581 348 \subsubsection{Display Equations}
n@581 349 A numbered display equation -- one set off by vertical space
n@581 350 from the text and centered horizontally -- is produced
n@581 351 by the \textbf{equation} environment. An unnumbered display
n@581 352 equation is produced by the \textbf{displaymath} environment.
n@581 353
n@581 354 Again, in either environment, you can use any of the symbols
n@581 355 and structures available in \LaTeX; this section will just
n@581 356 give a couple of examples of display equations in context.
n@581 357 First, consider the equation, shown as an inline equation above:
n@581 358 \begin{equation}\lim_{n\rightarrow \infty}x=0\end{equation}
n@581 359 Notice how it is formatted somewhat differently in
n@581 360 the \textbf{displaymath}
n@581 361 environment. Now, we'll enter an unnumbered equation:
n@581 362 \begin{displaymath}\sum_{i=0}^{\infty} x + 1\end{displaymath}
n@581 363 and follow it with another numbered equation:
n@581 364 \begin{equation}\sum_{i=0}^{\infty}x_i=\int_{0}^{\pi+2} f\end{equation}
n@581 365 just to demonstrate \LaTeX's able handling of numbering.
n@581 366
n@581 367 \subsection{Citations}
n@581 368 Citations to articles \cite{bowman:reasoning,
n@581 369 clark:pct, braams:babel, herlihy:methodology},
n@581 370 conference proceedings \cite{clark:pct} or
n@581 371 books \cite{salas:calculus, Lamport:LaTeX} listed
n@581 372 in the Bibliography section of your
n@581 373 article will occur throughout the text of your article.
n@581 374 You should use BibTeX to automatically produce this bibliography;
n@581 375 you simply need to insert one of several citation commands with
n@581 376 a key of the item cited in the proper location in
n@581 377 the \texttt{.tex} file \cite{Lamport:LaTeX}.
n@581 378 The key is a short reference you invent to uniquely
n@581 379 identify each work; in this sample document, the key is
n@581 380 the first author's surname and a
n@581 381 word from the title. This identifying key is included
n@581 382 with each item in the \texttt{.bib} file for your article.
n@581 383
n@581 384 The details of the construction of the \texttt{.bib} file
n@581 385 are beyond the scope of this sample document, but more
n@581 386 information can be found in the \textit{Author's Guide},
n@581 387 and exhaustive details in the \textit{\LaTeX\ User's
n@581 388 Guide}\cite{Lamport:LaTeX}.
n@581 389
n@581 390 This article shows only the plainest form
n@581 391 of the citation command, using \texttt{{\char'134}cite}.
n@581 392 This is what is stipulated in the SIGS style specifications.
n@581 393 No other citation format is endorsed or supported.
n@581 394
n@581 395 \subsection{Tables}
n@581 396 Because tables cannot be split across pages, the best
n@581 397 placement for them is typically the top of the page
n@581 398 nearest their initial cite. To
n@581 399 ensure this proper ``floating'' placement of tables, use the
n@581 400 environment \textbf{table} to enclose the table's contents and
n@581 401 the table caption. The contents of the table itself must go
n@581 402 in the \textbf{tabular} environment, to
n@581 403 be aligned properly in rows and columns, with the desired
n@581 404 horizontal and vertical rules. Again, detailed instructions
n@581 405 on \textbf{tabular} material
n@581 406 is found in the \textit{\LaTeX\ User's Guide}.
n@581 407
n@581 408 Immediately following this sentence is the point at which
n@581 409 Table 1 is included in the input file; compare the
n@581 410 placement of the table here with the table in the printed
n@581 411 dvi output of this document.
n@581 412
n@581 413 \begin{table}
n@581 414 \centering
n@581 415 \caption{Frequency of Special Characters}
n@581 416 \begin{tabular}{|c|c|l|} \hline
n@581 417 Non-English or Math&Frequency&Comments\\ \hline
n@581 418 \O & 1 in 1,000& For Swedish names\\ \hline
n@581 419 $\pi$ & 1 in 5& Common in math\\ \hline
n@581 420 \$ & 4 in 5 & Used in business\\ \hline
n@581 421 $\Psi^2_1$ & 1 in 40,000& Unexplained usage\\
n@581 422 \hline\end{tabular}
n@581 423 \end{table}
n@581 424
n@581 425 To set a wider table, which takes up the whole width of
n@581 426 the page's live area, use the environment
n@581 427 \textbf{table*} to enclose the table's contents and
n@581 428 the table caption. As with a single-column table, this wide
n@581 429 table will ``float" to a location deemed more desirable.
n@581 430 Immediately following this sentence is the point at which
n@581 431 Table 2 is included in the input file; again, it is
n@581 432 instructive to compare the placement of the
n@581 433 table here with the table in the printed dvi
n@581 434 output of this document.
n@581 435
n@581 436
n@581 437 \begin{table*}
n@581 438 \centering
n@581 439 \caption{Some Typical Commands}
n@581 440 \begin{tabular}{|c|c|l|} \hline
n@581 441 Command&A Number&Comments\\ \hline
n@581 442 \texttt{{\char'134}alignauthor} & 100& Author alignment\\ \hline
n@581 443 \texttt{{\char'134}numberofauthors}& 200& Author enumeration\\ \hline
n@581 444 \texttt{{\char'134}table}& 300 & For tables\\ \hline
n@581 445 \texttt{{\char'134}table*}& 400& For wider tables\\ \hline\end{tabular}
n@581 446 \end{table*}
n@581 447 % end the environment with {table*}, NOTE not {table}!
n@581 448
n@581 449 \subsection{Figures}
n@581 450 Like tables, figures cannot be split across pages; the
n@581 451 best placement for them
n@581 452 is typically the top or the bottom of the page nearest
n@581 453 their initial cite. To ensure this proper ``floating'' placement
n@581 454 of figures, use the environment
n@581 455 \textbf{figure} to enclose the figure and its caption.
n@581 456
n@581 457 This sample document contains examples of \textbf{.eps} files to be
n@581 458 displayable with \LaTeX. If you work with pdf\LaTeX, use files in the
n@581 459 \textbf{.pdf} format. Note that most modern \TeX\ system will convert
n@581 460 \textbf{.eps} to \textbf{.pdf} for you on the fly. More details on
n@581 461 each of these is found in the \textit{Author's Guide}.
n@581 462
n@581 463 \begin{figure}
n@581 464 \centering
n@581 465 \includegraphics{fly}
n@581 466 \caption{A sample black and white graphic.}
n@581 467 \end{figure}
n@581 468
n@581 469 \begin{figure}
n@581 470 \centering
n@581 471 \includegraphics[height=1in, width=1in]{fly}
n@581 472 \caption{A sample black and white graphic
n@581 473 that has been resized with the \texttt{includegraphics} command.}
n@581 474 \end{figure}
n@581 475
n@581 476
n@581 477 As was the case with tables, you may want a figure
n@581 478 that spans two columns. To do this, and still to
n@581 479 ensure proper ``floating'' placement of tables, use the environment
n@581 480 \textbf{figure*} to enclose the figure and its caption.
n@581 481 and don't forget to end the environment with
n@581 482 {figure*}, not {figure}!
n@581 483
n@581 484 \begin{figure*}
n@581 485 \centering
n@581 486 \includegraphics{flies}
n@581 487 \caption{A sample black and white graphic
n@581 488 that needs to span two columns of text.}
n@581 489 \end{figure*}
n@581 490
n@581 491
n@581 492 %\begin{figure}
n@581 493 %\centering
n@581 494 %\includegraphics[height=1in, width=1in]{rosette}
n@581 495 %\caption{A sample black and white graphic that has
n@581 496 %been resized with the \texttt{includegraphics} command.}
n@581 497 %\vskip -6pt
n@581 498 %\end{figure}
n@581 499
n@581 500 \subsection{Theorem-like Constructs}
n@581 501 Other common constructs that may occur in your article are
n@581 502 the forms for logical constructs like theorems, axioms,
n@581 503 corollaries and proofs. There are
n@581 504 two forms, one produced by the
n@581 505 command \texttt{{\char'134}newtheorem} and the
n@581 506 other by the command \texttt{{\char'134}newdef}; perhaps
n@581 507 the clearest and easiest way to distinguish them is
n@581 508 to compare the two in the output of this sample document:
n@581 509
n@581 510 This uses the \textbf{theorem} environment, created by
n@581 511 the\linebreak\texttt{{\char'134}newtheorem} command:
n@581 512 \newtheorem{theorem}{Theorem}
n@581 513 \begin{theorem}
n@581 514 Let $f$ be continuous on $[a,b]$. If $G$ is
n@581 515 an antiderivative for $f$ on $[a,b]$, then
n@581 516 \begin{displaymath}\int^b_af(t)dt = G(b) - G(a).\end{displaymath}
n@581 517 \end{theorem}
n@581 518
n@581 519 The other uses the \textbf{definition} environment, created
n@581 520 by the \texttt{{\char'134}newdef} command:
n@581 521 \newdef{definition}{Definition}
n@581 522 \begin{definition}
n@581 523 If $z$ is irrational, then by $e^z$ we mean the
n@581 524 unique number which has
n@581 525 logarithm $z$: \begin{displaymath}{\log e^z = z}\end{displaymath}
n@581 526 \end{definition}
n@581 527
n@581 528 Two lists of constructs that use one of these
n@581 529 forms is given in the
n@581 530 \textit{Author's Guidelines}.
n@581 531
n@581 532 There is one other similar construct environment, which is
n@581 533 already set up
n@581 534 for you; i.e. you must \textit{not} use
n@581 535 a \texttt{{\char'134}newdef} command to
n@581 536 create it: the \textbf{proof} environment. Here
n@581 537 is a example of its use:
n@581 538 \begin{proof}
n@581 539 Suppose on the contrary there exists a real number $L$ such that
n@581 540 \begin{displaymath}
n@581 541 \lim_{x\rightarrow\infty} \frac{f(x)}{g(x)} = L.
n@581 542 \end{displaymath}
n@581 543 Then
n@581 544 \begin{displaymath}
n@581 545 l=\lim_{x\rightarrow c} f(x)
n@581 546 = \lim_{x\rightarrow c}
n@581 547 \left[ g{x} \cdot \frac{f(x)}{g(x)} \right ]
n@581 548 = \lim_{x\rightarrow c} g(x) \cdot \lim_{x\rightarrow c}
n@581 549 \frac{f(x)}{g(x)} = 0\cdot L = 0,
n@581 550 \end{displaymath}
n@581 551 which contradicts our assumption that $l\neq 0$.
n@581 552 \end{proof}
n@581 553
n@581 554 Complete rules about using these environments and using the
n@581 555 two different creation commands are in the
n@581 556 \textit{Author's Guide}; please consult it for more
n@581 557 detailed instructions. If you need to use another construct,
n@581 558 not listed therein, which you want to have the same
n@581 559 formatting as the Theorem
n@581 560 or the Definition\cite{salas:calculus} shown above,
n@581 561 use the \texttt{{\char'134}newtheorem} or the
n@581 562 \texttt{{\char'134}newdef} command,
n@581 563 respectively, to create it.
n@581 564
n@581 565 \subsection*{A {\secit Caveat} for the \TeX\ Expert}
n@581 566 Because you have just been given permission to
n@581 567 use the \texttt{{\char'134}newdef} command to create a
n@581 568 new form, you might think you can
n@581 569 use \TeX's \texttt{{\char'134}def} to create a
n@581 570 new command: \textit{Please refrain from doing this!}
n@581 571 Remember that your \LaTeX\ source code is primarily intended
n@581 572 to create camera-ready copy, but may be converted
n@581 573 to other forms -- e.g. HTML. If you inadvertently omit
n@581 574 some or all of the \texttt{{\char'134}def}s recompilation will
n@581 575 be, to say the least, problematic.
n@581 576
n@581 577 \section{Conclusions}
n@581 578 This paragraph will end the body of this sample document.
n@581 579 Remember that you might still have Acknowledgments or
n@581 580 Appendices; brief samples of these
n@581 581 follow. There is still the Bibliography to deal with; and
n@581 582 we will make a disclaimer about that here: with the exception
n@581 583 of the reference to the \LaTeX\ book, the citations in
n@581 584 this paper are to articles which have nothing to
n@581 585 do with the present subject and are used as
n@581 586 examples only.
n@581 587 %\end{document} % This is where a 'short' article might terminate
n@581 588
n@581 589 %ACKNOWLEDGMENTS are optional
n@581 590 \section{Acknowledgments}
n@581 591 This section is optional; it is a location for you
n@581 592 to acknowledge grants, funding, editing assistance and
n@581 593 what have you. In the present case, for example, the
n@581 594 authors would like to thank Gerald Murray of ACM for
n@581 595 his help in codifying this \textit{Author's Guide}
n@581 596 and the \textbf{.cls} and \textbf{.tex} files that it describes.
n@581 597
n@581 598 %
n@581 599 % The following two commands are all you need in the
n@581 600 % initial runs of your .tex file to
n@581 601 % produce the bibliography for the citations in your paper.
n@581 602 \bibliographystyle{abbrv}
n@581 603 \bibliography{sigproc} % sigproc.bib is the name of the Bibliography in this case
n@581 604 % You must have a proper ".bib" file
n@581 605 % and remember to run:
n@581 606 % latex bibtex latex latex
n@581 607 % to resolve all references
n@581 608 %
n@581 609 % ACM needs 'a single self-contained file'!
n@581 610 %
n@581 611 %APPENDICES are optional
n@581 612 %\balancecolumns
n@581 613 \appendix
n@581 614 %Appendix A
n@581 615 \section{Headings in Appendices}
n@581 616 The rules about hierarchical headings discussed above for
n@581 617 the body of the article are different in the appendices.
n@581 618 In the \textbf{appendix} environment, the command
n@581 619 \textbf{section} is used to
n@581 620 indicate the start of each Appendix, with alphabetic order
n@581 621 designation (i.e. the first is A, the second B, etc.) and
n@581 622 a title (if you include one). So, if you need
n@581 623 hierarchical structure
n@581 624 \textit{within} an Appendix, start with \textbf{subsection} as the
n@581 625 highest level. Here is an outline of the body of this
n@581 626 document in Appendix-appropriate form:
n@581 627 \subsection{Introduction}
n@581 628 \subsection{The Body of the Paper}
n@581 629 \subsubsection{Type Changes and Special Characters}
n@581 630 \subsubsection{Math Equations}
n@581 631 \paragraph{Inline (In-text) Equations}
n@581 632 \paragraph{Display Equations}
n@581 633 \subsubsection{Citations}
n@581 634 \subsubsection{Tables}
n@581 635 \subsubsection{Figures}
n@581 636 \subsubsection{Theorem-like Constructs}
n@581 637 \subsubsection*{A Caveat for the \TeX\ Expert}
n@581 638 \subsection{Conclusions}
n@581 639 \subsection{Acknowledgments}
n@581 640 \subsection{Additional Authors}
n@581 641 This section is inserted by \LaTeX; you do not insert it.
n@581 642 You just add the names and information in the
n@581 643 \texttt{{\char'134}additionalauthors} command at the start
n@581 644 of the document.
n@581 645 \subsection{References}
n@581 646 Generated by bibtex from your ~.bib file. Run latex,
n@581 647 then bibtex, then latex twice (to resolve references)
n@581 648 to create the ~.bbl file. Insert that ~.bbl file into
n@581 649 the .tex source file and comment out
n@581 650 the command \texttt{{\char'134}thebibliography}.
n@581 651 % This next section command marks the start of
n@581 652 % Appendix B, and does not continue the present hierarchy
n@581 653 \section{More Help for the Hardy}
n@581 654 The sig-alternate.cls file itself is chock-full of succinct
n@581 655 and helpful comments. If you consider yourself a moderately
n@581 656 experienced to expert user of \LaTeX, you may find reading
n@581 657 it useful but please remember not to change it.
n@581 658 %\balancecolumns % GM June 2007
n@581 659 % That's all folks!
n@581 660 \end{sloppypar}
n@581 661 \end{document}