latec

Embed Size (px)

Citation preview

  • 8/8/2019 latec

    1/3

    A Sample Technical Paper in L ATEXFormat

    First AuthorAuthor AffliationAuthor Address

    [email protected]

    Second AuthorAuthor AffliationAuthor Address

    [email protected]

    October 29, 2010

    ABSTRACTThis paper provies a sample of L ATEXdocument

    which conforms to the formatting guidelinesfor publications in Proceedings of Confer-ence/Journals. This source le has been writtenwith the intention of being compiled underLATEXand BibTeX.

    The sample paper includes most of the im-portant features of L ATEXlike mathematicalequations,theorms,tables and gres.

    Categories and Subject DescriptorsH.4[Information System Applications]: Miscella-neous;D.28[Software Engineering]: Metrics Complexi-tyMeasues,performance measures

    General TermsTheory

    Keywords

    Proceedings,LA

    TEX1. INTRODUCTIONThe proceedings are the records of a confer-ence.ACM/IEEE seeks to give the conferenceby-products a uniform,high quality appearance.Todo this,there are some rigid requirements for theformat of the procceding documents: there is aspecied format (balanced double collumn), aspecied set of fonts(Arial or Helvetica and TimesRoman) in certain specied sizes(for instance,9point for copy body),a specied live area centered

    on the page,specied size of margins top andbottom and left and right: specied column widthand gutter size.

    2. THE BODY OF THE PAPERTypically,the body of as paper is organisedinto a hierarchical structure,with numbered orunnumbered headings for sections,subsections,sub-subsections,and even smaller sections.L ATEXhandlesthe numbering and placement of these headingsfor you,when you use the appropriate headingscommand around the titles of the headings.If youwant a sub-section or smaller part to be unnmberein your output,simply append an asterisk to thecomand name.Examples of both numberd andunnumberd headings will appear throughout thebalance of this sample document.

    Because the enire article is contained in thedocument environment, you can indicate the startof a new paragraph with a blank line in yourinput le; thats why this sentence frms a seperateparagraph.

    2.1 Type changes and Special CharactersWe have already seen several typeface changes inthis sample.You can indicate italicized words orphrases in your text with the command ;embold-ening with the command and typewriter style(for instance,for computercode) with .But remem-ber,you do not have to indicate typestyle changeswhen such changes are part of the structural elements of your article for instance,tje heading of this sub-section will be in a san serif typeface,butthat is handled by the document class le. Take

    1

  • 8/8/2019 latec

    2/3

    care with the use of the curly braces in typeface

    changes,thy mark the begining and end of the textthat is to be in the different typeface.

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

    2.2 Math EquationsYou may want to display math equation in thredistinct styles: inline,numbered or non-numbered

    display.Each of the three are discusse in next sec-tion.

    2.2.1 Inline(In-text) EquationsA formula that appears in the running text is calledan in-line or in-text formula. It is produced btmath environment,which can be invoked with theusual costruction or withthe short form $ . . . .$. You can use any of the symbol and structuresfrom to ,available in LATEX[5]; this section willsimply show a few examples of in-text equations incontext.Notice how this equation:

    limx

    x = 0

    . Set here in in-line math style,looks slightly differ-ent when set in display style.(See Next section)2.2.2 Display EquationsA numbered display equation one set off by ver-tical space from the text and centered horizontally is produced by the equation environment. Anunnumbered display equation is displayed by thedisplaymath environment.

    Again,in either environment,you can use any of thesymbols and structures available in L ATEX; this sec-tion will just give a couple of examples of displayequations in context. First,consider the equation,shown as an inline equation above:

    limx

    x = 0

    (1)Notice how it is formtted somewhat differently inthis displaymath environment.Now,well enter an

    unnumbered equation:

    i =0

    x + 1

    and follow it with another unnumbered equation:

    ki =0

    xi = +2

    0 f

    just to demonstrate LATEXs able handling of numbering.

    2.3 CitationCitation to article[1,2,3,4],conference prceeding[3]or boks[6,5] listed in Bibliography section of yourarticle will occur throughtout the text of yourarticle. You should use BibTeX to automaticallyproduce this bibliography; you simply need toinsert one of the several citation commands witha key of the item cited in the proper locationin the .tex e[5]. The key is a short referenceyou invent to uniquely identify each work; inthissample document, the key is the rst authorssurname and a word from the title.This identifykey is inclued with each item in the .bib le foryour article.

    The details of the construction of the .bib le arebeyond the scope of this sample document, butmre information vcan be found in the AuthorsGuide , and exhaustive details in the L ATEXUsersGuide [5].

    This article shows only the planet plainest form of the citation command using cite . This is what isstipulated in the SIGS style specication.No othercitation format is endorsed.

    2.4 TablesBecause table can not split across pages, the bestplacement for them is typically the top of the pagnearest their initial cite. To ensure thi properoating placement oftables, use the environmenttable to enclose the tables content andthe tablecaption. The contents of the table itself must go inthe tabular environment, to be aligned properlyin rows and columns, with the desired horizontaland vertical rules. Again, detailed instructions on

    2

  • 8/8/2019 latec

    3/3

    tabular material found in the L ATEXUsers Guide .

    Immediately followinf this sentence is the pointat which Table 1 is included in the input le;comparethe placement of the table here with thetable in the printd dvi output of this document.Table 1: Frequency of Special Characters

    Non-Eng or Math Frequency Comments 1 in 1,000 For Swedish Names 1 in 5 Common in math$ 4 in 5 Used in business i in 40,000 Unexplained usage

    Figure 1: A sample graphics (.eps format).To set a wider table, which takes up the wholewidth of the pagess live area, use the enironmenttable * to enclose the tables contents and thetable caption. As with a single-column table, thiswidetable will oat to a location deemed moredesirable.Immediately following this sentence isthepoint at which Table 2 is included in the input le; again, it is instructive to compare the placementof the table here with the table in the printed dvioutput of the document.

    2.5 FiguresLike tables, gures cannot be split across [ages;the best placement for then is typically the top orthe bottom of the page nearst their initial cite. Toensure this proper oating placement of gures,use the environment gure to enclose the gureand caption.

    This sae documents contains an example of Figure1. to be displayed with LATEX. Here you may useany gure of your choice. It would be better if youdraw a gure using xg and convert it ino .eps le.

    2.6 Theorem-like ConstructsOhter common cinstructs thtat may occur yourarticle are the forms for logical constructs liketheorems,axioms,corollaries and proofs. Thereare two forms, one produced by the commandnewtheorem and the other by the commandnewdf ; perhaps the clearest and easiest way todistinguish them is to comapre the two in theoutput of this sample document:

    This uses the theorem environment, created by

    the newtheorem command:

    Theorem 1 Let f be continous on [a,b]. If G isan antiderative for f on [a,b], then

    b

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

    The other uses the denition environment,created by the newdef command :

    Denition 1 . If z is irrational, ten by ez we meanthe unique number which has logarithm z:

    loge z = z

    Table 2: Some Typical CommandsCommand A Number Comments

    alignauthor 100 Author Alignmentnumberof author 200 Author Enumeration

    table 300 For tablestable* 400 For wider tables

    There is naother similar construct environment,which is already set up for you; i.e. you must not use a newdef command to create it: the proof environment. Here is a example of its use:PROOF: Suppose on the contrary ther exists areal number L such that

    limx

    f (x )g(x )

    = L

    Then

    3