SlideShare a Scribd company logo
1 of 48
Download to read offline
Introduction Document Types Special Material Wrapping Up




         LTEX: More Than Just Academic Papers and Theses
         A


                                                  L      Lian Tze
                                         liantze@gmail.com
                                 http://liantze.penguinattack.org/

                                                      cbna


                            Malaysian Open Source Conference




L   Lian Tze |                                                       /
Introduction Document Types Special Material Wrapping Up


Contents



      What are TEX, LTEX and Friends?
                    A



      Document Types


      Special Material


      Wrapping Up




L   Lian Tze |                                                  /
Introduction Document Types Special Material Wrapping Up


Contents



      What are TEX, LTEX and Friends?
                    A



      Document Types


      Special Material


      Wrapping Up




L   Lian Tze |                                                  /
Introduction Document Types Special Material Wrapping Up


What are TEX and LTEX, and Friends?
                 A




                  TEX        ASCII TeX, /tEx/, /tEk/
                             A computer typesetting system created by Donald Knuth
                             for ‘the creation of beautiful books’
                 LTEX
                 A           ASCII LaTeX, /"leItEx/, /"leItEk/, /"lA:tEx/, /"lA:tEk/
                             A document preparation system by Leslie Lamport
        Binaries             ������-TEX: additional primitives to TEX
                             pdfTEX: additional PDF-related primitives
                             XETEX: native UTF- input; can access system fonts
                             LuaTEX: includes the Lua scripting engine
          Friends            BIBTEX, MakeIndex, METAFONT, METAPOST, . . .
                             http://www.ctan.org/what_is_tex.html




L   Lian Tze |                                                                         /
Introduction Document Types Special Material Wrapping Up


Why?
From http://www.ctan.org/what_is_tex.html



    Output Quality                                              Freedom
             It has the best output.                                It’s free.
             It knows typesetting.                                  It runs anywhere.


    Superior Engineering                                        Popularity
             It’s fast.                                             It’s the standard (in
             It’s stable.                                           academia and science).
             It’s not rigid (extensible).
             Plain text input.
             Many output types.


L   Lian Tze |                                                                               /
Introduction Document Types Special Material Wrapping Up


Where Would I Want to Use LTEX?
                          A




         Documents with complex structures
         Lots of mathematics (or other speci c needs)
         When publishers require them
         Batch processing
         Back-end of other applications




L   Lian Tze |                                                  /
Introduction Document Types Special Material Wrapping Up


How Do I Use It?




         Write a plain text LTEX le (.tex)
                            A

         Run it through pdflatex or xelatex → PDF output
         (or latex   + dvips + ps2pdf        for DVI + PS + PDF)
         Run bibtex and/or makeindex to process bibliographies, indices
         Re-run pdflatex to resolve references and pointers




L   Lian Tze |                                                            /
Introduction Document Types Special Material Wrapping Up


Example .tex File
    documentclass[a4paper,11pt]{article}                                             An Introductory Paper
    author{Lim Lian Tze}                                                                       Lim Lian Tze
    title{An Introductory Paper}                                                                June 7, 2011
    date{today}
    usepackage[english]{babel}
                                                                Contents
                                                                1 Introduction                                                           1
    begin{document}
                                                                2 State of the Art                                                       1
    maketitle                                                    2.1 Document Formats . . . . . . . . . . . . . . . . . . . . . . . .   1
    tableofcontents
                                                                                                      Abstract

                                                 pdflatex                This paper introduces. . .
    begin{abstract}
    This paper introducesldots                                 1     Introduction
    end{abstract}                                              We consider. . .


    section{Introduction}                                      2     State of the Art
    We considerldots                                           We look at. . .

                                                                2.1    Document Formats
    section{State of the Art}                                  There are many. . .
    We look atldots

    subsection{Document Formats}
    There are manyldots                                                                                 1
    end{document}

L   Lian Tze |                                                                                                                           /
Introduction Document Types Special Material Wrapping Up


Where Do I Get It?


             Windows MiKTEX, TEXLive
      Un*x, GNU/Linux TEXLive
                  Mac OS X MacTEX (based on TEXLive)
                 Installation Use your OS’ package manager
                              (or download manually)
                    Editors vi, emacs, Texmaker, TeXworks, . . .
          LTEX Packages Use MiKTEX or TEXLive’s package manager
          A

        Documentation (TEXLive) $                  texdoc <package name>
                                 (MiKTEX) $ mthelp <package name>




L   Lian Tze |                                                             /
Introduction Document Types Special Material Wrapping Up


Easy to Learn, Hard to Master



         Customising may not be straightforward (vs word processors)
         Intentionally so: Style guidelines should be followed strictly
                 Publisher/organisation provides document class or style les
                 Use these to take care of formatting and styling, focus on the content
         Fair enough.
         But where do I learn all the stu the TEXnicians and TEXperts do?
         (There is a learning curve)




L   Lian Tze |                                                                            /
Introduction Document Types Special Material Wrapping Up


Getting Help

         Many free tutorials and e-books on the Web (beware of obsolete ones!)
                 Getting to Grips with LTEX. Andy Roberts.
                                       A
                 http://www.andy-roberts.net/misc/latex/
                 LTEX: Beautiful Typesetting. Lim Lian Tze.
                 A
                 http://liantze.penguinattack.org/latextypesetting.html
                 LTEX and Friends. M.R.C. van Dongen.
                 A
                 http://csweb.ucc.ie/~dongen/LaTeX-and-Friends.pdf
                 The LTEX WikiBook.
                     A                         http://en.wikibooks.org/wiki/LaTeX
         Questions?
                 TEX FAQ. http://www.tex.ac.uk/cgi-bin/texfaq2html
                 TEX.SX. http://tex.stackexchange.com/
                 comp.text.tex usenet group
                 Malaysian LTEX User Group. http://latex-my.blogspot.com/
                            A

         Arrange for training


L   Lian Tze |                                                                      /
Introduction Document Types Special Material Wrapping Up




                  So, What Can LTEX Do?
                               A




L   Lian Tze |                                                  /
Introduction Document Types Special Material Wrapping Up


Contents



      What are TEX, LTEX and Friends?
                    A



      Document Types


      Special Material


      Wrapping Up




L   Lian Tze |                                                  /
Introduction Document Types Special Material Wrapping Up


Basic Types

    Books                                                                                                                                           Chapter 1

                                                                                                                                                    Heading on level 0 (chapter)

                                                                                                                                                    Hello, here is some text without a meaning. This text should show, how a
                                                                                                                                                    printed text will look like at this place. If you read this text, you will get no
                                                                               A Wonderful Read                                                     information. Really? Is there no information? Is there a difference between


    documentclass{book}                                                                 A. Dummy
                                                                                                                                                    this text and some nonsense like »Huardest gefburn«. Kjift – Never mind!
                                                                                                                                                    A blind text like this gives you information about the selected font, how the
                                                                                                                                                    letters are written and the impression of the look. This text should contain
                                                                                                                                                    all letters of the alphabet and it should be written in of the original language.
                                                                                                                                                    There is no need for a special contents, but the length of words should match
                                                                                       3rd June 2011                                                to the language.



    author{...}                                                                                                                                    1.1      Heading on level 1 (section)
                                                                                                                                                    Hello, here is some text without a meaning. This text should show, how a
                                                                                                                                                    printed text will look like at this place. If you read this text, you will get no
                                                                                                                                                    information. Really? Is there no information? Is there a difference between
                                                                                                                                                    this text and some nonsense like »Huardest gefburn«. Kjift – Never mind!


    title{...}                                                                                                                                     A blind text like this gives you information about the selected font, how the
                                                                                                                                                    letters are written and the impression of the look. This text should contain
                                                                                                                                                    all letters of the alphabet and it should be written in of the original language.
                                                                                                                                                    There is no need for a special contents, but the length of words should match
                                                                                                                                                    to the language.


                                                                                                                                                    1.1.1     Heading on level 2 (subsection)
                                                                                                                                                    Hello, here is some text without a meaning. This text should show, how a
                                                                                                                                                    printed text will look like at this place. If you read this text, you will get no
                                                                                                                                                    information. Really? Is there no information? Is there a difference between

                                                                                                                                                                                           3



    begin{document}
    maketitle
                                                                4                    CHAPTER 1. HEADING ON LEVEL 0 (CHAPTER)                        1.2. LISTS                                                                     5


    chapter{...}                                               this text and some nonsense like »Huardest gefburn«. Kjift – Never mind!
                                                                A blind text like this gives you information about the selected font, how the
                                                                letters are written and the impression of the look. This text should contain
                                                                                                                                                    Example for list (4*itemize)

                                                                                                                                                       • First item in a list
                                                                all letters of the alphabet and it should be written in of the original language.
                                                                There is no need for a special contents, but the length of words should match                – First item in a list
                                                                to the language.                                                                                  ∗ First item in a list


    section{...}                                               Heading on level 3 (subsubsection)
                                                                Hello, here is some text without a meaning. This text should show, how a
                                                                printed text will look like at this place. If you read this text, you will get no
                                                                                                                                                                      · First item in a list
                                                                                                                                                                      · Second item in a list
                                                                                                                                                                  ∗ Second item in a list

                                                                information. Really? Is there no information? Is there a difference between                   – Second item in a list
                                                                this text and some nonsense like »Huardest gefburn«. Kjift – Never mind!


    ...
                                                                A blind text like this gives you information about the selected font, how the          • Second item in a list
                                                                letters are written and the impression of the look. This text should contain
                                                                all letters of the alphabet and it should be written in of the original language.
                                                                There is no need for a special contents, but the length of words should match
                                                                                                                                                    1.2.2     Example for list (enumerate)
                                                                to the language.                                                                      1. First item in a list

                                                                Heading on level 4 (paragraph) Hello, here is some text without a                     2. Second item in a list


    subsection{...}                                            meaning. This text should show, how a printed text will look like at this
                                                                place. If you read this text, you will get no information. Really? Is there
                                                                no information? Is there a difference between this text and some nonsense
                                                                like »Huardest gefburn«. Kjift – Never mind! A blind text like this gives
                                                                you information about the selected font, how the letters are written and the
                                                                                                                                                      3. Third item in a list

                                                                                                                                                      4. Fourth item in a list

                                                                impression of the look. This text should contain all letters of the alphabet          5. Fifth item in a list
                                                                and it should be written in of the original language. There is no need for a


    end{document}                                              special contents, but the length of words should match to the language.


                                                                1.2      Lists
                                                                                                                                                    Example for list (4*enumerate)

                                                                                                                                                      1. First item in a list

                                                                1.2.1     Example for list (itemize)                                                        (a) First item in a list
                                                                                                                                                                  i. First item in a list
                                                                    • First item in a list
                                                                                                                                                                     A. First item in a list
                                                                    • Second item in a list                                                                          B. Second item in a list
                                                                    • Third item in a list                                                                       ii. Second item in a list

                                                                    • Fourth item in a list                                                                 (b) Second item in a list

                                                                    • Fifth item in a list                                                            2. Second item in a list




L   Lian Tze |                                                                                                                                                                                                                          /
Introduction Document Types Special Material Wrapping Up


Basic Types (cont’d)
                                                                                                                                                     A blind text like this gives you information about the selected font, how the
                                                                                                                                                     letters are written and the impression of the look. This text should contain
                                                                                                                                                     all letters of the alphabet and it should be written in of the original language.
                                                                                          A Wonderful Read                                           There is no need for a special contents, but the length of words should match
                                                                                                                                                     to the language.




    Articles                                                                                         A. Dummy
                                                                                                    3rd June 2011
                                                                                                                                                     Heading on level 4 (paragraph) Hello, here is some text without a
                                                                                                                                                     meaning. This text should show, how a printed text will look like at this
                                                                                                                                                     place. If you read this text, you will get no information. Really? Is there
                                                                                                                                                     no information? Is there a difference between this text and some nonsense
                                                                                                                                                     like »Huardest gefburn«. Kjift – Never mind! A blind text like this gives
                                                                 1       Heading on level 1 (section)                                                you information about the selected font, how the letters are written and the
                                                                                                                                                     impression of the look. This text should contain all letters of the alphabet
                                                                 Hello, here is some text without a meaning. This text should show, how a            and it should be written in of the original language. There is no need for a
                                                                 printed text will look like at this place. If you read this text, you will get no   special contents, but the length of words should match to the language.
                                                                 information. Really? Is there no information? Is there a difference between
                                                                 this text and some nonsense like »Huardest gefburn«. Kjift – Never mind!
                                                                 A blind text like this gives you information about the selected font, how the       2       Lists
                                                                 letters are written and the impression of the look. This text should contain


    documentclass{article}                                      all letters of the alphabet and it should be written in of the original language.
                                                                 There is no need for a special contents, but the length of words should match
                                                                 to the language.
                                                                                                                                                     2.1      Example for list (itemize)
                                                                                                                                                         • First item in a list
                                                                                                                                                         • Second item in a list
                                                                 1.1      Heading on level 2 (subsection)                                                • Third item in a list
                                                                 Hello, here is some text without a meaning. This text should show, how a                • Fourth item in a list


    author{...}                                                 printed text will look like at this place. If you read this text, you will get no
                                                                 information. Really? Is there no information? Is there a difference between
                                                                 this text and some nonsense like »Huardest gefburn«. Kjift – Never mind!
                                                                 A blind text like this gives you information about the selected font, how the
                                                                 letters are written and the impression of the look. This text should contain
                                                                                                                                                         • Fifth item in a list

                                                                                                                                                     2.1.1     Example for list (4*itemize)
                                                                                                                                                         • First item in a list
                                                                 all letters of the alphabet and it should be written in of the original language.
                                                                 There is no need for a special contents, but the length of words should match                 – First item in a list


    title{...}                                                  to the language.

                                                                 1.1.1     Heading on level 3 (subsubsection)
                                                                 Hello, here is some text without a meaning. This text should show, how a
                                                                                                                                                                   ∗ First item in a list
                                                                                                                                                                       · First item in a list
                                                                                                                                                                       · Second item in a list
                                                                                                                                                                   ∗ Second item in a list
                                                                 printed text will look like at this place. If you read this text, you will get no
                                                                                                                                                               – Second item in a list
                                                                 information. Really? Is there no information? Is there a difference between
                                                                 this text and some nonsense like »Huardest gefburn«. Kjift – Never mind!                • Second item in a list

                                                                                                          1                                                                                 2




    begin{document}
    maketitle
                                                                 2.2      Example for list (enumerate)                                                              Second item in a list
                                                                     1. First item in a list                                                                     Second item in a list


    section{...}                                                    2. Second item in a list

                                                                     3. Third item in a list
                                                                                                                                                             Second item in a list

                                                                                                                                                     Second item in a list

                                                                     4. Fourth item in a list

                                                                     5. Fifth item in a list


    ...                                                          2.2.1     Example for list (4*enumerate)
                                                                     1. First item in a list

                                                                         (a) First item in a list
                                                                                i. First item in a list



    subsection{...}                                                               A. First item in a list
                                                                                   B. Second item in a list
                                                                               ii. Second item in a list
                                                                         (b) Second item in a list

                                                                     2. Second item in a list



    end{document}                                               2.3      Example for list (description)
                                                                 First item in a list

                                                                 Second item in a list

                                                                 Third item in a list

                                                                 Fourth item in a list

                                                                 Fifth item in a list

                                                                 2.3.1     Example for list (4*description)
                                                                 First item in a list

                                                                         First item in a list
                                                                              First item in a list
                                                                                  First item in a list

                                                                                                          3                                                                                 4




L    Lian Tze |                                                                                                                                                                                                                          /
Introduction Document Types Special Material Wrapping Up


Journal and Conference Proceedings Articles

IEEE                                                                                                                         ACM                                                                                                                                                             LLNCS
documentclass{IEEEtran}                                                                                                     documentclass{sig-alternate} documentclass{llncs}

                                                                                                                         1




                                            A Wonderful Read                                                                                                                             A Wonderful Read
                                                          A. Dummy
                                                                                                                                                                                                          A. Dummy                                                                                                       A Wonderful Read
       Abstract—Hello, here is some text without a meaning.            1) Heading on level 3 (subsubsection): Hello,                                                                                                                                                                                                                 A. Dummy
    This text should show, how a printed text will look like        here is some text without a meaning. This text
    at this place. If you read this text, you will get no           should show, how a printed text will look like                                                                                                                                                                                                                 No Institute Given
    information. Really? Is there no information? Is there
                                                                    at this place. If you read this text, you will get
    a difference between this text and some nonsense like
                                                                    no information. Really? Is there no information?           ABSTRACT                                                                            show, how a printed text will look like at this place. If you read
    »Huardest gefburn«. Kjift – Never mind! A blind text like                                                                                                                                                      this text, you will get no information. Really? Is there no infor-
    this gives you information about the selected font, how the     Is there a difference between this text and some           Hello, here is some text without a meaning. This text should show,
                                                                                                                                                                                                                   mation? Is there a difference between this text and some nonsense                   Abstract Hello, here is some text without a meaning. This text should
                                                                                                                               how a printed text will look like at this place. If you read this
    letters are written and the impression of the look. This text   nonsense like »Huardest gefburn«. Kjift – Never            text, you will get no information. Really? Is there no informa-                     like »Huardest gefburn«. Kjift – Never mind! A blind text like this                 show, how a printed text will look like at this place. If you read this text,
    should contain all letters of the alphabet and it should be                                                                                                                                                                                                                                        you will get no information. Really? Is there no information? Is there a
                                                                    mind! A blind text like this gives you information         tion? Is there a difference between this text and some nonsense                     gives you information about the selected font, how the letters are
    written in of the original language. There is no need for                                                                                                                                                      written and the impression of the look. This text should contain                    difference between this text and some nonsense like »Huardest gefburn«.
                                                                    about the selected font, how the letters are written       like »Huardest gefburn«. Kjift – Never mind! A blind text like this
                                                                                                                                                                                                                   all letters of the alphabet and it should be written in of the original             Kjift – Never mind! A blind text like this gives you information about
    a special contents, but the length of words should match                                                                   gives you information about the selected font, how the letters are
                                                                    and the impression of the look. This text should                                                                                               language. There is no need for a special contents, but the length of                the selected font, how the letters are written and the impression of the
    to the language.                                                                                                           written and the impression of the look. This text should contain
                                                                    contain all letters of the alphabet and it should be       all letters of the alphabet and it should be written in of the original             words should match to the language.                                                 look. This text should contain all letters of the alphabet and it should
                                                                                                                                                                                                                                                                                                       be written in of the original language. There is no need for a special
                                                                    written in of the original language. There is no need      language. There is no need for a special contents, but the length of
                                                                                                                               words should match to the language.                                                 Heading on level 4 (paragraph).                                                     contents, but the length of words should match to the language.
            I. H EADING ON LEVEL 1 ( SECTION )                      for a special contents, but the length of words should                                                                                            Hello, here is some text without a meaning. This text should
                                                                    match to the language.                                                                                                                         show, how a printed text will look like at this place. If you read
       Hello, here is some text without a meaning. This                                                                        1. Heading on level 1 (SECTION)                                                     this text, you will get no information. Really? Is there no infor-
                                                                          a) Heading on level 4 (paragraph): Hello,               Hello, here is some text without a meaning. This text should                     mation? Is there a difference between this text and some nonsense
    text should show, how a printed text will look like             here is some text without a meaning. This text             show, how a printed text will look like at this place. If you read                  like »Huardest gefburn«. Kjift – Never mind! A blind text like this
    at this place. If you read this text, you will get              should show, how a printed text will look like             this text, you will get no information. Really? Is there no infor-                  gives you information about the selected font, how the letters are
                                                                                                                                                                                                                                                                                                 1     Heading on level 1 (section)
    no information. Really? Is there no information?                                                                           mation? Is there a difference between this text and some nonsense                   written and the impression of the look. This text should contain
                                                                    at this place. If you read this text, you will get
    Is there a difference between this text and some
                                                                                                                               like »Huardest gefburn«. Kjift – Never mind! A blind text like this                 all letters of the alphabet and it should be written in of the original       Hello, here is some text without a meaning. This text should show,
                                                                    no information. Really? Is there no information?           gives you information about the selected font, how the letters are                  language. There is no need for a special contents, but the length of
    nonsense like »Huardest gefburn«. Kjift – Never                 Is there a difference between this text and some           written and the impression of the look. This text should contain                    words should match to the language.
                                                                                                                                                                                                                                                                                                 how a printed text will look like at this place. If you read this text,
    mind! A blind text like this gives you information              nonsense like »Huardest gefburn«. Kjift – Never            all letters of the alphabet and it should be written in of the original                                                                                           you will get no information. Really? Is there no information? Is there
                                                                                                                               language. There is no need for a special contents, but the length of                                                                                              a difference between this text and some nonsense like »Huardest
    about the selected font, how the letters are written            mind! A blind text like this gives you information         words should match to the language.
                                                                                                                                                                                                                   2. Lists
    and the impression of the look. This text should                about the selected font, how the letters are written                                                                                                                                                                         gefburn«. Kjift – Never mind! A blind text like this gives you infor-
                                                                                                                               1.1 Heading on level 2 (subsection)                                                 2.1 Example for list (itemize)                                                mation about the selected font, how the letters are written and the
    contain all letters of the alphabet and it should be            and the impression of the look. This text should
                                                                                                                                  Hello, here is some text without a meaning. This text should                                                                                                   impression of the look. This text should contain all letters of the al-
    written in of the original language. There is no need           contain all letters of the alphabet and it should be       show, how a printed text will look like at this place. If you read                     • First item in a list
    for a special contents, but the length of words should          written in of the original language. There is no need      this text, you will get no information. Really? Is there no infor-                                                                                                phabet and it should be written in of the original language. There is
                                                                                                                                                                                                                      • Second item in a list
    match to the language.                                          for a special contents, but the length of words should     mation? Is there a difference between this text and some nonsense                                                                                                 no need for a special contents, but the length of words should match
                                                                                                                               like »Huardest gefburn«. Kjift – Never mind! A blind text like this                    • Third item in a list
                                                                    match to the language.                                     gives you information about the selected font, how the letters are
                                                                                                                                                                                                                                                                                                 to the language.
                                                                                                                               written and the impression of the look. This text should contain                       • Fourth item in a list
    A. Heading on level 2 (subsection)                                                                                         all letters of the alphabet and it should be written in of the original
                                                                               II. L ISTS                                      language. There is no need for a special contents, but the length of                   • Fifth item in a list                                                     1.1    Heading on level 2 (subsection)
       Hello, here is some text without a meaning. This                                                                        words should match to the language.
    text should show, how a printed text will look like A. Example for list (itemize)                                                                                                                              2.1.1 Example for list (4*itemize)                                            Hello, here is some text without a meaning. This text should show,
    at this place. If you read this text, you will get                                                                         1.1.1 Heading on level 3 (subsubsection)                                                                                                                          how a printed text will look like at this place. If you read this text,
                                                           • First item in a list
                                                                                                                                  Hello, here is some text without a meaning. This text should                        • First item in a list
    no information. Really? Is there no information?       • Second item in a list                                                                                                                                                                                                               you will get no information. Really? Is there no information? Is there
    Is there a difference between this text and some       • Third item in a list                                                                                                                                           – First item in a list
                                                                                                                                                                                                                                                                                                 a difference between this text and some nonsense like »Huardest
    nonsense like »Huardest gefburn«. Kjift – Never        • Fourth item in a list                                                                                                                                               ∗ First item in a list
                                                                                                                                                                                                                                                                                                 gefburn«. Kjift – Never mind! A blind text like this gives you infor-
                                                                                                                               Permission to make digital or hard copies of all or part of this work for                             · First item in a list
    mind! A blind text like this gives you information     • Fifth item in a list                                              personal or classroom use is granted without fee provided that copies are                                                                                         mation about the selected font, how the letters are written and the
    about the selected font, how the letters are written                                                                       not made or distributed for profit or commercial advantage and that copies                             · Second item in a list
                                                           1) Example for list (4*itemize):                                    bear this notice and the full citation on the first page. To copy otherwise, to                    ∗ Second item in a list
    and the impression of the look. This text should                                                                           republish, to post on servers or to redistribute to lists, requires prior specific
                                                           • First item in a list                                                                                                                                           – Second item in a list
    contain all letters of the alphabet and it should be                                                                       permission and/or a fee.

    written in of the original language. There is no need      – First item in a list                                          MOSC 2011, July 3–5, 2011, Penang, Malaysia.
                                                                                                                                                                                                                      • Second item in a list
                                                                                                                               Copyright 2011 ACM 123-4-56789-012-3/11/0007 ...$10.00.
    for a special contents, but the length of words should        ∗ First item in a list
    match to the language.                                           · First item in a list




L         Lian Tze |                                                                                                                                                                                                                                                                                                                                                                   /
Introduction Document Types Special Material Wrapping Up


Some Goodies

         Quick language-switching with babel
         Automatic generation of cross-referencing labels:
         section{Introduction}label{sec:intro}
         ... We saw in section ref{sec:intro}...
         Automatic generation of lists:
         tableofcontents, listoffigures, listoftables
         Automatic generation of bibliographies and indices:
         cite{Knuth:1976}...bibliography{references.bib}
         ...the Linux kernelindex{Linux!kernel}... printindex
         Fully hyperlinked PDF with bookmarks:                  usepackage{hyperref}
         Inclusion of selected pages from other PDFs
         (while inserting new page headers/footers!)
         usepackage{pdfpages}
         includepdf[pages={1,3-5,8},pagecommand=thispagestyle{plain}]{file.pdf}


L   Lian Tze |                                                                          /
Introduction Document Types Special Material Wrapping Up


University Theses


Universiti Sains Malaysia documentclass{usmthesis}
                                                                                                              TABLE OF CONTENTS
                                                                                                                                                                                                                                                                                                                                                                      REFERENCES
                                                                                                                                                                                                                                                                               CHAPTER 1
                                                             Acknowledgements. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .                      ii

           WRITING YOUR THESIS WITH LATEX                    Table of Contents . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .               iii        INTRODUCTION: SAMPLES OF BASIC LTEX
                                                                                                                                                                                                                                                                                 A

                                                                                                                                                                                                                                                             COMMANDS                                                                  Changsheng, X., Wang, J., Lu, L. and Zhang, Y. (2008). A novel framework for
                                                             List of Tables . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .           v                                                                                                 semantic annotation and personalized retrieval of sports video, Multimedia, IEEE
                                                                                                                                                                                                                                                                                                                                          Transactions on 10(3): 421–436.
                                                             List of Figures . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .           vi
                                                                                                                                                                                                                                                                                                                                       D’Orazio, T., Leo, M., Spagnolo, P., Mazzeo, P. L., Mosca, N., Nitti, M. and Distante,
                                                             List of Plates . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .        vii                                                                                                A. (2009). An investigation into the feasibility of real-time soccer offside detec-
                                                                                                                                                                                                                                             Hello and welcome, fellow Universiti Sains Malaysia (USM) research postgrad! The
                                                                                                                                                                                                                                                                                                                                          tion from a multiple camera system, IEEE TRANSACTIONS ON CIRCUITS AND
                                                             List of Abbreviations . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . viii                                                                                                                 SYSTEMS FOR VIDEO TECHNOLOGY 19(12): 1804–1818.
                                                                                                                                                                                                                                             usmthesis package and template files were written in the hope that they may help
                                by                           List of Symbols . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .             ix                                                                                              D’Orazio, T., Leo, M., Spagnolo, P., Nitti, M., Mosca, N. and Distante, A. (2009).
                                                                                                                                                                                                                                             you prepare your research thesis using L TEX, based on the Institut Pengajian Siswazah
                                                                                                                                                                                                                                                                                    A
                                                                                                                                                                                                                                                                                                                                          A visual system for real time detection of goal events during soccer matches,
                                                             Abstrak . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .    x
                                                                                                                                                                                                                                                                                                                                          Computer Vision and Image Understanding 113(5): 622–632. Computer Vision
                                                                                                                                                                                                                                             (IPS) requirements (IPS, 2007). Please note that this version is based on the new
                                                             Abstract . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .    xi                                                                                                 Based Analysis in Sport Environments.
                                                                                                                                                                                                                                                                                                                                          URL:            http://www.sciencedirect.com/science/article/B6WCX-4S50K9H-
                                                                                                                                                                                                                                             guidelines, in force 17 Dec 2007 onwards. (Song, Cai, Lyu and Cai, 2002)
                                                                                                                                                                                                                                                                                                                                          1/2/fe82b213b3ec28e07aef15882eb37538
                                                             CHAPTER 1 – INTRODUCTION: SAMPLES OF BASIC L TEX
                                                                                                        A
                                                                                                                                                                                                                                                                                                                                       IPS (2007). A Guide to the Preparation, Submission and Examination of Theses, In-
                                                                         COMMANDS
                         LIM LIAN TZE                                                                                                                                                                                                           L TEX is powerful and produces beautiful documents. However, there is definitely
                                                                                                                                                                                                                                                A                                                                                         stitute of Graduate Studies, Universiti Sains Malaysia, Penang, Malaysia.
                                                             1.1          Some Simple Command Usages . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .                                        1
                                                                                                                                                                                                                                             a learning curve to it – one that is worth the effort. If you find any errors in these     Lim, L. T. (2009). L TEX: Beautiful typesetting, [Online]. [Accessed January 22, 2011].
                                                                                                                                                                                                                                                                                                                                                          A

                                                             1.2          Special Characters . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .                  3                                                                                                 Available from World Wide Web: http://liantze.googlepages.com/latextypesetting.
                                                                                                                                                                                                                                             templates or documents, or have any suggestions or feedback, do e-mail me about it
                                                             1.3          Useful Resources . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .                  4                                                                                              Mittelbach, F., Goossens, M., Braams, J., Carlisle, D. and Rowley, C. (2004). The
                                                                                                                                                                                                                                             (liantze@gmail.com). The author cannot always guarantee prompt response, how-                LTEX Companion, Addison-Wesley Series on Tools and Techniques for Computer
                                                                                                                                                                                                                                                                                                                                           A
                                                                                                                                                                                                                                                                                                                                          Typesetting, 2nd edn, Addison-Wesley, Boston, MA, USA.
                                                             CHAPTER 2 – CITATIONS AND BIBLIOGRAPHY                                                                                                                                          ever. ©
                                                                                                                                                                                                                                                                                                                                       Oetiker, T., Partl, H., Hyna, I. and Schlegl, E. (2006). The Not So Short Introduction
         Thesis submitted in fulfilment of the requirements   2.1          The *.bib File . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .                5
                                                                                                                                                                                                                                                                                                                                          to LTEX 2ε , 4.2 edn.
                                                                                                                                                                                                                                                                                                                                             A

                         for the degree of                                                                                                                                                                                                      MiKTEX, my recommended        L TEX
                                                                                                                                                                                                                                                                              A       distribution for Windows, is available on the    Roberts, A. (2005). Getting to grips with L TEX, [Online]. [Accessed January 22,
                                                                                                                                                                                                                                                                                                                                                                                 A
                                                             2.2          Citations using the natbib package . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .                                        6
                        Master of Science                                                                                                                                                                                                    CSPC’07 CD. A step-by-step installation walkthrough is available at (Lim, 2009).
                                                                                                                                                                                                                                                                                                                                          2011]. Available from World Wide Web: http://www.andy-roberts.net/misc/latex/
                                                                          2.2.1          Author-Year System . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .                         6                                                                                                 index.html.

                                                                          2.2.2          Numeric System. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .                    7                                                                                              Song, J. Q., Cai, M., Lyu, M. R. and Cai, S. J. (2002). A new approach for line
                                                                                                                                                                                                                                                                                                                                          recognition in large-size images using hough transform, Proceedings of the 16th
                                                                                                                                                                                                                                             1.1 Some Simple Command Usages                                                               International Conference on Pattern Recognition., Vol. 1, pp. 33–36.
                                                             CHAPTER 3 – FIGURES, TABLES, EQUATIONS, ALGORITHMS, ETC
                                                                                                                                                                                                                                             There are plenty of free L TEX tutorials online, some of which are listed in the bibli-
                                                                                                                                                                                                                                                                      A
                                                             3.1          Inserting Figures . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .               9
                         December 2007                                                                                                                                                                                                       ographies or available at http://e-office.cs.usm.my. This sample thesis includes some
                                                             3.2          Inserting Plates . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .             12

                                                             3.3          Inserting Tables . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .             12    examples to do some common tasks. We start with some examples for lists (both bul-




                                                                                                                                                    iii                                                                                                                                 1                                                                                        24




L   Lian Tze |                                                                                                                                                                                                                                                                                                                                                                                                                   /
Introduction Document Types Special Material Wrapping Up


University Theses (cont’d)


Multimedia University documentclass{mmuthesis}
                                                                                              TABLE OF CONTENTS                                                                                                 CHAPTER 1                                                                                                            REFERENCES



        THE MMUTHESIS LTEX DOCUMENT
                      A                                          COPYRIGHT PAGE                                                                    ii                   INTRODUCTION, BACKGROUND STORY, MOTIVATIONS                                                                              [1]   Audibert, L. (2004). Word sense disambiguation criteria: a systematic study. In 20th in-
                                                                                                                                                                                                                                                                                                       ternational conference on computational linguistics (coling 2004) (pp. 910–916). Geneva,
                  CLASS                                          DECLARATION                                                                      iii                                                                                                                                                  Switzerland: COLING.

                                                                 ACKNOWLEDGEMENTS                                                                 iv                                                                                                                                             [2]   Budanitsky, A., & Hirst, G. (2006). Evaluating WordNet-based measures of lexical semantic
                                                                                                                                                        1.1 First Test and I need a really long title, please do oblige me won’t you? Just                                                             relatedness. Computational Linguistics, 32(1), 13–47.

                                                                 DEDICATION                                                                        v        a few more words and yes we’re there

                                                                                                                                                                Lorem ipsum dolor sit amet, consectetuer adipiscing elit. Ut purus elit, vestibu-
                                                                 ABSTRACT                                                                         vi
                                                                                                                                                        lum ut, placerat ac, adipiscing vitae, felis. Curabitur dictum gravida mauris. Nam arcu
                                   BY                            TABLE OF CONTENTS                                                               vii    libero, nonummy eget, consectetuer id, vulputate a, magna. Donec vehicula augue
                          LIM LIAN TZE                                                                                                                  eu neque. Pellentesque habitant morbi tristique senectus et netus et malesuada fames
                                                                 LIST OF TABLES                                                                  viii   ac turpis egestas. Mauris ut leo. Cras viverra metus rhoncus sem. Nulla et lectus
           B.Sc. (Hons), University of Warwick, United Kingdom
                                                                                                                                                        vestibulum urna fringilla ultrices. Phasellus eu tellus sit amet tortor gravida placerat.
                                                                 LIST OF FIGURES                                                                  ix
                M.Sc., Universiti Sains Malaysia, Malaysia                                                                                              Integer sapien est, iaculis in, pretium quis, viverra ac, nunc. Praesent eget sem vel leo
                                                                 PREFACE                                                                           x    ultrices bibendum. Aenean faucibus. Morbi dolor nulla, malesuada eu, pulvinar at,
                                                                                                                                                        mollis ac, nulla. Curabitur auctor semper nulla. Donec varius orci eget risus. Duis
                                                                 CHAPTER 1: INTRODUCTION, BACKGROUND STORY,
                                                                            MOTIVATIONS                                                            1    nibh mi, congue eu, accumsan eleifend, sagittis quis, diam. Duis eget orci sit amet orci
                                                                 1.1 First Test and I need a really long title, please do oblige me won’t you?          dignissim rutrum.
                                                                     Just a few more words and yes we’re there                                     1            Nam dui ligula, fringilla a, euismod sodales, sollicitudin vel, wisi. Morbi auctor
            THESIS SUBMITTED IN FULFILMENT OF THE                    1.1.1 Second Test                                                             1
                                                                                                                                                        lorem non justo. Nam lacus libero, pretium at, lobortis vitae, ultricies et, tellus. Donec
                                                                 1.2 Yeah                                                                          2
                REQUIREMENT FOR THE DEGREE OF                                                                                                           aliquet, tortor sed accumsan bibendum, erat ligula aliquet magna, vitae ornare odio
                                                                 CHAPTER 2: DUMMY CHAPTER                                                          3    metus a mi. Morbi ac orci et nisl hendrerit mollis. Suspendisse ut massa. Cras nec ante.
                      DOCTOR OF PHILOSOPHY
                                                                 APPENDIX A: MANUALS, TECHNICAL SPECIFICATIONS,                                         Pellentesque a nulla. Cum sociis natoque penatibus et magnis dis parturient montes,
                              (by Research)                                                                                                             nascetur ridiculus mus. Aliquam tincidunt urna. Nulla ullamcorper vestibulum turpis.
                                                                             DOCUMENTATIONS, EXAMPLE SCENARIOS                                     4
                                  in the                                                                                                                Pellentesque cursus luctus mauris.
                                                                 APPENDIX B: TRY                                                                   5
                    Faculty of Information Technology                                                                                                                                                                 Test 1
                                                                 REFERENCES                                                                        6                                                Figure 1.1: First figure. OK?

                                                                 GLOSSARY                                                                          7

                                                                 INDEX                                                                             8    1.1.1 Second Test

                                                                                                                                                                   Their (Audibert, 2004) requirements1 are really amazing2 (Budanitsky & Hirst,
                                                                 PUBLICATION LIST                                                                  9
                 MULTIMEDIA UNIVERSITY                                                                                                                  2006).
                       MALAYSIA                                                                                                                              1 See here, how weird, how to fill out an entire line. See here, how weird, how to fill out an entire line. See here, how weird,

                                                                                                                                                        how to fill out an entire line. See here, how weird, how to fill out an entire line. See here, how weird, how to fill out an entire line.
                               April 2010                                                                                                                    2 don’t   you agree?




                                                                                                          vii                                                                                                            1                                                                                                                    6




L   Lian Tze |                                                                                                                                                                                                                                                                                                                                                                                     /
Introduction Document Types Special Material Wrapping Up


University Theses (cont’d)


Universiti Malaya documentclass{umalayathesis}
                                                                                  TABLE OF CONTENTS                                                                              CHAPTER 1                                                                                         REFERENCES



          THE UMALAYATHESIS LTEX DOCUMENT CLASS
                            A                     ABSTRACT                                                                            ii              INTRODUCTION, BACKGROUND STORY, MOTIVATIONS                                        Audibert, L. (2004). Word sense disambiguation criteria: a systematic study. In 20th International Confer-
                                                                                                                                                                                                                                              ence on Computational Linguistics (COLING 2004) (pp. 910–916). Geneva, Switzerland: COLING.
                                                  DECLARATION                                                                        iii
                                                                                                                                                                                                                                         Budanitsky, A., & Hirst, G. (2006). Evaluating WordNet-based measures of lexical semantic relatedness.
                                                                                                                                                                                                                                             Computational Linguistics, 32(1), 13–47.
                                                  ACKNOWLEDGEMENTS                                                                   iv
                                                                                                                                           1.1   First Test and I need a really long title, please do oblige me won’t you? Just a
                                                                                                                                                 few more words and yes we’re there
                                                  TABLE OF CONTENTS                                                                   v
                                                                                                                                                 Lorem ipsum dolor sit amet, consectetuer adipiscing elit. Ut purus elit, vestibulum
                                                  LIST OF FIGURES                                                                    vi
                                                                                                                                           ut, placerat ac, adipiscing vitae, felis. Curabitur dictum gravida mauris. Nam arcu libero,
                                                  LIST OF TABLES                                                                    vii    nonummy eget, consectetuer id, vulputate a, magna. Donec vehicula augue eu neque. Pel-

                      LIM LIAN TZE                LIST OF SYMBOLS AND ACRONYMS                                                      viii   lentesque habitant morbi tristique senectus et netus et malesuada fames ac turpis egestas.
                                                                                                                                           Mauris ut leo. Cras viverra metus rhoncus sem. Nulla et lectus vestibulum urna fringilla
                                                  LIST OF APPENDICES                                                                 ix
                                                                                                                                           ultrices. Phasellus eu tellus sit amet tortor gravida placerat. Integer sapien est, iaculis
                                                  PREFACE                                                                             x
                                                                                                                                           in, pretium quis, viverra ac, nunc. Praesent eget sem vel leo ultrices bibendum. Aenean
                                                  CHAPTER 1: INTRODUCTION, BACKGROUND STORY, MOTIVATIONS                              1
                                                                                                                                           faucibus. Morbi dolor nulla, malesuada eu, pulvinar at, mollis ac, nulla. Curabitur auctor
                                                  1.1   First Test and I need a really long title, please do oblige me won’t you?
                                                        Just a few more words and yes we’re there                                     1    semper nulla. Donec varius orci eget risus. Duis nibh mi, congue eu, accumsan eleifend,
                                                        1.1.1 Second Test                                                             2
                                                  1.2   Yeah                                                                          2    sagittis quis, diam. Duis eget orci sit amet orci dignissim rutrum.

              THESIS SUBMITTED IN FULFILMENT      CHAPTER 2: DUMMY CHAPTER                                                            5
                                                                                                                                                 Nam dui ligula, fringilla a, euismod sodales, sollicitudin vel, wisi. Morbi auctor
                   OF THE REQUIREMENTS                                                                                                     lorem non justo. Nam lacus libero, pretium at, lobortis vitae, ultricies et, tellus. Donec
         FOR THE DEGREE OF DOCTOR OF PHILOSOPHY   APPENDICES                                                                          6
                                                                                                                                           aliquet, tortor sed accumsan bibendum, erat ligula aliquet magna, vitae ornare odio metus
                                                  REFERENCES                                                                          9
                                                                                                                                           a mi. Morbi ac orci et nisl hendrerit mollis. Suspendisse ut massa. Cras nec ante. Pellen-
                                                                                                                                           tesque a nulla. Cum sociis natoque penatibus et magnis dis parturient montes, nascetur
                                                                                                                                           ridiculus mus. Aliquam tincidunt urna. Nulla ullamcorper vestibulum turpis. Pellen-
                                                                                                                                           tesque cursus luctus mauris.




           INSTITUTE OF POSTGRADUATE STUDIES
                  UNIVERSITY OF MALAYA
                     KUALA LUMPUR

                          2010

                                                                                                                                                                          Figure 1.1: First figure. OK?


                                                                                                                                      v                                                                                             1                                                                                                            9




L   Lian Tze |                                                                                                                                                                                                                                                                                                                                        /
LaTeX: More Than Just Academic Papers and Theses
LaTeX: More Than Just Academic Papers and Theses
LaTeX: More Than Just Academic Papers and Theses
LaTeX: More Than Just Academic Papers and Theses
LaTeX: More Than Just Academic Papers and Theses
LaTeX: More Than Just Academic Papers and Theses
LaTeX: More Than Just Academic Papers and Theses
LaTeX: More Than Just Academic Papers and Theses
LaTeX: More Than Just Academic Papers and Theses
LaTeX: More Than Just Academic Papers and Theses
LaTeX: More Than Just Academic Papers and Theses
LaTeX: More Than Just Academic Papers and Theses
LaTeX: More Than Just Academic Papers and Theses
LaTeX: More Than Just Academic Papers and Theses
LaTeX: More Than Just Academic Papers and Theses
LaTeX: More Than Just Academic Papers and Theses
LaTeX: More Than Just Academic Papers and Theses
LaTeX: More Than Just Academic Papers and Theses
LaTeX: More Than Just Academic Papers and Theses
LaTeX: More Than Just Academic Papers and Theses
LaTeX: More Than Just Academic Papers and Theses
LaTeX: More Than Just Academic Papers and Theses
LaTeX: More Than Just Academic Papers and Theses
LaTeX: More Than Just Academic Papers and Theses
LaTeX: More Than Just Academic Papers and Theses
LaTeX: More Than Just Academic Papers and Theses
LaTeX: More Than Just Academic Papers and Theses
LaTeX: More Than Just Academic Papers and Theses

More Related Content

Recently uploaded

integrity in personal relationship (1).pdf
integrity in personal relationship (1).pdfintegrity in personal relationship (1).pdf
integrity in personal relationship (1).pdfAmitRout25
 
Module-2-Lesson-2-COMMUNICATION-AIDS-AND-STRATEGIES-USING-TOOLS-OF-TECHNOLOGY...
Module-2-Lesson-2-COMMUNICATION-AIDS-AND-STRATEGIES-USING-TOOLS-OF-TECHNOLOGY...Module-2-Lesson-2-COMMUNICATION-AIDS-AND-STRATEGIES-USING-TOOLS-OF-TECHNOLOGY...
Module-2-Lesson-2-COMMUNICATION-AIDS-AND-STRATEGIES-USING-TOOLS-OF-TECHNOLOGY...JeylaisaManabat1
 
Virtue ethics & Effective Altruism: What can EA learn from virtue ethics?
Virtue ethics & Effective Altruism: What can EA learn from virtue ethics?Virtue ethics & Effective Altruism: What can EA learn from virtue ethics?
Virtue ethics & Effective Altruism: What can EA learn from virtue ethics?Mikko Kangassalo
 
Spiritual Life Quote from Shiva Negi
Spiritual Life Quote from Shiva Negi Spiritual Life Quote from Shiva Negi
Spiritual Life Quote from Shiva Negi OneDay18
 
(南达科他州立大学毕业证学位证成绩单-永久存档)
(南达科他州立大学毕业证学位证成绩单-永久存档)(南达科他州立大学毕业证学位证成绩单-永久存档)
(南达科他州立大学毕业证学位证成绩单-永久存档)oannq
 
Inspiring Through Words Power of Inspiration.pptx
Inspiring Through Words Power of Inspiration.pptxInspiring Through Words Power of Inspiration.pptx
Inspiring Through Words Power of Inspiration.pptxShubham Rawat
 
Authentic No 1 Amil Baba In Pakistan Amil Baba In Faisalabad Amil Baba In Kar...
Authentic No 1 Amil Baba In Pakistan Amil Baba In Faisalabad Amil Baba In Kar...Authentic No 1 Amil Baba In Pakistan Amil Baba In Faisalabad Amil Baba In Kar...
Authentic No 1 Amil Baba In Pakistan Amil Baba In Faisalabad Amil Baba In Kar...Authentic No 1 Amil Baba In Pakistan
 
南新罕布什尔大学毕业证学位证成绩单-学历认证
南新罕布什尔大学毕业证学位证成绩单-学历认证南新罕布什尔大学毕业证学位证成绩单-学历认证
南新罕布什尔大学毕业证学位证成绩单-学历认证kbdhl05e
 

Recently uploaded (8)

integrity in personal relationship (1).pdf
integrity in personal relationship (1).pdfintegrity in personal relationship (1).pdf
integrity in personal relationship (1).pdf
 
Module-2-Lesson-2-COMMUNICATION-AIDS-AND-STRATEGIES-USING-TOOLS-OF-TECHNOLOGY...
Module-2-Lesson-2-COMMUNICATION-AIDS-AND-STRATEGIES-USING-TOOLS-OF-TECHNOLOGY...Module-2-Lesson-2-COMMUNICATION-AIDS-AND-STRATEGIES-USING-TOOLS-OF-TECHNOLOGY...
Module-2-Lesson-2-COMMUNICATION-AIDS-AND-STRATEGIES-USING-TOOLS-OF-TECHNOLOGY...
 
Virtue ethics & Effective Altruism: What can EA learn from virtue ethics?
Virtue ethics & Effective Altruism: What can EA learn from virtue ethics?Virtue ethics & Effective Altruism: What can EA learn from virtue ethics?
Virtue ethics & Effective Altruism: What can EA learn from virtue ethics?
 
Spiritual Life Quote from Shiva Negi
Spiritual Life Quote from Shiva Negi Spiritual Life Quote from Shiva Negi
Spiritual Life Quote from Shiva Negi
 
(南达科他州立大学毕业证学位证成绩单-永久存档)
(南达科他州立大学毕业证学位证成绩单-永久存档)(南达科他州立大学毕业证学位证成绩单-永久存档)
(南达科他州立大学毕业证学位证成绩单-永久存档)
 
Inspiring Through Words Power of Inspiration.pptx
Inspiring Through Words Power of Inspiration.pptxInspiring Through Words Power of Inspiration.pptx
Inspiring Through Words Power of Inspiration.pptx
 
Authentic No 1 Amil Baba In Pakistan Amil Baba In Faisalabad Amil Baba In Kar...
Authentic No 1 Amil Baba In Pakistan Amil Baba In Faisalabad Amil Baba In Kar...Authentic No 1 Amil Baba In Pakistan Amil Baba In Faisalabad Amil Baba In Kar...
Authentic No 1 Amil Baba In Pakistan Amil Baba In Faisalabad Amil Baba In Kar...
 
南新罕布什尔大学毕业证学位证成绩单-学历认证
南新罕布什尔大学毕业证学位证成绩单-学历认证南新罕布什尔大学毕业证学位证成绩单-学历认证
南新罕布什尔大学毕业证学位证成绩单-学历认证
 

Featured

How to Prepare For a Successful Job Search for 2024
How to Prepare For a Successful Job Search for 2024How to Prepare For a Successful Job Search for 2024
How to Prepare For a Successful Job Search for 2024Albert Qian
 
Social Media Marketing Trends 2024 // The Global Indie Insights
Social Media Marketing Trends 2024 // The Global Indie InsightsSocial Media Marketing Trends 2024 // The Global Indie Insights
Social Media Marketing Trends 2024 // The Global Indie InsightsKurio // The Social Media Age(ncy)
 
Trends In Paid Search: Navigating The Digital Landscape In 2024
Trends In Paid Search: Navigating The Digital Landscape In 2024Trends In Paid Search: Navigating The Digital Landscape In 2024
Trends In Paid Search: Navigating The Digital Landscape In 2024Search Engine Journal
 
5 Public speaking tips from TED - Visualized summary
5 Public speaking tips from TED - Visualized summary5 Public speaking tips from TED - Visualized summary
5 Public speaking tips from TED - Visualized summarySpeakerHub
 
ChatGPT and the Future of Work - Clark Boyd
ChatGPT and the Future of Work - Clark Boyd ChatGPT and the Future of Work - Clark Boyd
ChatGPT and the Future of Work - Clark Boyd Clark Boyd
 
Getting into the tech field. what next
Getting into the tech field. what next Getting into the tech field. what next
Getting into the tech field. what next Tessa Mero
 
Google's Just Not That Into You: Understanding Core Updates & Search Intent
Google's Just Not That Into You: Understanding Core Updates & Search IntentGoogle's Just Not That Into You: Understanding Core Updates & Search Intent
Google's Just Not That Into You: Understanding Core Updates & Search IntentLily Ray
 
Time Management & Productivity - Best Practices
Time Management & Productivity -  Best PracticesTime Management & Productivity -  Best Practices
Time Management & Productivity - Best PracticesVit Horky
 
The six step guide to practical project management
The six step guide to practical project managementThe six step guide to practical project management
The six step guide to practical project managementMindGenius
 
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...RachelPearson36
 
Unlocking the Power of ChatGPT and AI in Testing - A Real-World Look, present...
Unlocking the Power of ChatGPT and AI in Testing - A Real-World Look, present...Unlocking the Power of ChatGPT and AI in Testing - A Real-World Look, present...
Unlocking the Power of ChatGPT and AI in Testing - A Real-World Look, present...Applitools
 
12 Ways to Increase Your Influence at Work
12 Ways to Increase Your Influence at Work12 Ways to Increase Your Influence at Work
12 Ways to Increase Your Influence at WorkGetSmarter
 
Ride the Storm: Navigating Through Unstable Periods / Katerina Rudko (Belka G...
Ride the Storm: Navigating Through Unstable Periods / Katerina Rudko (Belka G...Ride the Storm: Navigating Through Unstable Periods / Katerina Rudko (Belka G...
Ride the Storm: Navigating Through Unstable Periods / Katerina Rudko (Belka G...DevGAMM Conference
 
Barbie - Brand Strategy Presentation
Barbie - Brand Strategy PresentationBarbie - Brand Strategy Presentation
Barbie - Brand Strategy PresentationErica Santiago
 
Good Stuff Happens in 1:1 Meetings: Why you need them and how to do them well
Good Stuff Happens in 1:1 Meetings: Why you need them and how to do them wellGood Stuff Happens in 1:1 Meetings: Why you need them and how to do them well
Good Stuff Happens in 1:1 Meetings: Why you need them and how to do them wellSaba Software
 
Introduction to C Programming Language
Introduction to C Programming LanguageIntroduction to C Programming Language
Introduction to C Programming LanguageSimplilearn
 

Featured (20)

How to Prepare For a Successful Job Search for 2024
How to Prepare For a Successful Job Search for 2024How to Prepare For a Successful Job Search for 2024
How to Prepare For a Successful Job Search for 2024
 
Social Media Marketing Trends 2024 // The Global Indie Insights
Social Media Marketing Trends 2024 // The Global Indie InsightsSocial Media Marketing Trends 2024 // The Global Indie Insights
Social Media Marketing Trends 2024 // The Global Indie Insights
 
Trends In Paid Search: Navigating The Digital Landscape In 2024
Trends In Paid Search: Navigating The Digital Landscape In 2024Trends In Paid Search: Navigating The Digital Landscape In 2024
Trends In Paid Search: Navigating The Digital Landscape In 2024
 
5 Public speaking tips from TED - Visualized summary
5 Public speaking tips from TED - Visualized summary5 Public speaking tips from TED - Visualized summary
5 Public speaking tips from TED - Visualized summary
 
ChatGPT and the Future of Work - Clark Boyd
ChatGPT and the Future of Work - Clark Boyd ChatGPT and the Future of Work - Clark Boyd
ChatGPT and the Future of Work - Clark Boyd
 
Getting into the tech field. what next
Getting into the tech field. what next Getting into the tech field. what next
Getting into the tech field. what next
 
Google's Just Not That Into You: Understanding Core Updates & Search Intent
Google's Just Not That Into You: Understanding Core Updates & Search IntentGoogle's Just Not That Into You: Understanding Core Updates & Search Intent
Google's Just Not That Into You: Understanding Core Updates & Search Intent
 
How to have difficult conversations
How to have difficult conversations How to have difficult conversations
How to have difficult conversations
 
Introduction to Data Science
Introduction to Data ScienceIntroduction to Data Science
Introduction to Data Science
 
Time Management & Productivity - Best Practices
Time Management & Productivity -  Best PracticesTime Management & Productivity -  Best Practices
Time Management & Productivity - Best Practices
 
The six step guide to practical project management
The six step guide to practical project managementThe six step guide to practical project management
The six step guide to practical project management
 
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
 
Unlocking the Power of ChatGPT and AI in Testing - A Real-World Look, present...
Unlocking the Power of ChatGPT and AI in Testing - A Real-World Look, present...Unlocking the Power of ChatGPT and AI in Testing - A Real-World Look, present...
Unlocking the Power of ChatGPT and AI in Testing - A Real-World Look, present...
 
12 Ways to Increase Your Influence at Work
12 Ways to Increase Your Influence at Work12 Ways to Increase Your Influence at Work
12 Ways to Increase Your Influence at Work
 
ChatGPT webinar slides
ChatGPT webinar slidesChatGPT webinar slides
ChatGPT webinar slides
 
More than Just Lines on a Map: Best Practices for U.S Bike Routes
More than Just Lines on a Map: Best Practices for U.S Bike RoutesMore than Just Lines on a Map: Best Practices for U.S Bike Routes
More than Just Lines on a Map: Best Practices for U.S Bike Routes
 
Ride the Storm: Navigating Through Unstable Periods / Katerina Rudko (Belka G...
Ride the Storm: Navigating Through Unstable Periods / Katerina Rudko (Belka G...Ride the Storm: Navigating Through Unstable Periods / Katerina Rudko (Belka G...
Ride the Storm: Navigating Through Unstable Periods / Katerina Rudko (Belka G...
 
Barbie - Brand Strategy Presentation
Barbie - Brand Strategy PresentationBarbie - Brand Strategy Presentation
Barbie - Brand Strategy Presentation
 
Good Stuff Happens in 1:1 Meetings: Why you need them and how to do them well
Good Stuff Happens in 1:1 Meetings: Why you need them and how to do them wellGood Stuff Happens in 1:1 Meetings: Why you need them and how to do them well
Good Stuff Happens in 1:1 Meetings: Why you need them and how to do them well
 
Introduction to C Programming Language
Introduction to C Programming LanguageIntroduction to C Programming Language
Introduction to C Programming Language
 

LaTeX: More Than Just Academic Papers and Theses

  • 1. Introduction Document Types Special Material Wrapping Up LTEX: More Than Just Academic Papers and Theses A L Lian Tze liantze@gmail.com http://liantze.penguinattack.org/ cbna Malaysian Open Source Conference L Lian Tze | /
  • 2. Introduction Document Types Special Material Wrapping Up Contents What are TEX, LTEX and Friends? A Document Types Special Material Wrapping Up L Lian Tze | /
  • 3. Introduction Document Types Special Material Wrapping Up Contents What are TEX, LTEX and Friends? A Document Types Special Material Wrapping Up L Lian Tze | /
  • 4. Introduction Document Types Special Material Wrapping Up What are TEX and LTEX, and Friends? A TEX ASCII TeX, /tEx/, /tEk/ A computer typesetting system created by Donald Knuth for ‘the creation of beautiful books’ LTEX A ASCII LaTeX, /"leItEx/, /"leItEk/, /"lA:tEx/, /"lA:tEk/ A document preparation system by Leslie Lamport Binaries ������-TEX: additional primitives to TEX pdfTEX: additional PDF-related primitives XETEX: native UTF- input; can access system fonts LuaTEX: includes the Lua scripting engine Friends BIBTEX, MakeIndex, METAFONT, METAPOST, . . . http://www.ctan.org/what_is_tex.html L Lian Tze | /
  • 5. Introduction Document Types Special Material Wrapping Up Why? From http://www.ctan.org/what_is_tex.html Output Quality Freedom It has the best output. It’s free. It knows typesetting. It runs anywhere. Superior Engineering Popularity It’s fast. It’s the standard (in It’s stable. academia and science). It’s not rigid (extensible). Plain text input. Many output types. L Lian Tze | /
  • 6. Introduction Document Types Special Material Wrapping Up Where Would I Want to Use LTEX? A Documents with complex structures Lots of mathematics (or other speci c needs) When publishers require them Batch processing Back-end of other applications L Lian Tze | /
  • 7. Introduction Document Types Special Material Wrapping Up How Do I Use It? Write a plain text LTEX le (.tex) A Run it through pdflatex or xelatex → PDF output (or latex + dvips + ps2pdf for DVI + PS + PDF) Run bibtex and/or makeindex to process bibliographies, indices Re-run pdflatex to resolve references and pointers L Lian Tze | /
  • 8. Introduction Document Types Special Material Wrapping Up Example .tex File documentclass[a4paper,11pt]{article} An Introductory Paper author{Lim Lian Tze} Lim Lian Tze title{An Introductory Paper} June 7, 2011 date{today} usepackage[english]{babel} Contents 1 Introduction 1 begin{document} 2 State of the Art 1 maketitle 2.1 Document Formats . . . . . . . . . . . . . . . . . . . . . . . . 1 tableofcontents Abstract pdflatex This paper introduces. . . begin{abstract} This paper introducesldots 1 Introduction end{abstract} We consider. . . section{Introduction} 2 State of the Art We considerldots We look at. . . 2.1 Document Formats section{State of the Art} There are many. . . We look atldots subsection{Document Formats} There are manyldots 1 end{document} L Lian Tze | /
  • 9. Introduction Document Types Special Material Wrapping Up Where Do I Get It? Windows MiKTEX, TEXLive Un*x, GNU/Linux TEXLive Mac OS X MacTEX (based on TEXLive) Installation Use your OS’ package manager (or download manually) Editors vi, emacs, Texmaker, TeXworks, . . . LTEX Packages Use MiKTEX or TEXLive’s package manager A Documentation (TEXLive) $ texdoc <package name> (MiKTEX) $ mthelp <package name> L Lian Tze | /
  • 10. Introduction Document Types Special Material Wrapping Up Easy to Learn, Hard to Master Customising may not be straightforward (vs word processors) Intentionally so: Style guidelines should be followed strictly Publisher/organisation provides document class or style les Use these to take care of formatting and styling, focus on the content Fair enough. But where do I learn all the stu the TEXnicians and TEXperts do? (There is a learning curve) L Lian Tze | /
  • 11. Introduction Document Types Special Material Wrapping Up Getting Help Many free tutorials and e-books on the Web (beware of obsolete ones!) Getting to Grips with LTEX. Andy Roberts. A http://www.andy-roberts.net/misc/latex/ LTEX: Beautiful Typesetting. Lim Lian Tze. A http://liantze.penguinattack.org/latextypesetting.html LTEX and Friends. M.R.C. van Dongen. A http://csweb.ucc.ie/~dongen/LaTeX-and-Friends.pdf The LTEX WikiBook. A http://en.wikibooks.org/wiki/LaTeX Questions? TEX FAQ. http://www.tex.ac.uk/cgi-bin/texfaq2html TEX.SX. http://tex.stackexchange.com/ comp.text.tex usenet group Malaysian LTEX User Group. http://latex-my.blogspot.com/ A Arrange for training L Lian Tze | /
  • 12. Introduction Document Types Special Material Wrapping Up So, What Can LTEX Do? A L Lian Tze | /
  • 13. Introduction Document Types Special Material Wrapping Up Contents What are TEX, LTEX and Friends? A Document Types Special Material Wrapping Up L Lian Tze | /
  • 14. Introduction Document Types Special Material Wrapping Up Basic Types Books Chapter 1 Heading on level 0 (chapter) Hello, here is some text without a meaning. This text should show, how a printed text will look like at this place. If you read this text, you will get no A Wonderful Read information. Really? Is there no information? Is there a difference between documentclass{book} A. Dummy this text and some nonsense like »Huardest gefburn«. Kjift – Never mind! A blind text like this gives you information about the selected font, how the letters are written and the impression of the look. This text should contain all letters of the alphabet and it should be written in of the original language. There is no need for a special contents, but the length of words should match 3rd June 2011 to the language. author{...} 1.1 Heading on level 1 (section) Hello, here is some text without a meaning. This text should show, how a printed text will look like at this place. If you read this text, you will get no information. Really? Is there no information? Is there a difference between this text and some nonsense like »Huardest gefburn«. Kjift – Never mind! title{...} A blind text like this gives you information about the selected font, how the letters are written and the impression of the look. This text should contain all letters of the alphabet and it should be written in of the original language. There is no need for a special contents, but the length of words should match to the language. 1.1.1 Heading on level 2 (subsection) Hello, here is some text without a meaning. This text should show, how a printed text will look like at this place. If you read this text, you will get no information. Really? Is there no information? Is there a difference between 3 begin{document} maketitle 4 CHAPTER 1. HEADING ON LEVEL 0 (CHAPTER) 1.2. LISTS 5 chapter{...} this text and some nonsense like »Huardest gefburn«. Kjift – Never mind! A blind text like this gives you information about the selected font, how the letters are written and the impression of the look. This text should contain Example for list (4*itemize) • First item in a list all letters of the alphabet and it should be written in of the original language. There is no need for a special contents, but the length of words should match – First item in a list to the language. ∗ First item in a list section{...} Heading on level 3 (subsubsection) Hello, here is some text without a meaning. This text should show, how a printed text will look like at this place. If you read this text, you will get no · First item in a list · Second item in a list ∗ Second item in a list information. Really? Is there no information? Is there a difference between – Second item in a list this text and some nonsense like »Huardest gefburn«. Kjift – Never mind! ... A blind text like this gives you information about the selected font, how the • Second item in a list letters are written and the impression of the look. This text should contain all letters of the alphabet and it should be written in of the original language. There is no need for a special contents, but the length of words should match 1.2.2 Example for list (enumerate) to the language. 1. First item in a list Heading on level 4 (paragraph) Hello, here is some text without a 2. Second item in a list subsection{...} meaning. This text should show, how a printed text will look like at this place. If you read this text, you will get no information. Really? Is there no information? Is there a difference between this text and some nonsense like »Huardest gefburn«. Kjift – Never mind! A blind text like this gives you information about the selected font, how the letters are written and the 3. Third item in a list 4. Fourth item in a list impression of the look. This text should contain all letters of the alphabet 5. Fifth item in a list and it should be written in of the original language. There is no need for a end{document} special contents, but the length of words should match to the language. 1.2 Lists Example for list (4*enumerate) 1. First item in a list 1.2.1 Example for list (itemize) (a) First item in a list i. First item in a list • First item in a list A. First item in a list • Second item in a list B. Second item in a list • Third item in a list ii. Second item in a list • Fourth item in a list (b) Second item in a list • Fifth item in a list 2. Second item in a list L Lian Tze | /
  • 15. Introduction Document Types Special Material Wrapping Up Basic Types (cont’d) A blind text like this gives you information about the selected font, how the letters are written and the impression of the look. This text should contain all letters of the alphabet and it should be written in of the original language. A Wonderful Read There is no need for a special contents, but the length of words should match to the language. Articles A. Dummy 3rd June 2011 Heading on level 4 (paragraph) Hello, here is some text without a meaning. This text should show, how a printed text will look like at this place. If you read this text, you will get no information. Really? Is there no information? Is there a difference between this text and some nonsense like »Huardest gefburn«. Kjift – Never mind! A blind text like this gives 1 Heading on level 1 (section) you information about the selected font, how the letters are written and the impression of the look. This text should contain all letters of the alphabet Hello, here is some text without a meaning. This text should show, how a and it should be written in of the original language. There is no need for a printed text will look like at this place. If you read this text, you will get no special contents, but the length of words should match to the language. information. Really? Is there no information? Is there a difference between this text and some nonsense like »Huardest gefburn«. Kjift – Never mind! A blind text like this gives you information about the selected font, how the 2 Lists letters are written and the impression of the look. This text should contain documentclass{article} all letters of the alphabet and it should be written in of the original language. There is no need for a special contents, but the length of words should match to the language. 2.1 Example for list (itemize) • First item in a list • Second item in a list 1.1 Heading on level 2 (subsection) • Third item in a list Hello, here is some text without a meaning. This text should show, how a • Fourth item in a list author{...} printed text will look like at this place. If you read this text, you will get no information. Really? Is there no information? Is there a difference between this text and some nonsense like »Huardest gefburn«. Kjift – Never mind! A blind text like this gives you information about the selected font, how the letters are written and the impression of the look. This text should contain • Fifth item in a list 2.1.1 Example for list (4*itemize) • First item in a list all letters of the alphabet and it should be written in of the original language. There is no need for a special contents, but the length of words should match – First item in a list title{...} to the language. 1.1.1 Heading on level 3 (subsubsection) Hello, here is some text without a meaning. This text should show, how a ∗ First item in a list · First item in a list · Second item in a list ∗ Second item in a list printed text will look like at this place. If you read this text, you will get no – Second item in a list information. Really? Is there no information? Is there a difference between this text and some nonsense like »Huardest gefburn«. Kjift – Never mind! • Second item in a list 1 2 begin{document} maketitle 2.2 Example for list (enumerate) Second item in a list 1. First item in a list Second item in a list section{...} 2. Second item in a list 3. Third item in a list Second item in a list Second item in a list 4. Fourth item in a list 5. Fifth item in a list ... 2.2.1 Example for list (4*enumerate) 1. First item in a list (a) First item in a list i. First item in a list subsection{...} A. First item in a list B. Second item in a list ii. Second item in a list (b) Second item in a list 2. Second item in a list end{document} 2.3 Example for list (description) First item in a list Second item in a list Third item in a list Fourth item in a list Fifth item in a list 2.3.1 Example for list (4*description) First item in a list First item in a list First item in a list First item in a list 3 4 L Lian Tze | /
  • 16. Introduction Document Types Special Material Wrapping Up Journal and Conference Proceedings Articles IEEE ACM LLNCS documentclass{IEEEtran} documentclass{sig-alternate} documentclass{llncs} 1 A Wonderful Read A Wonderful Read A. Dummy A. Dummy A Wonderful Read Abstract—Hello, here is some text without a meaning. 1) Heading on level 3 (subsubsection): Hello, A. Dummy This text should show, how a printed text will look like here is some text without a meaning. This text at this place. If you read this text, you will get no should show, how a printed text will look like No Institute Given information. Really? Is there no information? Is there at this place. If you read this text, you will get a difference between this text and some nonsense like no information. Really? Is there no information? ABSTRACT show, how a printed text will look like at this place. If you read »Huardest gefburn«. Kjift – Never mind! A blind text like this text, you will get no information. Really? Is there no infor- this gives you information about the selected font, how the Is there a difference between this text and some Hello, here is some text without a meaning. This text should show, mation? Is there a difference between this text and some nonsense Abstract Hello, here is some text without a meaning. This text should how a printed text will look like at this place. If you read this letters are written and the impression of the look. This text nonsense like »Huardest gefburn«. Kjift – Never text, you will get no information. Really? Is there no informa- like »Huardest gefburn«. Kjift – Never mind! A blind text like this show, how a printed text will look like at this place. If you read this text, should contain all letters of the alphabet and it should be you will get no information. Really? Is there no information? Is there a mind! A blind text like this gives you information tion? Is there a difference between this text and some nonsense gives you information about the selected font, how the letters are written in of the original language. There is no need for written and the impression of the look. This text should contain difference between this text and some nonsense like »Huardest gefburn«. about the selected font, how the letters are written like »Huardest gefburn«. Kjift – Never mind! A blind text like this all letters of the alphabet and it should be written in of the original Kjift – Never mind! A blind text like this gives you information about a special contents, but the length of words should match gives you information about the selected font, how the letters are and the impression of the look. This text should language. There is no need for a special contents, but the length of the selected font, how the letters are written and the impression of the to the language. written and the impression of the look. This text should contain contain all letters of the alphabet and it should be all letters of the alphabet and it should be written in of the original words should match to the language. look. This text should contain all letters of the alphabet and it should be written in of the original language. There is no need for a special written in of the original language. There is no need language. There is no need for a special contents, but the length of words should match to the language. Heading on level 4 (paragraph). contents, but the length of words should match to the language. I. H EADING ON LEVEL 1 ( SECTION ) for a special contents, but the length of words should Hello, here is some text without a meaning. This text should match to the language. show, how a printed text will look like at this place. If you read Hello, here is some text without a meaning. This 1. Heading on level 1 (SECTION) this text, you will get no information. Really? Is there no infor- a) Heading on level 4 (paragraph): Hello, Hello, here is some text without a meaning. This text should mation? Is there a difference between this text and some nonsense text should show, how a printed text will look like here is some text without a meaning. This text show, how a printed text will look like at this place. If you read like »Huardest gefburn«. Kjift – Never mind! A blind text like this at this place. If you read this text, you will get should show, how a printed text will look like this text, you will get no information. Really? Is there no infor- gives you information about the selected font, how the letters are 1 Heading on level 1 (section) no information. Really? Is there no information? mation? Is there a difference between this text and some nonsense written and the impression of the look. This text should contain at this place. If you read this text, you will get Is there a difference between this text and some like »Huardest gefburn«. Kjift – Never mind! A blind text like this all letters of the alphabet and it should be written in of the original Hello, here is some text without a meaning. This text should show, no information. Really? Is there no information? gives you information about the selected font, how the letters are language. There is no need for a special contents, but the length of nonsense like »Huardest gefburn«. Kjift – Never Is there a difference between this text and some written and the impression of the look. This text should contain words should match to the language. how a printed text will look like at this place. If you read this text, mind! A blind text like this gives you information nonsense like »Huardest gefburn«. Kjift – Never all letters of the alphabet and it should be written in of the original you will get no information. Really? Is there no information? Is there language. There is no need for a special contents, but the length of a difference between this text and some nonsense like »Huardest about the selected font, how the letters are written mind! A blind text like this gives you information words should match to the language. 2. Lists and the impression of the look. This text should about the selected font, how the letters are written gefburn«. Kjift – Never mind! A blind text like this gives you infor- 1.1 Heading on level 2 (subsection) 2.1 Example for list (itemize) mation about the selected font, how the letters are written and the contain all letters of the alphabet and it should be and the impression of the look. This text should Hello, here is some text without a meaning. This text should impression of the look. This text should contain all letters of the al- written in of the original language. There is no need contain all letters of the alphabet and it should be show, how a printed text will look like at this place. If you read • First item in a list for a special contents, but the length of words should written in of the original language. There is no need this text, you will get no information. Really? Is there no infor- phabet and it should be written in of the original language. There is • Second item in a list match to the language. for a special contents, but the length of words should mation? Is there a difference between this text and some nonsense no need for a special contents, but the length of words should match like »Huardest gefburn«. Kjift – Never mind! A blind text like this • Third item in a list match to the language. gives you information about the selected font, how the letters are to the language. written and the impression of the look. This text should contain • Fourth item in a list A. Heading on level 2 (subsection) all letters of the alphabet and it should be written in of the original II. L ISTS language. There is no need for a special contents, but the length of • Fifth item in a list 1.1 Heading on level 2 (subsection) Hello, here is some text without a meaning. This words should match to the language. text should show, how a printed text will look like A. Example for list (itemize) 2.1.1 Example for list (4*itemize) Hello, here is some text without a meaning. This text should show, at this place. If you read this text, you will get 1.1.1 Heading on level 3 (subsubsection) how a printed text will look like at this place. If you read this text, • First item in a list Hello, here is some text without a meaning. This text should • First item in a list no information. Really? Is there no information? • Second item in a list you will get no information. Really? Is there no information? Is there Is there a difference between this text and some • Third item in a list – First item in a list a difference between this text and some nonsense like »Huardest nonsense like »Huardest gefburn«. Kjift – Never • Fourth item in a list ∗ First item in a list gefburn«. Kjift – Never mind! A blind text like this gives you infor- Permission to make digital or hard copies of all or part of this work for · First item in a list mind! A blind text like this gives you information • Fifth item in a list personal or classroom use is granted without fee provided that copies are mation about the selected font, how the letters are written and the about the selected font, how the letters are written not made or distributed for profit or commercial advantage and that copies · Second item in a list 1) Example for list (4*itemize): bear this notice and the full citation on the first page. To copy otherwise, to ∗ Second item in a list and the impression of the look. This text should republish, to post on servers or to redistribute to lists, requires prior specific • First item in a list – Second item in a list contain all letters of the alphabet and it should be permission and/or a fee. written in of the original language. There is no need – First item in a list MOSC 2011, July 3–5, 2011, Penang, Malaysia. • Second item in a list Copyright 2011 ACM 123-4-56789-012-3/11/0007 ...$10.00. for a special contents, but the length of words should ∗ First item in a list match to the language. · First item in a list L Lian Tze | /
  • 17. Introduction Document Types Special Material Wrapping Up Some Goodies Quick language-switching with babel Automatic generation of cross-referencing labels: section{Introduction}label{sec:intro} ... We saw in section ref{sec:intro}... Automatic generation of lists: tableofcontents, listoffigures, listoftables Automatic generation of bibliographies and indices: cite{Knuth:1976}...bibliography{references.bib} ...the Linux kernelindex{Linux!kernel}... printindex Fully hyperlinked PDF with bookmarks: usepackage{hyperref} Inclusion of selected pages from other PDFs (while inserting new page headers/footers!) usepackage{pdfpages} includepdf[pages={1,3-5,8},pagecommand=thispagestyle{plain}]{file.pdf} L Lian Tze | /
  • 18. Introduction Document Types Special Material Wrapping Up University Theses Universiti Sains Malaysia documentclass{usmthesis} TABLE OF CONTENTS REFERENCES CHAPTER 1 Acknowledgements. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . ii WRITING YOUR THESIS WITH LATEX Table of Contents . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . iii INTRODUCTION: SAMPLES OF BASIC LTEX A COMMANDS Changsheng, X., Wang, J., Lu, L. and Zhang, Y. (2008). A novel framework for List of Tables . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . v semantic annotation and personalized retrieval of sports video, Multimedia, IEEE Transactions on 10(3): 421–436. List of Figures . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . vi D’Orazio, T., Leo, M., Spagnolo, P., Mazzeo, P. L., Mosca, N., Nitti, M. and Distante, List of Plates . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . vii A. (2009). An investigation into the feasibility of real-time soccer offside detec- Hello and welcome, fellow Universiti Sains Malaysia (USM) research postgrad! The tion from a multiple camera system, IEEE TRANSACTIONS ON CIRCUITS AND List of Abbreviations . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . viii SYSTEMS FOR VIDEO TECHNOLOGY 19(12): 1804–1818. usmthesis package and template files were written in the hope that they may help by List of Symbols . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . ix D’Orazio, T., Leo, M., Spagnolo, P., Nitti, M., Mosca, N. and Distante, A. (2009). you prepare your research thesis using L TEX, based on the Institut Pengajian Siswazah A A visual system for real time detection of goal events during soccer matches, Abstrak . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . x Computer Vision and Image Understanding 113(5): 622–632. Computer Vision (IPS) requirements (IPS, 2007). Please note that this version is based on the new Abstract . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . xi Based Analysis in Sport Environments. URL: http://www.sciencedirect.com/science/article/B6WCX-4S50K9H- guidelines, in force 17 Dec 2007 onwards. (Song, Cai, Lyu and Cai, 2002) 1/2/fe82b213b3ec28e07aef15882eb37538 CHAPTER 1 – INTRODUCTION: SAMPLES OF BASIC L TEX A IPS (2007). A Guide to the Preparation, Submission and Examination of Theses, In- COMMANDS LIM LIAN TZE L TEX is powerful and produces beautiful documents. However, there is definitely A stitute of Graduate Studies, Universiti Sains Malaysia, Penang, Malaysia. 1.1 Some Simple Command Usages . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1 a learning curve to it – one that is worth the effort. If you find any errors in these Lim, L. T. (2009). L TEX: Beautiful typesetting, [Online]. [Accessed January 22, 2011]. A 1.2 Special Characters . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3 Available from World Wide Web: http://liantze.googlepages.com/latextypesetting. templates or documents, or have any suggestions or feedback, do e-mail me about it 1.3 Useful Resources . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4 Mittelbach, F., Goossens, M., Braams, J., Carlisle, D. and Rowley, C. (2004). The (liantze@gmail.com). The author cannot always guarantee prompt response, how- LTEX Companion, Addison-Wesley Series on Tools and Techniques for Computer A Typesetting, 2nd edn, Addison-Wesley, Boston, MA, USA. CHAPTER 2 – CITATIONS AND BIBLIOGRAPHY ever. © Oetiker, T., Partl, H., Hyna, I. and Schlegl, E. (2006). The Not So Short Introduction Thesis submitted in fulfilment of the requirements 2.1 The *.bib File . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5 to LTEX 2ε , 4.2 edn. A for the degree of MiKTEX, my recommended L TEX A distribution for Windows, is available on the Roberts, A. (2005). Getting to grips with L TEX, [Online]. [Accessed January 22, A 2.2 Citations using the natbib package . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6 Master of Science CSPC’07 CD. A step-by-step installation walkthrough is available at (Lim, 2009). 2011]. Available from World Wide Web: http://www.andy-roberts.net/misc/latex/ 2.2.1 Author-Year System . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6 index.html. 2.2.2 Numeric System. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7 Song, J. Q., Cai, M., Lyu, M. R. and Cai, S. J. (2002). A new approach for line recognition in large-size images using hough transform, Proceedings of the 16th 1.1 Some Simple Command Usages International Conference on Pattern Recognition., Vol. 1, pp. 33–36. CHAPTER 3 – FIGURES, TABLES, EQUATIONS, ALGORITHMS, ETC There are plenty of free L TEX tutorials online, some of which are listed in the bibli- A 3.1 Inserting Figures . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9 December 2007 ographies or available at http://e-office.cs.usm.my. This sample thesis includes some 3.2 Inserting Plates . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 12 3.3 Inserting Tables . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 12 examples to do some common tasks. We start with some examples for lists (both bul- iii 1 24 L Lian Tze | /
  • 19. Introduction Document Types Special Material Wrapping Up University Theses (cont’d) Multimedia University documentclass{mmuthesis} TABLE OF CONTENTS CHAPTER 1 REFERENCES THE MMUTHESIS LTEX DOCUMENT A COPYRIGHT PAGE ii INTRODUCTION, BACKGROUND STORY, MOTIVATIONS [1] Audibert, L. (2004). Word sense disambiguation criteria: a systematic study. In 20th in- ternational conference on computational linguistics (coling 2004) (pp. 910–916). Geneva, CLASS DECLARATION iii Switzerland: COLING. ACKNOWLEDGEMENTS iv [2] Budanitsky, A., & Hirst, G. (2006). Evaluating WordNet-based measures of lexical semantic 1.1 First Test and I need a really long title, please do oblige me won’t you? Just relatedness. Computational Linguistics, 32(1), 13–47. DEDICATION v a few more words and yes we’re there Lorem ipsum dolor sit amet, consectetuer adipiscing elit. Ut purus elit, vestibu- ABSTRACT vi lum ut, placerat ac, adipiscing vitae, felis. Curabitur dictum gravida mauris. Nam arcu BY TABLE OF CONTENTS vii libero, nonummy eget, consectetuer id, vulputate a, magna. Donec vehicula augue LIM LIAN TZE eu neque. Pellentesque habitant morbi tristique senectus et netus et malesuada fames LIST OF TABLES viii ac turpis egestas. Mauris ut leo. Cras viverra metus rhoncus sem. Nulla et lectus B.Sc. (Hons), University of Warwick, United Kingdom vestibulum urna fringilla ultrices. Phasellus eu tellus sit amet tortor gravida placerat. LIST OF FIGURES ix M.Sc., Universiti Sains Malaysia, Malaysia Integer sapien est, iaculis in, pretium quis, viverra ac, nunc. Praesent eget sem vel leo PREFACE x ultrices bibendum. Aenean faucibus. Morbi dolor nulla, malesuada eu, pulvinar at, mollis ac, nulla. Curabitur auctor semper nulla. Donec varius orci eget risus. Duis CHAPTER 1: INTRODUCTION, BACKGROUND STORY, MOTIVATIONS 1 nibh mi, congue eu, accumsan eleifend, sagittis quis, diam. Duis eget orci sit amet orci 1.1 First Test and I need a really long title, please do oblige me won’t you? dignissim rutrum. Just a few more words and yes we’re there 1 Nam dui ligula, fringilla a, euismod sodales, sollicitudin vel, wisi. Morbi auctor THESIS SUBMITTED IN FULFILMENT OF THE 1.1.1 Second Test 1 lorem non justo. Nam lacus libero, pretium at, lobortis vitae, ultricies et, tellus. Donec 1.2 Yeah 2 REQUIREMENT FOR THE DEGREE OF aliquet, tortor sed accumsan bibendum, erat ligula aliquet magna, vitae ornare odio CHAPTER 2: DUMMY CHAPTER 3 metus a mi. Morbi ac orci et nisl hendrerit mollis. Suspendisse ut massa. Cras nec ante. DOCTOR OF PHILOSOPHY APPENDIX A: MANUALS, TECHNICAL SPECIFICATIONS, Pellentesque a nulla. Cum sociis natoque penatibus et magnis dis parturient montes, (by Research) nascetur ridiculus mus. Aliquam tincidunt urna. Nulla ullamcorper vestibulum turpis. DOCUMENTATIONS, EXAMPLE SCENARIOS 4 in the Pellentesque cursus luctus mauris. APPENDIX B: TRY 5 Faculty of Information Technology Test 1 REFERENCES 6 Figure 1.1: First figure. OK? GLOSSARY 7 INDEX 8 1.1.1 Second Test Their (Audibert, 2004) requirements1 are really amazing2 (Budanitsky & Hirst, PUBLICATION LIST 9 MULTIMEDIA UNIVERSITY 2006). MALAYSIA 1 See here, how weird, how to fill out an entire line. See here, how weird, how to fill out an entire line. See here, how weird, how to fill out an entire line. See here, how weird, how to fill out an entire line. See here, how weird, how to fill out an entire line. April 2010 2 don’t you agree? vii 1 6 L Lian Tze | /
  • 20. Introduction Document Types Special Material Wrapping Up University Theses (cont’d) Universiti Malaya documentclass{umalayathesis} TABLE OF CONTENTS CHAPTER 1 REFERENCES THE UMALAYATHESIS LTEX DOCUMENT CLASS A ABSTRACT ii INTRODUCTION, BACKGROUND STORY, MOTIVATIONS Audibert, L. (2004). Word sense disambiguation criteria: a systematic study. In 20th International Confer- ence on Computational Linguistics (COLING 2004) (pp. 910–916). Geneva, Switzerland: COLING. DECLARATION iii Budanitsky, A., & Hirst, G. (2006). Evaluating WordNet-based measures of lexical semantic relatedness. Computational Linguistics, 32(1), 13–47. ACKNOWLEDGEMENTS iv 1.1 First Test and I need a really long title, please do oblige me won’t you? Just a few more words and yes we’re there TABLE OF CONTENTS v Lorem ipsum dolor sit amet, consectetuer adipiscing elit. Ut purus elit, vestibulum LIST OF FIGURES vi ut, placerat ac, adipiscing vitae, felis. Curabitur dictum gravida mauris. Nam arcu libero, LIST OF TABLES vii nonummy eget, consectetuer id, vulputate a, magna. Donec vehicula augue eu neque. Pel- LIM LIAN TZE LIST OF SYMBOLS AND ACRONYMS viii lentesque habitant morbi tristique senectus et netus et malesuada fames ac turpis egestas. Mauris ut leo. Cras viverra metus rhoncus sem. Nulla et lectus vestibulum urna fringilla LIST OF APPENDICES ix ultrices. Phasellus eu tellus sit amet tortor gravida placerat. Integer sapien est, iaculis PREFACE x in, pretium quis, viverra ac, nunc. Praesent eget sem vel leo ultrices bibendum. Aenean CHAPTER 1: INTRODUCTION, BACKGROUND STORY, MOTIVATIONS 1 faucibus. Morbi dolor nulla, malesuada eu, pulvinar at, mollis ac, nulla. Curabitur auctor 1.1 First Test and I need a really long title, please do oblige me won’t you? Just a few more words and yes we’re there 1 semper nulla. Donec varius orci eget risus. Duis nibh mi, congue eu, accumsan eleifend, 1.1.1 Second Test 2 1.2 Yeah 2 sagittis quis, diam. Duis eget orci sit amet orci dignissim rutrum. THESIS SUBMITTED IN FULFILMENT CHAPTER 2: DUMMY CHAPTER 5 Nam dui ligula, fringilla a, euismod sodales, sollicitudin vel, wisi. Morbi auctor OF THE REQUIREMENTS lorem non justo. Nam lacus libero, pretium at, lobortis vitae, ultricies et, tellus. Donec FOR THE DEGREE OF DOCTOR OF PHILOSOPHY APPENDICES 6 aliquet, tortor sed accumsan bibendum, erat ligula aliquet magna, vitae ornare odio metus REFERENCES 9 a mi. Morbi ac orci et nisl hendrerit mollis. Suspendisse ut massa. Cras nec ante. Pellen- tesque a nulla. Cum sociis natoque penatibus et magnis dis parturient montes, nascetur ridiculus mus. Aliquam tincidunt urna. Nulla ullamcorper vestibulum turpis. Pellen- tesque cursus luctus mauris. INSTITUTE OF POSTGRADUATE STUDIES UNIVERSITY OF MALAYA KUALA LUMPUR 2010 Figure 1.1: First figure. OK? v 1 9 L Lian Tze | /