SlideShare une entreprise Scribd logo
1  sur  29
An Introduction to



Soumyo Dutta
soumyo.dutta@live.com
GT Library & Information Center
Graduate Library User Education Workshop
Series
Outline
     LaTeX advantages
     LaTeX IDE
     Parts of LaTeX document
     Examples
     Georgia Tech Thesis
     Resources




2
Why
       LaTeX is not WYSIWYG*
        ◦ Manuscript/Typesetting program
       Easy to handle large documents
        ◦ Break-up chapters/sections into separate documents
        ◦ Easily handle cross-references/citations across parts
          (almost impossible with Word)
       References
        ◦ Cite as you go
        ◦ Reference generated/sorted automatically
       Equations
        ◦ Professional look
        ◦ Easy to cite
        ◦ Easy subequations/Math type in text
       Formatting
        ◦ Formatting of group of text very easy to change
        ◦ Change paper from Style A (for a conference) to Style B
          (for GT Thesis) using the same LaTeX code

          *   What You See Is What You Get
    3
Why
       LaTeX is not WYSIWYG*
        ◦ Manuscript/Typesetting program
       Easy to handle large documents
        ◦ Break-up chapters/sections into separate documents
        ◦ Easily handle cross-references/citations across parts
          (almost impossible with Word)
       References
        ◦ Cite as you go
        ◦ Reference generated/sorted automatically
                             Word example of in text equations
       Equations
        ◦ Professional look
        ◦ Easy to cite
        ◦ Easy subequations/Math type in text
       Formatting
        ◦ Formatting of group of text very easy to change
        ◦ Change paper from Style A (for a conference) to Style B
          (for GT Thesis) using the same LaTeX code

          *   What You See Is What You Get
    4
LaTeX IDE*– TeXnicCenter
                                               Build (Ctrl + F7)
                                                                   Error       Bad Box
                                                                     s

                                         Output format                     Warning
                                                                             s
                                                   View Output (F5)




    *   Integrated Development Environment
5
LaTeX IDE – Installing
    Packages




6
Parts of LaTeX document
 File saved as
  .tex
 Document parts:
    ◦   Document class
    ◦   Packages
    ◦   Title block
    ◦   Start/end code
    ◦   Specialized section
    ◦   Bibliography




7
Parts of LaTeX document
 File saved as
  .tex
 Document parts:
    ◦ Document class

                         [option]      {type}
                       option:       type:
                       • Font size   • Article
                       • Papersize   • Book
                                     • Letter
                                     • Report
                                     • {.cls}

         • Mandatory for all documents
8
Parts of LaTeX document
 File saved as
  .tex
 Document parts:
    ◦ Packages


            [option] {type}


        • After document class
        • Not mandatory for all documents
        • Allows you to use commands not
          included with LaTeX distribution (e.g.
          subfigures)
9
Parts of LaTeX document
 File saved as                      style:
                                     • .bst
  .tex                               • Style downloaded
 Document parts:                      from Internet
                           {style}   • Various citation
     ◦ Bibliography                    styles (e.g. Chicago,
                                       IEEE, etc.)
                                     reference file:
                 {reference file}    • .bib
                                     • Your citation info
                                     • Use Jabref or by-hand
 • Usually before end{document}
 • Creates bibliography at that point in the document
 • Not mandatory for all documents

10
Parts of LaTeX document
        Important code characters
         ◦ Start/end characters
            begin{} … end{}
            {[( )]}
         ◦ Math text: damping sum $(C_{mq}+C_{malpha})$
         ◦ Commands start with 
         ◦ Comments%
        Dividing commands (no need for start/end)
         ◦ chapter{}
         ◦ section{} subsection{} subsubsection{}
              {Name of Section}
11
Example # 1: Lists
     • itemizeor enumerate




                             Blank line in LaTeX is not
                             equal to blank line in text




12
Example # 1: Lists (Practice)




13
Example # 2: Figures
                            •   graphicxfor includegraphics
                            •   subfigure for subfigure




                    ref{keyword}refers back to label{keyword}
                    ~ = automatically adds space between words




                •   includegraphics[scaling]{location of
                    graphic}
                •   subfigure[subcaption]{figure information}


14
Example # 2: Figures
     (Practice)
        Go to:
         ◦ http://www.gatech.edu/about save image
         ◦ http://www.gatech.edu/sports save image




15
Example # 2: Figures
     (Practice)
        Go to:
         ◦ http://www.gatech.edu/about save image
         ◦ http://www.gatech.edu/sports save image




16
Example # 3: Tables




17
Example # 3: Tables




                     table and tabular




                   multicolumn[numcol]{format}{text}




18
Example # 4: Equations



                     •   amsmathfor greek
                         symbols, math, equations


      align and &


      equation and
      subequation




19
Example # 5: References




    Manual entries
           or
  bibliography{.bib}
bibliographystyle{.bst
           }


         20
Combined Practice




21
Combined Practice




22
Georgia Tech Thesis
    Download thesis template
     ◦ http://gradadmiss.gatech.edu/thesis/
       templates.php (Updated August
       2010)
    What’s included
     ◦ example-thesis.tex– main TeX file
     ◦ gatech-thesis.cls– class file
     ◦ example-thesis.bib– bibliography file
    For more information visit
     ◦ http://gradadmiss.gatech.edu/thesis.
       php




23
Georgia Tech Thesis
    Chapter organization




24
Georgia Tech Thesis
               Nomenclature
                ◦ makeindex.exe




Sets-up TeXnicCenter to run
makeindexautomatically




       25
Georgia Tech Thesis
         • Define nomenclature and nomunit
           commands
           Packages: nomencl
           Also need ifthen to define
           commands


             makenomenclature
             Creates nomenclature before document




                       Creating a new LaTeX command:
                       nomenclature[type]{symbol}{text}
                       nomunit{text}




26
Georgia Tech Thesis




Example of usage of nomenclature
and nomunitin code and output




         27
Resources
     




28
Example codes from this
     class
      http://www.prism.gatech.edu/~sdutta8/latex
      Download
       SDutta_Latex_Example_Code.zip
      Unzip file




29

Contenu connexe

Tendances

16 wordprocessing ml subject - odds and ends
16   wordprocessing ml subject - odds and ends16   wordprocessing ml subject - odds and ends
16 wordprocessing ml subject - odds and endsShawn Villaron
 
Introduction to LaTeX (For Word users)
 Introduction to LaTeX (For Word users) Introduction to LaTeX (For Word users)
Introduction to LaTeX (For Word users)Guy K. Kloss
 
Introduction Latex
Introduction LatexIntroduction Latex
Introduction Latextran dinh
 
Reading and Writing Files
Reading and Writing FilesReading and Writing Files
Reading and Writing Filesprimeteacher32
 
A gentle introduction to Latex
A gentle introduction to LatexA gentle introduction to Latex
A gentle introduction to LatexEmmanuel Abatih
 
File Types in Data Structure
File Types in Data StructureFile Types in Data Structure
File Types in Data StructureProf Ansari
 
File organization 1
File organization 1File organization 1
File organization 1Rupali Rana
 
Indexing structure for files
Indexing structure for filesIndexing structure for files
Indexing structure for filesZainab Almugbel
 
32sql server
32sql server32sql server
32sql serverSireesh K
 
Microsoft power point chapter 5 file edited
Microsoft power point   chapter 5 file editedMicrosoft power point   chapter 5 file edited
Microsoft power point chapter 5 file editedLinga Lgs
 
Hechsp 001 Chapter 3
Hechsp 001 Chapter 3Hechsp 001 Chapter 3
Hechsp 001 Chapter 3Brian Kelly
 
Data file handling in python introduction,opening & closing files
Data file handling in python introduction,opening & closing filesData file handling in python introduction,opening & closing files
Data file handling in python introduction,opening & closing fileskeeeerty
 

Tendances (20)

16 wordprocessing ml subject - odds and ends
16   wordprocessing ml subject - odds and ends16   wordprocessing ml subject - odds and ends
16 wordprocessing ml subject - odds and ends
 
Introduction to LaTeX
Introduction to LaTeXIntroduction to LaTeX
Introduction to LaTeX
 
Introduction to LaTeX (For Word users)
 Introduction to LaTeX (For Word users) Introduction to LaTeX (For Word users)
Introduction to LaTeX (For Word users)
 
LaTeX Basics
LaTeX BasicsLaTeX Basics
LaTeX Basics
 
Introduction Latex
Introduction LatexIntroduction Latex
Introduction Latex
 
Java I/O
Java I/OJava I/O
Java I/O
 
ELF
ELFELF
ELF
 
Reading and Writing Files
Reading and Writing FilesReading and Writing Files
Reading and Writing Files
 
Handling computer files
Handling computer filesHandling computer files
Handling computer files
 
A gentle introduction to Latex
A gentle introduction to LatexA gentle introduction to Latex
A gentle introduction to Latex
 
Xml dom
Xml domXml dom
Xml dom
 
Files
FilesFiles
Files
 
File Types in Data Structure
File Types in Data StructureFile Types in Data Structure
File Types in Data Structure
 
File organization 1
File organization 1File organization 1
File organization 1
 
Indexing structure for files
Indexing structure for filesIndexing structure for files
Indexing structure for files
 
Filehandling
FilehandlingFilehandling
Filehandling
 
32sql server
32sql server32sql server
32sql server
 
Microsoft power point chapter 5 file edited
Microsoft power point   chapter 5 file editedMicrosoft power point   chapter 5 file edited
Microsoft power point chapter 5 file edited
 
Hechsp 001 Chapter 3
Hechsp 001 Chapter 3Hechsp 001 Chapter 3
Hechsp 001 Chapter 3
 
Data file handling in python introduction,opening & closing files
Data file handling in python introduction,opening & closing filesData file handling in python introduction,opening & closing files
Data file handling in python introduction,opening & closing files
 

Similaire à Latex intro s_dutta_v2

LaTeX로 문서 작성하자
LaTeX로 문서 작성하자LaTeX로 문서 작성하자
LaTeX로 문서 작성하자Kangjun Heo
 
Latex Introduction for Beginners
Latex Introduction for BeginnersLatex Introduction for Beginners
Latex Introduction for Beginnersssuser9e8fa4
 
LaTex tutorial with Texstudio
LaTex tutorial with TexstudioLaTex tutorial with Texstudio
LaTex tutorial with TexstudioHossein Babashah
 
LaTeX for B.Sc. Mathematics,an introduction
LaTeX for B.Sc. Mathematics,an introductionLaTeX for B.Sc. Mathematics,an introduction
LaTeX for B.Sc. Mathematics,an introductionjayakumarc9
 
latex document for IT workshop Lab . B.Tech
latex document for IT workshop Lab . B.Techlatex document for IT workshop Lab . B.Tech
latex document for IT workshop Lab . B.TechSandhya Gandham
 
Latex workshop: Essentials and Practices
Latex workshop: Essentials and PracticesLatex workshop: Essentials and Practices
Latex workshop: Essentials and PracticesMohamed Alrshah
 
scientific writing 01 - latex
scientific writing   01 - latexscientific writing   01 - latex
scientific writing 01 - latexLeo Chen
 
latex-workshop Dr: Mohamed A. Alrshah
latex-workshop Dr: Mohamed A. Alrshahlatex-workshop Dr: Mohamed A. Alrshah
latex-workshop Dr: Mohamed A. AlrshahAbdulazim N.Elaati
 
Installation guide for Latex and MOODLE
Installation guide for Latex and MOODLEInstallation guide for Latex and MOODLE
Installation guide for Latex and MOODLEabigail4894
 
Latex - Companion for a Researcher - A Review.ppt
Latex - Companion for a Researcher - A Review.pptLatex - Companion for a Researcher - A Review.ppt
Latex - Companion for a Researcher - A Review.pptLadallaRajKumar
 
LaTeX_tutorial_Syed_Jan09.ppt
LaTeX_tutorial_Syed_Jan09.pptLaTeX_tutorial_Syed_Jan09.ppt
LaTeX_tutorial_Syed_Jan09.pptMichalis33
 

Similaire à Latex intro s_dutta_v2 (20)

Learn Latex
Learn LatexLearn Latex
Learn Latex
 
Latex Notes
Latex NotesLatex Notes
Latex Notes
 
LaTeX로 문서 작성하자
LaTeX로 문서 작성하자LaTeX로 문서 작성하자
LaTeX로 문서 작성하자
 
Latex Introduction for Beginners
Latex Introduction for BeginnersLatex Introduction for Beginners
Latex Introduction for Beginners
 
LaTex tutorial with Texstudio
LaTex tutorial with TexstudioLaTex tutorial with Texstudio
LaTex tutorial with Texstudio
 
Latex ppt copy
Latex ppt   copyLatex ppt   copy
Latex ppt copy
 
latex.pptx
latex.pptxlatex.pptx
latex.pptx
 
Inroduction to Latex
Inroduction to LatexInroduction to Latex
Inroduction to Latex
 
Latex intro
Latex introLatex intro
Latex intro
 
LaTeX for B.Sc. Mathematics,an introduction
LaTeX for B.Sc. Mathematics,an introductionLaTeX for B.Sc. Mathematics,an introduction
LaTeX for B.Sc. Mathematics,an introduction
 
latex document for IT workshop Lab . B.Tech
latex document for IT workshop Lab . B.Techlatex document for IT workshop Lab . B.Tech
latex document for IT workshop Lab . B.Tech
 
Latex workshop: Essentials and Practices
Latex workshop: Essentials and PracticesLatex workshop: Essentials and Practices
Latex workshop: Essentials and Practices
 
scientific writing 01 - latex
scientific writing   01 - latexscientific writing   01 - latex
scientific writing 01 - latex
 
Keeping Up! with LaTeX
Keeping Up! with LaTeXKeeping Up! with LaTeX
Keeping Up! with LaTeX
 
latex-workshop Dr: Mohamed A. Alrshah
latex-workshop Dr: Mohamed A. Alrshahlatex-workshop Dr: Mohamed A. Alrshah
latex-workshop Dr: Mohamed A. Alrshah
 
LaTeX Survival Guide
LaTeX Survival Guide LaTeX Survival Guide
LaTeX Survival Guide
 
Installation guide for Latex and MOODLE
Installation guide for Latex and MOODLEInstallation guide for Latex and MOODLE
Installation guide for Latex and MOODLE
 
Latex - Companion for a Researcher - A Review.ppt
Latex - Companion for a Researcher - A Review.pptLatex - Companion for a Researcher - A Review.ppt
Latex - Companion for a Researcher - A Review.ppt
 
Introduction to LaTeX
Introduction to LaTeXIntroduction to LaTeX
Introduction to LaTeX
 
LaTeX_tutorial_Syed_Jan09.ppt
LaTeX_tutorial_Syed_Jan09.pptLaTeX_tutorial_Syed_Jan09.ppt
LaTeX_tutorial_Syed_Jan09.ppt
 

Latex intro s_dutta_v2

  • 1. An Introduction to Soumyo Dutta soumyo.dutta@live.com GT Library & Information Center Graduate Library User Education Workshop Series
  • 2. Outline  LaTeX advantages  LaTeX IDE  Parts of LaTeX document  Examples  Georgia Tech Thesis  Resources 2
  • 3. Why  LaTeX is not WYSIWYG* ◦ Manuscript/Typesetting program  Easy to handle large documents ◦ Break-up chapters/sections into separate documents ◦ Easily handle cross-references/citations across parts (almost impossible with Word)  References ◦ Cite as you go ◦ Reference generated/sorted automatically  Equations ◦ Professional look ◦ Easy to cite ◦ Easy subequations/Math type in text  Formatting ◦ Formatting of group of text very easy to change ◦ Change paper from Style A (for a conference) to Style B (for GT Thesis) using the same LaTeX code * What You See Is What You Get 3
  • 4. Why  LaTeX is not WYSIWYG* ◦ Manuscript/Typesetting program  Easy to handle large documents ◦ Break-up chapters/sections into separate documents ◦ Easily handle cross-references/citations across parts (almost impossible with Word)  References ◦ Cite as you go ◦ Reference generated/sorted automatically Word example of in text equations  Equations ◦ Professional look ◦ Easy to cite ◦ Easy subequations/Math type in text  Formatting ◦ Formatting of group of text very easy to change ◦ Change paper from Style A (for a conference) to Style B (for GT Thesis) using the same LaTeX code * What You See Is What You Get 4
  • 5. LaTeX IDE*– TeXnicCenter Build (Ctrl + F7) Error Bad Box s Output format Warning s View Output (F5) * Integrated Development Environment 5
  • 6. LaTeX IDE – Installing Packages 6
  • 7. Parts of LaTeX document  File saved as .tex  Document parts: ◦ Document class ◦ Packages ◦ Title block ◦ Start/end code ◦ Specialized section ◦ Bibliography 7
  • 8. Parts of LaTeX document  File saved as .tex  Document parts: ◦ Document class [option] {type} option: type: • Font size • Article • Papersize • Book • Letter • Report • {.cls} • Mandatory for all documents 8
  • 9. Parts of LaTeX document  File saved as .tex  Document parts: ◦ Packages [option] {type} • After document class • Not mandatory for all documents • Allows you to use commands not included with LaTeX distribution (e.g. subfigures) 9
  • 10. Parts of LaTeX document  File saved as style: • .bst .tex • Style downloaded  Document parts: from Internet {style} • Various citation ◦ Bibliography styles (e.g. Chicago, IEEE, etc.) reference file: {reference file} • .bib • Your citation info • Use Jabref or by-hand • Usually before end{document} • Creates bibliography at that point in the document • Not mandatory for all documents 10
  • 11. Parts of LaTeX document  Important code characters ◦ Start/end characters  begin{} … end{}  {[( )]} ◦ Math text: damping sum $(C_{mq}+C_{malpha})$ ◦ Commands start with ◦ Comments%  Dividing commands (no need for start/end) ◦ chapter{} ◦ section{} subsection{} subsubsection{} {Name of Section} 11
  • 12. Example # 1: Lists • itemizeor enumerate Blank line in LaTeX is not equal to blank line in text 12
  • 13. Example # 1: Lists (Practice) 13
  • 14. Example # 2: Figures • graphicxfor includegraphics • subfigure for subfigure ref{keyword}refers back to label{keyword} ~ = automatically adds space between words • includegraphics[scaling]{location of graphic} • subfigure[subcaption]{figure information} 14
  • 15. Example # 2: Figures (Practice)  Go to: ◦ http://www.gatech.edu/about save image ◦ http://www.gatech.edu/sports save image 15
  • 16. Example # 2: Figures (Practice)  Go to: ◦ http://www.gatech.edu/about save image ◦ http://www.gatech.edu/sports save image 16
  • 17. Example # 3: Tables 17
  • 18. Example # 3: Tables table and tabular multicolumn[numcol]{format}{text} 18
  • 19. Example # 4: Equations • amsmathfor greek symbols, math, equations align and & equation and subequation 19
  • 20. Example # 5: References Manual entries or bibliography{.bib} bibliographystyle{.bst } 20
  • 23. Georgia Tech Thesis  Download thesis template ◦ http://gradadmiss.gatech.edu/thesis/ templates.php (Updated August 2010)  What’s included ◦ example-thesis.tex– main TeX file ◦ gatech-thesis.cls– class file ◦ example-thesis.bib– bibliography file  For more information visit ◦ http://gradadmiss.gatech.edu/thesis. php 23
  • 24. Georgia Tech Thesis  Chapter organization 24
  • 25. Georgia Tech Thesis  Nomenclature ◦ makeindex.exe Sets-up TeXnicCenter to run makeindexautomatically 25
  • 26. Georgia Tech Thesis • Define nomenclature and nomunit commands Packages: nomencl Also need ifthen to define commands makenomenclature Creates nomenclature before document Creating a new LaTeX command: nomenclature[type]{symbol}{text} nomunit{text} 26
  • 27. Georgia Tech Thesis Example of usage of nomenclature and nomunitin code and output 27
  • 28. Resources  28
  • 29. Example codes from this class  http://www.prism.gatech.edu/~sdutta8/latex  Download SDutta_Latex_Example_Code.zip  Unzip file 29