SlideShare a Scribd company logo
1 of 5
Download to read offline
A Sample ACM SIG Proceedings Paper in LaTeX Format
                                                                               y
                                                [Extended Abstract]
                                  z                                   x                                      {
                  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
            Lawrence P. Leipuner                     Sean Fogarty                         Charles Palmer
            Brookhaven Laboratories             NASA Ames Research Center          Palmer Research Laboratories
            Brookhaven National Lab                   Moffett Field                    8600 Datapoint Drive
                 P.O. Box 5000                       California 94035                San Antonio, Texas 78229
         lleipuner@researchlabs.org fogartys@amesres.org                                cpalmer@prl.com


ABSTRACT                                                          Categories and Subject Descriptors
                                    A
This paper provides a sample of a L TEX document which            H.4 [Information Systems Applications]: Miscellaneous;
conforms to the formatting guidelines for ACM SIG Pro-            D.2.8 [Software Engineering]: Metrics—complexity mea-
ceedings. It complements the document Author’s Guide to           sures, performance measures
                                       A
Preparing ACM SIG Proceedings Using L TEX2 and BibTEX.
This source file has been written with the intention of being
                 A
compiled under L TEX2 and BibTeX.                                 General Terms
                                                                  Theory
The developers have tried to include every imaginable sort
of “bells and whistles, such as a subtitle, footnotes on ti-     Keywords
tle, subtitle and authors, as well as in the text, and every                       A
                                                                  ACM proceedings, L TEX, text tagging
optional component (e.g. Acknowledgments, Additional Au-
thors, Appendices), not to mention examples of equations,
theorems, tables and figures.                                      1. INTRODUCTION
                                                                  The proceedings are the records of a conference. ACM seeks
To make best use of this sample document, run it through          to give these conference by-products a uniform, high-quality
A
L TEX and BibTeX, and compare this source code with the           appearance. To do this, ACM has some rigid requirements
printed output produced by the dvi file.                           for the format of the proceedings documents: there is a spec-
                                                                  ified format (balanced double columns), a specified set of
(Does NOT produce the permission block, copyright                fonts (Arial or Helvetica and Times Roman) in certain spec-
information nor page numbering).               For use with       ified sizes (for instance, 9 point for body copy), a specified
ACM_PROC_ARTICLE-SP.CLS. Supported by ACM.                        live area (18  23.5 cm [7  9.25]) centered on the page,
yA full version of this paper is available as Author’s Guide to   specified size of margins (2.54cm [1] top and bottom and
                                            A
Preparing ACM SIG Proceedings Using L TEX2 and BibTeX             1.9cm [.75] left and right; specified column width (8.45cm
at www.acm.org/eaddress.htm                                       [3.33]) and gutter size (.083cm [.33]).
zDr. Trovato insisted his name be first.
xThe secretary disavows any knowledge of this author’s ac-        The good news is, with only a handful of manual settings1 ,
                                                                      A
                                                                  the L TEX document class file handles all of this for you.
tions.
{This author is the one who did all the really hard work.
                                                                  The remainder of this document is concerned with showing,
                                                                                                               A
                                                                  in the context of an “actual” document, the L TEX commands
                                                                  specifically available for denoting the structure of a proceed-
                                                                  ings paper, rather than with giving rigorous descriptions or
                                                                  explanations of such commands.
                                                                  1
                                                                    Two of these, the numberofauthors and alignauthor
                                                                  commands,      you   have   already   used;   another,
                                                                  balancecolumns, will be used in your very last run
                                                                      A
                                                                  of L TEX to ensure balanced column heights on the last
                                                                  page.
2.    THE BODY OF THE PAPER                                        A numbered display equation – one set off by vertical space
Typically, the body of a paper is organized into a hierar-         from the text and centered horizontally – is produced by the
chical structure, with numbered or unnumbered headings             equation environment. An unnumbered display equation is
for sections, subsections, sub-subsections, and even smaller       produced by the displaymath environment.
sections. The command section that precedes this para-
graph is part of such a hierarchy.2 L TEX handles the num-
                                     A                             Again, in either environment, you can use any of the symbols
bering and placement of these headings for you, when you                                       A
                                                                   and structures available in L TEX; this section will just give
use the appropriate heading commands around the titles of          a couple of examples of display equations in context. First,
the headings. If you want a sub-subsection or smaller part         consider the equation, shown as an inline equation above:
to be unnumbered in your output, simply append an aster-
isk to the command name. Examples of both numbered and                                          lim x = 0                       (1)
                                                                                             n
unnumbered headings will appear throughout the balance of
this sample document.                                              Notice how it is formatted somewhat differently in the dis-
                                                                   playmath environment. Now, we’ll enter an unnumbered
Because the entire article is contained in the document            equation:
environment, you can indicate the start of a new paragraph                                      
                                                                                                X
with a blank line in your input file; that is why this sentence                                        x+1
forms a separate paragraph.                                                                     i=0

                                                                   and follow it with another numbered equation:
2.1    Type Changes and Special Characters                                                
                                                                                          X            Z       π+2
We have already seen several typeface changes in this sam-                                      xi =                 f          (2)
ple. You can indicate italicized words or phrases in your                                 i=0              0
text with the command textit; emboldening with the com-
                                                                                       A
                                                                   just to demonstrate L TEX’s able handling of numbering.
mand textbf and typewriter-style (for instance, for com-
puter code) with texttt. But remember, you do not have
to indicate typestyle changes when such changes are part           2.3 Citations
of the structural elements of your article; for instance, the      Citations to articles [1, 3, 2, 4], conference proceedings [3] or
heading of this subsection will be in a sans serif3 typeface,      books [6, 5] listed in the Bibliography section of your article
but that is handled by the document class file. Take care           will occur throughout the text of your article. You should
with the use of4 the curly braces in typeface changes; they        use BibTeX to automatically produce this bibliography; you
mark the beginning and end of the text that is to be in the        simply need to insert one of several citation commands with
different typeface.                                                 a key of the item cited in the proper location in the .tex
                                                                   file [5]. The key is a short reference you invent to uniquely
You can use whatever symbols, accented characters, or non-         identify each work; in this sample document, the key is the
English characters you need anywhere in your document;             first author’s surname and a word from the title. This iden-
                                                        A
you can find a complete list of what is available in the L TEX      tifying key is included with each item in the .bib file for
User’s Guide[5].                                                   your article.

2.2    Math Equations                                              The details of the construction of the .bib file are beyond
You may want to display math equations in three distinct           the scope of this sample document, but more information
styles: inline, numbered or non-numbered display. Each of          can be found in the Author’s Guide, and exhaustive details
the three are discussed in the next sections.                             A
                                                                   in the L TEX User’s Guide[5].

2.2.1 Inline (In-text) Equations                                   This article shows only the plainest form of the citation com-
A formula that appears in the running text is called an inline     mand, using cite. This is what is stipulated in the SIGS
or in-text formula. It is produced by the math environment,        style specifications. No other citation format is endorsed.
which can be invoked with the usual begin. . .end
construction or with the short form $. . .$. You can use           2.4 Tables
any of the symbols and structures, from α to ω, available          Because tables cannot be split across pages, the best place-
    A
in L TEX[5]; this section will simply show a few examples          ment for them is typically the top of the page nearest their
of in-text equations in context. Notice how this equation:         initial cite. To ensure this proper “floating” placement of
limn x = 0, set here in in-line math style, looks slightly       tables, use the environment table to enclose the table’s con-
different when set in display style. (See next section).            tents and the table caption. The contents of the table itself
                                                                   must go in the tabular environment, to be aligned properly
2.2.2 Display Equations                                            in rows and columns, with the desired horizontal and verti-
2                                                                  cal rules. Again, detailed instructions on tabular material
  This is the second footnote. It starts a series of three foot-                    A
                                                                   is found in the L TEX User’s Guide.
notes that add nothing informational, but just give an idea
of how footnotes work and look. It is a wordy one, just so
you see how a longish one plays out.                               Immediately following this sentence is the point at which
3                                                                  Table 1 is included in the input file; compare the placement
  A third footnote, here. Let’s make this a rather short one
to see how it looks.                                               of the table here with the table in the printed dvi output of
4
  A fourth, and last, footnote.                                    this document.
Table 1: Frequency of Special Characters
 Non-English or Math Frequency Comments
         Ø           1 in 1,000 For Swedish names
          π             1 in 5   Common in math
          $             4 in 5   Used in business
         Ψ21         1 in 40,000 Unexplained usage

                                                                 Figure 3: A sample black and white graphic (.ps for-
                                                                 mat) that has been resized with the psfig command.


                                                                 the command newtheorem and the other by the command
Figure 1: A sample black and white graphic (.eps                 newdef; perhaps the clearest and easiest way to distinguish
format).                                                         them is to compare the two in the output of this sample
                                                                 document:
To set a wider table, which takes up the whole width of
                                                                 This uses the theorem environment, created by the
the page’s live area, use the environment table* to en-
                                                                 newtheorem command:
close the table’s contents and the table caption. As with
a single-column table, this wide table will “float to a lo-
cation deemed more desirable. Immediately following this           Theorem 1. Let f be continuous on [a, b]. If G is an
sentence is the point at which Table 2 is included in the in-    antiderivative for f on [a, b], then
put file; again, it is instructive to compare the placement of                     Z   b
the table here with the table in the printed dvi output of                                    f (t)dt = G(b)   G(a).
this document.                                                                        a



2.5   Figures                                                    The other uses the definition environment, created by the
Like tables, figures cannot be split across pages; the best       newdef command:
placement for them is typically the top or the bottom of
the page nearest their initial cite. To ensure this proper         Definition 1. If z is irrational, then by ez we mean the
“floating” placement of figures, use the environment figure         unique number which has logarithm z:
to enclose the figure and its caption.
                                                                                                  log ez = z
This sample document contains examples of .eps and .ps
                             A
files to be displayable with L TEX. More details on each of       Two lists of constructs that use one of these forms is given
these is found in the Author’s Guide.                            in the Author’s Guidelines.

As was the case with tables, you may want a figure that           and don’t forget to end the environment with figure*, not
spans two columns. To do this, and still to ensure proper        figure!
“floating” placement of tables, use the environment figure*
to enclose the figure and its caption.                            There is one other similar construct environment, which is
                                                                 already set up for you; i.e. you must not use a newdef
Note that either .ps or .eps formats are used; use the epsfig   command to create it: the proof environment. Here is a
or psfig commands as appropriate for the different file           example of its use:
types.
                                                                   Proof. Suppose on the contrary there exists a real num-
2.6   Theorem-like Constructs                                    ber L such that
Other common constructs that may occur in your article                                   f (x)
                                                                                     lim       = L.
are the forms for logical constructs like theorems, axioms,                         x g(x)
corollaries and proofs. There are two forms, one produced by     Then
                                                                                                      
                                                                                                  f (x)                 f (x)
                                                                 l = lim f (x) = lim gx                = lim g(x) lim       = 0L = 0,
                                                                    xc         xc               g(x)    xc      xc g(x)

                                                                 which contradicts our assumption that l 6= 0.

                                                                 Complete rules about using these environments and using
                                                                 the two different creation commands are in the Author’s
                                                                 Guide; please consult it for more detailed instructions. If
                                                                 you need to use another construct, not listed therein, which
Figure 2: A sample black and white graphic (.eps                 you want to have the same formatting as the Theorem or
format) that has been resized with the epsfig com-               the Definition[6] shown above, use the newtheorem or the
mand.                                                            newdef command, respectively, to create it.
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




     Figure 4: A sample black and white graphic (.eps format) that needs to span two columns of text.


A Caveat for the TEX Expert                                      [3] M. Clark. Post congress tristesse. In TeX90 Conference
Because you have just been given permission to use the               Proceedings, pages 84–89. TeX Users Group, March
newdef command to create a new form, you might think                1991.
you can use TEX’s def to create a new command: Please           [4] M. Herlihy. A methodology for implementing highly
                                               A
refrain from doing this! Remember that your L TEX source             concurrent data objects. ACM Trans. Program. Lang.
code is primarily intended to create camera-ready copy, but          Syst., 15(5):745–770, November 1993.
may be converted to other forms – e.g. HTML. If you in-          [5] L. Lamport. LaTeX User’s Guide and Document
advertently omit some or all of the defs recompilation will         Reference Manual. Addison-Wesley Publishing
be, to say the least, problematic.                                   Company, Reading, Massachusetts, 1986.
                                                                 [6] S. Salas and E. Hille. Calculus: One and Several
3.   CONCLUSIONS                                                     Variable. John Wiley and Sons, New York, 1978.
This paragraph will end the body of this sample document.
Remember that you might still have Acknowledgments or            APPENDIX
Appendices; brief samples of these follow. There is still the    A. HEADINGS IN APPENDICES
Bibliography to deal with; and we will make a disclaimer
                                                                 The rules about hierarchical headings discussed above for
about that here: with the exception of the reference to the
 A
                                                                 the body of the article are different in the appendices. In
L TEX book, the citations in this paper are to articles which
                                                                 the appendix environment, the command section is used
have nothing to do with the present subject and are used as
                                                                 to indicate the start of each Appendix, with alphabetic order
examples only.
                                                                 designation (i.e. the first is A, the second B, etc.) and a title
                                                                 (if you include one). So, if you need hierarchical structure
4.   ACKNOWLEDGMENTS                                             within an Appendix, start with subsection as the highest
This section is optional; it is a location for you to acknowl-   level. Here is an outline of the body of this document in
edge grants, funding, editing assistance and what have you.      Appendix-appropriate form:
In the present case, for example, the authors would like to
thank Gerald Murray of ACM for his help in codifying this        A.1 Introduction
Author’s Guide and the .cls and .tex files that it describes.
                                                                 A.2 The Body of the Paper
5.   ADDITIONAL AUTHORS                                          A.2.1 Type Changes and Special Characters
Additional authors: John Smith (The Thørväld Group, email:       A.2.2 Math Equations
jsmith@affiliation.org) and Julius P. Kumquat (The Kumquat
Consortium, email: jpkumquat@consortium.net).
                                                                 Inline (In-text) Equations
6.   REFERENCES
[1] M. Bowman, S. K. Debray, and L. L. Peterson.                 Display Equations
    Reasoning about naming systems. ACM Trans.
    Program. Lang. Syst., 15(5):795–825, November 1993.
[2] J. Braams. Babel, a multilingual style-option system
                                                                 A.2.3 Citations
    for use with latex’s standard document styles.               A.2.4 Tables
    TUGboat, 12(2):291–301, June 1991.                           A.2.5 Figures
A.2.6 Theorem-like Constructs
A Caveat for the TEX Expert
A.3 Conclusions
A.4 Acknowledgments
A.5 Additional Authors
                            A
This section is inserted by L TEX; you do not insert it. You
just add the names and information in the additionalauthors
command at the start of the document.

A.6 References
Generated by bibtex from your .bib file. Run latex, then
bibtex, then latex twice (to resolve references) to create the
.bbl file. Insert that .bbl file into the .tex source file and
comment out the command thebibliography.

B.   MORE HELP FOR THE HARDY
The acm_proc_article-sp document class file itself is chock-
full of succinct and helpful comments. If you consider your-
                                                 A
self a moderately experienced to expert user of L TEX, you
may find reading it useful but please remember not to change
it.

More Related Content

Viewers also liked

Scrumers' launch - French SUG
Scrumers' launch - French SUG Scrumers' launch - French SUG
Scrumers' launch - French SUG scrumers
 
Berkarir di dunia telekomunikasi
Berkarir di dunia telekomunikasiBerkarir di dunia telekomunikasi
Berkarir di dunia telekomunikasidatux
 
my horror film presentation
my horror film presentationmy horror film presentation
my horror film presentationecsmedia
 
Location shots
Location shotsLocation shots
Location shotsbeealex
 
Reflections on the evolving landscape of OER use
Reflections on the evolving landscape of OER use Reflections on the evolving landscape of OER use
Reflections on the evolving landscape of OER use Liz Masterman
 
Dead man walking
Dead man walkingDead man walking
Dead man walkingecsmedia
 
Unit i linking words but because and or
Unit i linking words but because and orUnit i linking words but because and or
Unit i linking words but because and orTojers
 
Memo Clubs Campagne Rotary 2014 - Rotaract France
Memo Clubs Campagne Rotary 2014 - Rotaract FranceMemo Clubs Campagne Rotary 2014 - Rotaract France
Memo Clubs Campagne Rotary 2014 - Rotaract FrancePablo Ruiz Amo
 
Raissa powerpoin[1] 1
Raissa powerpoin[1] 1Raissa powerpoin[1] 1
Raissa powerpoin[1] 1ecsmedia
 
Bot how to find them 2014_27_03
Bot how to find them 2014_27_03Bot how to find them 2014_27_03
Bot how to find them 2014_27_03IABmembership
 
Media (horror movie storyboard by Aamir
Media (horror movie storyboard  by AamirMedia (horror movie storyboard  by Aamir
Media (horror movie storyboard by Aamirecsmedia
 
Jordel presenation
Jordel presenationJordel presenation
Jordel presenationecsmedia
 
Presentation for media
Presentation for mediaPresentation for media
Presentation for mediaecsmedia
 

Viewers also liked (18)

Presentation3
Presentation3Presentation3
Presentation3
 
Scrumers' launch - French SUG
Scrumers' launch - French SUG Scrumers' launch - French SUG
Scrumers' launch - French SUG
 
Berkarir di dunia telekomunikasi
Berkarir di dunia telekomunikasiBerkarir di dunia telekomunikasi
Berkarir di dunia telekomunikasi
 
SMCMUC Social CRM
SMCMUC Social CRMSMCMUC Social CRM
SMCMUC Social CRM
 
my horror film presentation
my horror film presentationmy horror film presentation
my horror film presentation
 
Location shots
Location shotsLocation shots
Location shots
 
Reflections on the evolving landscape of OER use
Reflections on the evolving landscape of OER use Reflections on the evolving landscape of OER use
Reflections on the evolving landscape of OER use
 
Dead man walking
Dead man walkingDead man walking
Dead man walking
 
Unit i linking words but because and or
Unit i linking words but because and orUnit i linking words but because and or
Unit i linking words but because and or
 
Memo Clubs Campagne Rotary 2014 - Rotaract France
Memo Clubs Campagne Rotary 2014 - Rotaract FranceMemo Clubs Campagne Rotary 2014 - Rotaract France
Memo Clubs Campagne Rotary 2014 - Rotaract France
 
The saga of satyam
The saga of satyamThe saga of satyam
The saga of satyam
 
Raissa powerpoin[1] 1
Raissa powerpoin[1] 1Raissa powerpoin[1] 1
Raissa powerpoin[1] 1
 
Bot how to find them 2014_27_03
Bot how to find them 2014_27_03Bot how to find them 2014_27_03
Bot how to find them 2014_27_03
 
Media (horror movie storyboard by Aamir
Media (horror movie storyboard  by AamirMedia (horror movie storyboard  by Aamir
Media (horror movie storyboard by Aamir
 
Wikipedia par cléa
Wikipedia par cléaWikipedia par cléa
Wikipedia par cléa
 
Jordel presenation
Jordel presenationJordel presenation
Jordel presenation
 
Statistika kd 2
Statistika kd 2Statistika kd 2
Statistika kd 2
 
Presentation for media
Presentation for mediaPresentation for media
Presentation for media
 

Similar to sigproc-sp.pdf

LaTex tutorial with Texstudio
LaTex tutorial with TexstudioLaTex tutorial with Texstudio
LaTex tutorial with TexstudioHossein Babashah
 
La tex basics
La tex basicsLa tex basics
La tex basicsawverret
 
Introduction to latex by Rouhollah Nabati
Introduction to latex by Rouhollah NabatiIntroduction to latex by Rouhollah Nabati
Introduction to latex by Rouhollah Nabatinabati
 
latex-workshop Dr: Mohamed A. Alrshah
latex-workshop Dr: Mohamed A. Alrshahlatex-workshop Dr: Mohamed A. Alrshah
latex-workshop Dr: Mohamed A. AlrshahAbdulazim N.Elaati
 
Ams latex higher mathematics
Ams latex higher mathematicsAms latex higher mathematics
Ams latex higher mathematicsshareav
 
Latex for beginners
Latex for beginnersLatex for beginners
Latex for beginnersKaushik Naik
 
A Hitchhiker S Guide To LaTex (Or How I Learned To Stop Worrying And Love Wri...
A Hitchhiker S Guide To LaTex (Or How I Learned To Stop Worrying And Love Wri...A Hitchhiker S Guide To LaTex (Or How I Learned To Stop Worrying And Love Wri...
A Hitchhiker S Guide To LaTex (Or How I Learned To Stop Worrying And Love Wri...Jim Webb
 

Similar to sigproc-sp.pdf (20)

LaTex tutorial with Texstudio
LaTex tutorial with TexstudioLaTex tutorial with Texstudio
LaTex tutorial with Texstudio
 
Latex Tutorial
Latex TutorialLatex Tutorial
Latex Tutorial
 
La tex basics
La tex basicsLa tex basics
La tex basics
 
Introduction to latex by Rouhollah Nabati
Introduction to latex by Rouhollah NabatiIntroduction to latex by Rouhollah Nabati
Introduction to latex by Rouhollah Nabati
 
latex-workshop Dr: Mohamed A. Alrshah
latex-workshop Dr: Mohamed A. Alrshahlatex-workshop Dr: Mohamed A. Alrshah
latex-workshop Dr: Mohamed A. Alrshah
 
Ams latex higher mathematics
Ams latex higher mathematicsAms latex higher mathematics
Ams latex higher mathematics
 
Document typesetting using LateX
Document typesetting using LateXDocument typesetting using LateX
Document typesetting using LateX
 
LaTeX Survival Guide
LaTeX Survival Guide LaTeX Survival Guide
LaTeX Survival Guide
 
Introduction to Latex
Introduction to LatexIntroduction to Latex
Introduction to Latex
 
example.pdf
example.pdfexample.pdf
example.pdf
 
Example
ExampleExample
Example
 
Sample pdf
Sample pdfSample pdf
Sample pdf
 
Example
ExampleExample
Example
 
example.pdf
example.pdfexample.pdf
example.pdf
 
Example
ExampleExample
Example
 
LatexTutorial
LatexTutorialLatexTutorial
LatexTutorial
 
LatexTutorial
LatexTutorialLatexTutorial
LatexTutorial
 
LaTeX for begyndere
LaTeX for begyndereLaTeX for begyndere
LaTeX for begyndere
 
Latex for beginners
Latex for beginnersLatex for beginners
Latex for beginners
 
A Hitchhiker S Guide To LaTex (Or How I Learned To Stop Worrying And Love Wri...
A Hitchhiker S Guide To LaTex (Or How I Learned To Stop Worrying And Love Wri...A Hitchhiker S Guide To LaTex (Or How I Learned To Stop Worrying And Love Wri...
A Hitchhiker S Guide To LaTex (Or How I Learned To Stop Worrying And Love Wri...
 

More from sahilsahoo85 (20)

CHANGELOG.txt
CHANGELOG.txtCHANGELOG.txt
CHANGELOG.txt
 
testing_7.ppt
testing_7.ppttesting_7.ppt
testing_7.ppt
 
testing_6.ppt
testing_6.ppttesting_6.ppt
testing_6.ppt
 
testing_5.ppt
testing_5.ppttesting_5.ppt
testing_5.ppt
 
testing_5.ppt
testing_5.ppttesting_5.ppt
testing_5.ppt
 
testing_5.ppt
testing_5.ppttesting_5.ppt
testing_5.ppt
 
testing_5.ppt
testing_5.ppttesting_5.ppt
testing_5.ppt
 
testing_5.ppt
testing_5.ppttesting_5.ppt
testing_5.ppt
 
testing_4.ppt
testing_4.ppttesting_4.ppt
testing_4.ppt
 
testing_3.ppt
testing_3.ppttesting_3.ppt
testing_3.ppt
 
testing_2.ppt
testing_2.ppttesting_2.ppt
testing_2.ppt
 
testing_1.ppt
testing_1.ppttesting_1.ppt
testing_1.ppt
 
testing_0.ppt
testing_0.ppttesting_0.ppt
testing_0.ppt
 
testing_0.ppt
testing_0.ppttesting_0.ppt
testing_0.ppt
 
questionnaries-theme.tpl_.php_.txt
questionnaries-theme.tpl_.php_.txtquestionnaries-theme.tpl_.php_.txt
questionnaries-theme.tpl_.php_.txt
 
ccccccc.ppt
ccccccc.pptccccccc.ppt
ccccccc.ppt
 
testing.ppt
testing.ppttesting.ppt
testing.ppt
 
testing_0.ppt
testing_0.ppttesting_0.ppt
testing_0.ppt
 
upload test2
upload test2upload test2
upload test2
 
upload test2
upload test2upload test2
upload test2
 

sigproc-sp.pdf

  • 1. A Sample ACM SIG Proceedings Paper in LaTeX Format y [Extended Abstract] z x { 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 Lawrence P. Leipuner Sean Fogarty Charles Palmer Brookhaven Laboratories NASA Ames Research Center Palmer Research Laboratories Brookhaven National Lab Moffett Field 8600 Datapoint Drive P.O. Box 5000 California 94035 San Antonio, Texas 78229 lleipuner@researchlabs.org fogartys@amesres.org cpalmer@prl.com ABSTRACT Categories and Subject Descriptors A This paper provides a sample of a L TEX document which H.4 [Information Systems Applications]: Miscellaneous; conforms to the formatting guidelines for ACM SIG Pro- D.2.8 [Software Engineering]: Metrics—complexity mea- ceedings. It complements the document Author’s Guide to sures, performance measures A Preparing ACM SIG Proceedings Using L TEX2 and BibTEX. This source file has been written with the intention of being A compiled under L TEX2 and BibTeX. General Terms Theory The developers have tried to include every imaginable sort of “bells and whistles, such as a subtitle, footnotes on ti- Keywords tle, subtitle and authors, as well as in the text, and every A ACM proceedings, L TEX, text tagging optional component (e.g. Acknowledgments, Additional Au- thors, Appendices), not to mention examples of equations, theorems, tables and figures. 1. INTRODUCTION The proceedings are the records of a conference. ACM seeks To make best use of this sample document, run it through to give these conference by-products a uniform, high-quality A L TEX and BibTeX, and compare this source code with the appearance. To do this, ACM has some rigid requirements printed output produced by the dvi file. for the format of the proceedings documents: there is a spec- ified format (balanced double columns), a specified set of (Does NOT produce the permission block, copyright fonts (Arial or Helvetica and Times Roman) in certain spec- information nor page numbering). For use with ified sizes (for instance, 9 point for body copy), a specified ACM_PROC_ARTICLE-SP.CLS. Supported by ACM. live area (18 23.5 cm [7 9.25]) centered on the page, yA full version of this paper is available as Author’s Guide to specified size of margins (2.54cm [1] top and bottom and A Preparing ACM SIG Proceedings Using L TEX2 and BibTeX 1.9cm [.75] left and right; specified column width (8.45cm at www.acm.org/eaddress.htm [3.33]) and gutter size (.083cm [.33]). zDr. Trovato insisted his name be first. xThe secretary disavows any knowledge of this author’s ac- The good news is, with only a handful of manual settings1 , A the L TEX document class file handles all of this for you. tions. {This author is the one who did all the really hard work. The remainder of this document is concerned with showing, A in the context of an “actual” document, the L TEX commands specifically available for denoting the structure of a proceed- ings paper, rather than with giving rigorous descriptions or explanations of such commands. 1 Two of these, the numberofauthors and alignauthor commands, you have already used; another, balancecolumns, will be used in your very last run A of L TEX to ensure balanced column heights on the last page.
  • 2. 2. THE BODY OF THE PAPER A numbered display equation – one set off by vertical space Typically, the body of a paper is organized into a hierar- from the text and centered horizontally – is produced by the chical structure, with numbered or unnumbered headings equation environment. An unnumbered display equation is for sections, subsections, sub-subsections, and even smaller produced by the displaymath environment. sections. The command section that precedes this para- graph is part of such a hierarchy.2 L TEX handles the num- A Again, in either environment, you can use any of the symbols bering and placement of these headings for you, when you A and structures available in L TEX; this section will just give use the appropriate heading commands around the titles of a couple of examples of display equations in context. First, the headings. If you want a sub-subsection or smaller part consider the equation, shown as an inline equation above: to be unnumbered in your output, simply append an aster- isk to the command name. Examples of both numbered and lim x = 0 (1) n unnumbered headings will appear throughout the balance of this sample document. Notice how it is formatted somewhat differently in the dis- playmath environment. Now, we’ll enter an unnumbered Because the entire article is contained in the document equation: environment, you can indicate the start of a new paragraph X with a blank line in your input file; that is why this sentence x+1 forms a separate paragraph. i=0 and follow it with another numbered equation: 2.1 Type Changes and Special Characters X Z π+2 We have already seen several typeface changes in this sam- xi = f (2) ple. You can indicate italicized words or phrases in your i=0 0 text with the command textit; emboldening with the com- A just to demonstrate L TEX’s able handling of numbering. mand textbf and typewriter-style (for instance, for com- puter code) with texttt. But remember, you do not have to indicate typestyle changes when such changes are part 2.3 Citations of the structural elements of your article; for instance, the Citations to articles [1, 3, 2, 4], conference proceedings [3] or heading of this subsection will be in a sans serif3 typeface, books [6, 5] listed in the Bibliography section of your article but that is handled by the document class file. Take care will occur throughout the text of your article. You should with the use of4 the curly braces in typeface changes; they use BibTeX to automatically produce this bibliography; you mark the beginning and end of the text that is to be in the simply need to insert one of several citation commands with different typeface. a key of the item cited in the proper location in the .tex file [5]. The key is a short reference you invent to uniquely You can use whatever symbols, accented characters, or non- identify each work; in this sample document, the key is the English characters you need anywhere in your document; first author’s surname and a word from the title. This iden- A you can find a complete list of what is available in the L TEX tifying key is included with each item in the .bib file for User’s Guide[5]. your article. 2.2 Math Equations The details of the construction of the .bib file are beyond You may want to display math equations in three distinct the scope of this sample document, but more information styles: inline, numbered or non-numbered display. Each of can be found in the Author’s Guide, and exhaustive details the three are discussed in the next sections. A in the L TEX User’s Guide[5]. 2.2.1 Inline (In-text) Equations This article shows only the plainest form of the citation com- A formula that appears in the running text is called an inline mand, using cite. This is what is stipulated in the SIGS or in-text formula. It is produced by the math environment, style specifications. No other citation format is endorsed. which can be invoked with the usual begin. . .end construction or with the short form $. . .$. You can use 2.4 Tables any of the symbols and structures, from α to ω, available Because tables cannot be split across pages, the best place- A in L TEX[5]; this section will simply show a few examples ment for them is typically the top of the page nearest their of in-text equations in context. Notice how this equation: initial cite. To ensure this proper “floating” placement of limn x = 0, set here in in-line math style, looks slightly tables, use the environment table to enclose the table’s con- different when set in display style. (See next section). tents and the table caption. The contents of the table itself must go in the tabular environment, to be aligned properly 2.2.2 Display Equations in rows and columns, with the desired horizontal and verti- 2 cal rules. Again, detailed instructions on tabular material This is the second footnote. It starts a series of three foot- A is found in the L TEX User’s Guide. notes that add nothing informational, but just give an idea of how footnotes work and look. It is a wordy one, just so you see how a longish one plays out. Immediately following this sentence is the point at which 3 Table 1 is included in the input file; compare the placement A third footnote, here. Let’s make this a rather short one to see how it looks. of the table here with the table in the printed dvi output of 4 A fourth, and last, footnote. this document.
  • 3. Table 1: Frequency of Special Characters Non-English or Math Frequency Comments Ø 1 in 1,000 For Swedish names π 1 in 5 Common in math $ 4 in 5 Used in business Ψ21 1 in 40,000 Unexplained usage Figure 3: A sample black and white graphic (.ps for- mat) that has been resized with the psfig command. the command newtheorem and the other by the command Figure 1: A sample black and white graphic (.eps newdef; perhaps the clearest and easiest way to distinguish format). them is to compare the two in the output of this sample document: To set a wider table, which takes up the whole width of This uses the theorem environment, created by the the page’s live area, use the environment table* to en- newtheorem command: close the table’s contents and the table caption. As with a single-column table, this wide table will “float to a lo- cation deemed more desirable. Immediately following this Theorem 1. Let f be continuous on [a, b]. If G is an sentence is the point at which Table 2 is included in the in- antiderivative for f on [a, b], then put file; again, it is instructive to compare the placement of Z b the table here with the table in the printed dvi output of f (t)dt = G(b) G(a). this document. a 2.5 Figures The other uses the definition environment, created by the Like tables, figures cannot be split across pages; the best newdef command: placement for them is typically the top or the bottom of the page nearest their initial cite. To ensure this proper Definition 1. If z is irrational, then by ez we mean the “floating” placement of figures, use the environment figure unique number which has logarithm z: to enclose the figure and its caption. log ez = z This sample document contains examples of .eps and .ps A files to be displayable with L TEX. More details on each of Two lists of constructs that use one of these forms is given these is found in the Author’s Guide. in the Author’s Guidelines. As was the case with tables, you may want a figure that and don’t forget to end the environment with figure*, not spans two columns. To do this, and still to ensure proper figure! “floating” placement of tables, use the environment figure* to enclose the figure and its caption. There is one other similar construct environment, which is already set up for you; i.e. you must not use a newdef Note that either .ps or .eps formats are used; use the epsfig command to create it: the proof environment. Here is a or psfig commands as appropriate for the different file example of its use: types. Proof. Suppose on the contrary there exists a real num- 2.6 Theorem-like Constructs ber L such that Other common constructs that may occur in your article f (x) lim = L. are the forms for logical constructs like theorems, axioms, x g(x) corollaries and proofs. There are two forms, one produced by Then f (x) f (x) l = lim f (x) = lim gx = lim g(x) lim = 0L = 0, xc xc g(x) xc xc g(x) which contradicts our assumption that l 6= 0. Complete rules about using these environments and using the two different creation commands are in the Author’s Guide; please consult it for more detailed instructions. If you need to use another construct, not listed therein, which Figure 2: A sample black and white graphic (.eps you want to have the same formatting as the Theorem or format) that has been resized with the epsfig com- the Definition[6] shown above, use the newtheorem or the mand. newdef command, respectively, to create it.
  • 4. 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 Figure 4: A sample black and white graphic (.eps format) that needs to span two columns of text. A Caveat for the TEX Expert [3] M. Clark. Post congress tristesse. In TeX90 Conference Because you have just been given permission to use the Proceedings, pages 84–89. TeX Users Group, March newdef command to create a new form, you might think 1991. you can use TEX’s def to create a new command: Please [4] M. Herlihy. A methodology for implementing highly A refrain from doing this! Remember that your L TEX source concurrent data objects. ACM Trans. Program. Lang. code is primarily intended to create camera-ready copy, but Syst., 15(5):745–770, November 1993. may be converted to other forms – e.g. HTML. If you in- [5] L. Lamport. LaTeX User’s Guide and Document advertently omit some or all of the defs recompilation will Reference Manual. Addison-Wesley Publishing be, to say the least, problematic. Company, Reading, Massachusetts, 1986. [6] S. Salas and E. Hille. Calculus: One and Several 3. CONCLUSIONS Variable. John Wiley and Sons, New York, 1978. This paragraph will end the body of this sample document. Remember that you might still have Acknowledgments or APPENDIX Appendices; brief samples of these follow. There is still the A. HEADINGS IN APPENDICES Bibliography to deal with; and we will make a disclaimer The rules about hierarchical headings discussed above for about that here: with the exception of the reference to the A the body of the article are different in the appendices. In L TEX book, the citations in this paper are to articles which the appendix environment, the command section is used have nothing to do with the present subject and are used as to indicate the start of each Appendix, with alphabetic order examples only. designation (i.e. the first is A, the second B, etc.) and a title (if you include one). So, if you need hierarchical structure 4. ACKNOWLEDGMENTS within an Appendix, start with subsection as the highest This section is optional; it is a location for you to acknowl- level. Here is an outline of the body of this document in edge grants, funding, editing assistance and what have you. Appendix-appropriate form: In the present case, for example, the authors would like to thank Gerald Murray of ACM for his help in codifying this A.1 Introduction Author’s Guide and the .cls and .tex files that it describes. A.2 The Body of the Paper 5. ADDITIONAL AUTHORS A.2.1 Type Changes and Special Characters Additional authors: John Smith (The Thørväld Group, email: A.2.2 Math Equations jsmith@affiliation.org) and Julius P. Kumquat (The Kumquat Consortium, email: jpkumquat@consortium.net). Inline (In-text) Equations 6. REFERENCES [1] M. Bowman, S. K. Debray, and L. L. Peterson. Display Equations Reasoning about naming systems. ACM Trans. Program. Lang. Syst., 15(5):795–825, November 1993. [2] J. Braams. Babel, a multilingual style-option system A.2.3 Citations for use with latex’s standard document styles. A.2.4 Tables TUGboat, 12(2):291–301, June 1991. A.2.5 Figures
  • 5. A.2.6 Theorem-like Constructs A Caveat for the TEX Expert A.3 Conclusions A.4 Acknowledgments A.5 Additional Authors A This section is inserted by L TEX; you do not insert it. You just add the names and information in the additionalauthors command at the start of the document. A.6 References Generated by bibtex from your .bib file. Run latex, then bibtex, then latex twice (to resolve references) to create the .bbl file. Insert that .bbl file into the .tex source file and comment out the command thebibliography. B. MORE HELP FOR THE HARDY The acm_proc_article-sp document class file itself is chock- full of succinct and helpful comments. If you consider your- A self a moderately experienced to expert user of L TEX, you may find reading it useful but please remember not to change it.