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