Alternate ACM SIG Proceedings Paper in LaTeX Format
Alternate ACM SIG Proceedings Paper in LaTeX Format
†
[Extended Abstract]
‡ § ¶
Ben Trovato G.K.M. Tobin Lars Thørväld
Institute for Clarity in Institute for Clarity in The Thørväld Group
Documentation Documentation 1 Thørväld Circle
1932 Wallamaloo Lane P.O. Box 1212 Hekla, Iceland
Wallamaloo, New Zealand Dublin, Ohio 43017-6221 larst@affiliation.org
trovato@corporation.com webmaster@marysville-
ohio.com
We have already seen several typeface changes in this sam- and follow it with another numbered equation:
ple. You can indicate italicized words or phrases in your ∞ Z π+2
text with the command \textit; emboldening with the com-
X
xi = f (2)
mand \textbf and typewriter-style (for instance, for com- i=0 0
puter code) with \texttt. But remember, you do not have
to indicate typestyle changes when such changes are part just to demonstrate LATEX’s able handling of numbering.
of the structural elements of your article; for instance, the 2.3 Citations
heading of this subsection will be in a sans serif3 typeface,
Citations to articles [1, 3, 2, 4], conference proceedings [3]
but that is handled by the document class file. Take care
or books [6, 5] listed in the Bibliography section of your arti-
with the use of4 the curly braces in typeface changes; they
cle will occur throughout the text of your article. You should
mark the beginning and end of the text that is to be in the
use BibTeX to automatically produce this bibliography; you
different typeface.
simply need to insert one of several citation commands with
You can use whatever symbols, accented characters, or
a key of the item cited in the proper location in the .tex
non-English characters you need anywhere in your docu-
file [5]. The key is a short reference you invent to uniquely
ment; you can find a complete list of what is available in
identify each work; in this sample document, the key is the
the LATEX User’s Guide[5].
first author’s surname and a word from the title. This iden-
2.2 Math Equations tifying key is included with each item in the .bib file for
your article.
You may want to display math equations in three distinct
The details of the construction of the .bib file are beyond
styles: inline, numbered or non-numbered display. Each of
the scope of this sample document, but more information
the three are discussed in the next sections.
can be found in the Author’s Guide, and exhaustive details
2.2.1 Inline (In-text) Equations in the LATEX User’s Guide[5].
This article shows only the plainest form of the citation
A formula that appears in the running text is called an
command, using \cite. This is what is stipulated in the
inline or in-text formula. It is produced by the math envi-
SIGS style specifications. No other citation format is en-
ronment, which can be invoked with the usual \begin. .
dorsed or supported.
.\end construction or with the short form $. . .$. You
can use any of the symbols and structures, from α to ω, avail- 2.4 Tables
able in LATEX[5]; this section will simply show a few examples
Because tables cannot be split across pages, the best place-
of in-text equations in context. Notice how this equation:
ment for them is typically the top of the page nearest their
limn→∞ x = 0, set here in in-line math style, looks slightly
initial cite. To ensure this proper “floating” placement of
different when set in display style. (See next section).
tables, use the environment table to enclose the table’s con-
2.2.2 Display Equations tents and the table caption. The contents of the table itself
must go in the tabular environment, to be aligned properly
A numbered display equation – one set off by vertical
in rows and columns, with the desired horizontal and verti-
space from the text and centered horizontally – is produced
cal rules. Again, detailed instructions on tabular material
by the equation environment. An unnumbered display
is found in the LATEX User’s Guide.
equation is produced by the displaymath environment.
Immediately following this sentence is the point at which
Again, in either environment, you can use any of the sym-
Table 1 is included in the input file; compare the placement
bols and structures available in LATEX; this section will just
of the table here with the table in the printed dvi output of
give a couple of examples of display equations in context.
this document.
First, consider the equation, shown as an inline equation
To set a wider table, which takes up the whole width
above:
of the page’s live area, use the environment table* to en-
lim x = 0 (1) close the table’s contents and the table caption. As with a
n→∞
single-column table, this wide table will “float” to a location
Notice how it is formatted somewhat differently in the dis- deemed more desirable. Immediately following this sentence
playmath environment. Now, we’ll enter an unnumbered is the point at which Table 2 is included in the input file;
3 again, it is instructive to compare the placement of the ta-
A third footnote, here. Let’s make this a rather short one
to see how it looks. ble here with the table in the printed dvi output of this
4
A fourth, and last, footnote. document.
Table 2: Some Typical Commands
Command A Number Comments
\alignauthor 100 Author alignment
\numberofauthors 200 Author enumeration
\table 300 For tables
\table* 400 For wider tables
Like tables, figures cannot be split across pages; the best which contradicts our assumption that l 6= 0.
placement for them is typically the top or the bottom of
the page nearest their initial cite. To ensure this proper Complete rules about using these environments and using
“floating” placement of figures, use the environment figure the two different creation commands are in the Author’s
to enclose the figure and its caption. Guide; please consult it for more detailed instructions. If
This sample document contains examples of .eps and .ps you need to use another construct, not listed therein, which
files to be displayable with LATEX. More details on each of you want to have the same formatting as the Theorem or
these is found in the Author’s Guide. the Definition[6] shown above, use the \newtheorem or the
As was the case with tables, you may want a figure that \newdef command, respectively, to create it.
spans two columns. To do this, and still to ensure proper A Caveat for the TEX Expert
“floating” placement of tables, use the environment figure*
to enclose the figure and its caption. and don’t forget to end Because you have just been given permission to use the
the environment with figure*, not figure! \newdef command to create a new form, you might think
Note that either .ps or .eps formats are used; use the you can use TEX’s \def to create a new command: Please
\epsfig or \psfig commands as appropriate for the differ- refrain from doing this! Remember that your LATEX source
ent file types. code is primarily intended to create camera-ready copy, but
may be converted to other forms – e.g. HTML. If you in-
2.6 Theorem-like Constructs advertently omit some or all of the \defs recompilation will
Other common constructs that may occur in your article be, to say the least, problematic.
are the forms for logical constructs like theorems, axioms,
corollaries and proofs. There are two forms, one produced by 3. CONCLUSIONS
the command \newtheorem and the other by the command This paragraph will end the body of this sample docu-
\newdef; perhaps the clearest and easiest way to distinguish ment. Remember that you might still have Acknowledg-
them is to compare the two in the output of this sample ments or Appendices; brief samples of these follow. There is
document: still the Bibliography to deal with; and we will make a dis-
This uses the theorem environment, created by the claimer about that here: with the exception of the reference
\newtheorem command: to the LATEX book, the citations in this paper are to articles
Theorem 1. Let f be continuous on [a, b]. If G is an which have nothing to do with the present subject and are
antiderivative for f on [a, b], then used as examples only.
Z b
f (t)dt = G(b) − G(a). 4. ACKNOWLEDGMENTS
a This section is optional; it is a location for you to acknowl-
The other uses the definition environment, created by edge grants, funding, editing assistance and what have you.
Figure 3: A sample black and white graphic (.eps format) that needs to span two columns of text.
5. REFERENCES
[1] M. Bowman, S. K. Debray, and L. L. Peterson.
Reasoning about naming systems. ACM Trans.
Program. Lang. Syst., 15(5):795–825, November 1993.
[2] J. Braams. Babel, a multilingual style-option system
for use with latex’s standard document styles.
TUGboat, 12(2):291–301, June 1991.
[3] M. Clark. Post congress tristesse. In TeX90 Conference
Proceedings, pages 84–89. TeX Users Group, March
1991.
[4] M. Herlihy. A methodology for implementing highly
concurrent data objects. ACM Trans. Program. Lang.
Syst., 15(5):745–770, November 1993.
[5] L. Lamport. LaTeX User’s Guide and Document
Reference Manual. Addison-Wesley Publishing
Company, Reading, Massachusetts, 1986.
[6] S. Salas and E. Hille. Calculus: One and Several
Variable. John Wiley and Sons, New York, 1978.