sigproc-sp

Upload: count3r5tr1ke

Post on 07-Apr-2018

273 views

Category:

Documents


0 download

TRANSCRIPT

  • 8/6/2019 sigproc-sp

    1/5

  • 8/6/2019 sigproc-sp

    2/5

    2. THE BODYOF THE PAPERTypically, the body of a paper is organized into a hierar-chical structure, with numbered or unnumbered headingsfor sections, subsections, sub-subsections, and even smallersections. The command \section that precedes this para-graph is part of such a hierarchy.2 LATEX handles the num-bering and placement of these headings for you, when youuse the appropriate heading commands around the titles ofthe headings. If you want a sub-subsection or smaller part

    to be unnumbered in your output, simply append an aster-isk to the command name. Examples of b oth numbered andunnumbered headings will appear throughout the balance ofthis sample document.

    Because the entire article is contained in the documentenvironment, you can indicate the start of a new paragraphwith a blank line in your input file; that is why this sentenceforms a separate paragraph.

    2.1 Type Changes and SpecialCharactersWe have already seen several typeface changes in this sam-ple. You can indicate italicized words or phrases in yourtext with the command \textit; emboldening with the com-

    mand \textbf and typewriter-style (for instance, for com-puter code) with \texttt. But remember, you do not haveto indicate typestyle changes when such changes are partof the structural elements of your article; for instance, theheading of this subsection will be in a sans serif3 typeface,but that is handled by the document class file. Take carewith the use of4 the curly braces in typeface changes; theymark the beginning and end of the text that is to be in thedifferent typeface.

    You can use whatever symbols, accented characters, or non-English characters you need anywhere in your document;you can find a complete list of what is available in the LATEXUsers Guide[5].

    2.2 Math EquationsYou may want to display math equations in three distinctstyles: inline, numbered or non-numbered display. Each ofthe three are discussed in the next sections.

    2.2.1 Inline (In-text) EquationsA formula that appears in the running text is called an inlineor in-text formula. It is produced by the math environment,which can be invoked with the usual \begin. . .\endconstruction or with the short form $. . .$. You can useany of the symbols and structures, from to , availablein LATEX[5]; this section will simply show a few examplesof in-text equations in context. Notice how this equation:

    limn

    x = 0, set here in in-line math style, looks slightlydifferent when set in display style. (See next section).

    2.2.2 Display Equations2This is the second footnote. It starts a series of three foot-notes that add nothing informational, but just give an ideaof how footnotes work and look. It is a wordy one, just soyou see how a longish one plays out.3A third footnote, here. Lets make this a rather short oneto see how it looks.4A fourth, and last, footnote.

    A numbered display equation one set off by vertical spacefrom the text and centered horizontally is produced by theequation environment. An unnumbered display equation isproduced by the displaymath environment.

    Again, in either environment, you can use any of the symbolsand structures available in LATEX; this section will just givea couple of examples of display equations in context. First,consider the equation, shown as an inline equation above:

    limn

    x = 0 (1)

    Notice how it is formatted somewhat differently in the dis-playmath environment. Now, well enter an unnumberedequation:

    i=0

    x + 1

    and follow it with another numbered equation:

    i=0

    xi =

    +2

    0

    f (2)

    just to demonstrate LA

    TEXs able handling of numbering.

    2.3 CitationsCitations to articles [1, 3, 2, 4], conference proceedings [3] orbooks [6, 5] listed in the Bibliography section of your articlewill occur throughout the text of your article. You shoulduse BibTeX to automatically produce this bibliography; yousimply need to insert one of several citation commands witha key of the item cited in the proper location in the .texfile [5]. The key is a short reference you invent to uniquelyidentify each work; in this sample document, the key is thefirst authors surname and a word from the title. This iden-tifying key is included with each item in the .bib file foryour article.

    The details of the construction of the .bib file are beyondthe scope of this sample document, but more informationcan be found in the Authors Guide, and exhaustive detailsin the LATEX Users Guide[5].

    This article shows only the plainest form of the citation com-mand, using \cite. This is what is stipulated in the SIGSstyle specifications. No other citation format is endorsed.

    2.4 TablesBecause tables cannot be split across pages, the best place-ment for them is typically the top of the page nearest theirinitial cite. To ensure this proper floating placement of

    tables, use the environment table to enclose the tables con-tents and the table caption. The contents of the table itselfmust go in the tabular environment, to be aligned properlyin rows and columns, with the desired horizontal and verti-cal rules. Again, detailed instructions on tabular materialis found in the LATEX Users Guide.

    Immediately following this sentence is the point at whichTable 1 is included in the input file; compare the placementof the table here with the table in the printed dvi output ofthis document.

  • 8/6/2019 sigproc-sp

    3/5

    Table 1: Frequency of Special CharactersNon-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 1: A sample black and white graphic (.epsformat).

    To set a wider table, which takes up the whole width ofthe pages live area, use the environment table* to en-close the tables contents and the table caption. As witha single-column table, this wide table will float" to a lo-cation deemed more desirable. Immediately following thissentence is the point at which Table 2 is included in the in-put file; again, it is instructive to compare the placement of

    the table here with the table in the printed dvi output ofthis document.

    2.5 FiguresLike tables, figures cannot be split across pages; the bestplacement for them is typically the top or the bottom ofthe page nearest their initial cite. To ensure this properfloating placement of figures, use the environment figureto enclose the figure and its caption.

    This sample document contains examples of .eps and .psfiles to be displayable with LATEX. More details on each ofthese is found in the Authors Guide.

    As was the case with tables, you may want a figure thatspans two columns. To do this, and still to ensure proper floating placement of tables, use the environment figure*to enclose the figure and its caption.

    Note that either .ps or .eps formats are used; use the \epsfigor \psfig commands as appropriate for the different filetypes.

    2.6 Theorem-like ConstructsOther common constructs that may occur in your articleare the forms for logical constructs like theorems, axioms,corollaries and proofs. There are two forms, one produced by

    Figure 2: A sample black and white graphic (.epsformat) that has been resized with the epsfig com-mand.

    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\newdef; perhaps the clearest and easiest way to distinguishthem is to compare the two in the output of this sampledocument:

    This uses the theorem environment, created by the\newtheorem command:

    Theorem 1. Let f be continuous on [a, b]. If G is anantiderivative for f on [a, b], then

    ba

    f(t)dt = G(b) G(a).

    The other uses the definition environment, created by the\newdef command:

    Definition 1. If z is irrational, then by ez we mean theunique number which has logarithm z:

    log ez = z

    Two lists of constructs that use one of these forms is givenin the Authors Guidelines.

    and dont forget to end the environment with figure*, notfigure!

    There is one other similar construct environment, which isalready set up for you; i.e. you must not use a \newdefcommand to create it: the proof environment. Here is aexample of its use:

    Proof. Suppose on the contrary there exists a real num-ber L such that

    limx

    f(x)

    g(x)= L.

    Then

    l = limxc

    f(x) = limxc

    gx f(x)g(x)

    = limxc

    g(x) limxc

    f(x)

    g(x)= 0L = 0,

    which contradicts our assumption that l = 0.

    Complete rules about using these environments and usingthe two different creation commands are in the AuthorsGuide; please consult it for more detailed instructions. Ifyou need to use another construct, not listed therein, whichyou want to have the same formatting as the Theorem orthe Definition[6] shown above, use the \newtheorem or the\newdef command, respectively, to create it.

  • 8/6/2019 sigproc-sp

    4/5

    Table 2: Some Typical CommandsCommand 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 ExpertBecause you have just been given permission to use the\newdef command to create a new form, you might thinkyou can use TEXs \def to create a new command: Pleaserefrain from doing this! Remember that your LATEX sourcecode is primarily intended to create camera-ready copy, butmay be converted to other forms e.g. HTML. If you in-advertently omit some or all of the \defs recompilation willbe, to say the least, problematic.

    3. CONCLUSIONSThis paragraph will end the body of this sample document.Remember that you might still have Acknowledgments orAppendices; brief samples of these follow. There is still theBibliography to deal with; and we will make a disclaimerabout that here: with the exception of the reference to theLATEX book, the citations in this paper are to articles whichhave nothing to do with the present subject and are used asexamples only.

    4. ACKNOWLEDGMENTSThis section is optional; it is a location for you to acknowl-edge grants, funding, editing assistance and what have you.In the present case, for example, the authors would like tothank Gerald Murray of ACM for his help in codifying thisAuthors Guide and the .cls and .tex files that it describes.

    5. ADDITIONAL AUTHORSAdditional authors: John Smith (The Thrvld Group, email:[email protected]) and Julius P. Kumquat (The KumquatConsortium, email: [email protected]).

    6. REFERENCES[1] M. Bowman, S. K. Debray, and L. L. Peterson.

    Reasoning about naming systems. ACM Trans.Program. Lang. Syst., 15(5):795825, November 1993.

    [2] J. Braams. Babel, a multilingual style-option systemfor use with latexs standard document styles.TUGboat, 12(2):291301, June 1991.

    [3] M. Clark. Post congress tristesse. In TeX90 ConferenceProceedings, pages 8489. TeX Users Group, March1991.

    [4] M. Herlihy. A methodology for implementing highlyconcurrent data objects. ACM Trans. Program. Lang.Syst., 15(5):745770, November 1993.

    [5] L. Lamport. LaTeX Users Guide and DocumentReference Manual. Addison-Wesley PublishingCompany, Reading, Massachusetts, 1986.

    [6] S. Salas and E. Hille. Calculus: One and SeveralVariable. John Wiley and Sons, New York, 1978.

    APPENDIXA. HEADINGS IN APPENDICES

    The rules about hierarchical headings discussed above forthe body of the article are different in the appendices. Inthe appendix environment, the command section is usedto indicate the start of each Appendix, with alphabetic orderdesignation (i.e. the first is A, the second B, etc.) and a title(if you include one). So, if you need hierarchical structurewithin an Appendix, start with subsection as the highestlevel. Here is an outline of the body of this document inAppendix-appropriate form:

    A.1 IntroductionA.2 The Body of the PaperA.2.1 Type Changes and Special Characters

    A.2.2 Math Equations

    Inline (In-text) Equations

    Display Equations

    A.2.3 Citations

    A.2.4 Tables

    A.2.5 Figures

  • 8/6/2019 sigproc-sp

    5/5

    A.2.6 Theorem-like Constructs

    A Caveat for the TEX Expert

    A.3 Conclusions

    A.4 AcknowledgmentsA.5 Additional AuthorsThis section is inserted by LATEX; you do not insert it. Youjust add the names and information in the \additionalauthorscommand at the start of the document.

    A.6 ReferencesGenerated by bibtex from your .bib file. Run latex, thenbibtex, then latex twice (to resolve references) to create the.bbl file. Insert that .bbl file into the .tex source file andcomment out the command \thebibliography.

    B. MORE HELP FOR THE HARDYThe acm_proc_article-sp document class file itself is chock-full of succinct and helpful comments. If you consider your-self a moderately experienced to expert user of LATEX, youmay find reading it useful but please remember not to changeit.