An Introduction toSoumyo Duttasoumyo.dutta@live.comGT Library & Information CenterGraduate Library User Education Workshop...
Outline     LaTeX advantages     LaTeX IDE     Parts of LaTeX document     Examples     Georgia Tech Thesis     Reso...
Why       LaTeX is not WYSIWYG*        ◦ Manuscript/Typesetting program       Easy to handle large documents        ◦ Br...
Why       LaTeX is not WYSIWYG*        ◦ Manuscript/Typesetting program       Easy to handle large documents        ◦ Br...
LaTeX IDE*– TeXnicCenter                                               Build (Ctrl + F7)                                  ...
LaTeX IDE – Installing    Packages6
Parts of LaTeX document File saved as  .tex Document parts:    ◦   Document class    ◦   Packages    ◦   Title block    ...
Parts of LaTeX document File saved as  .tex Document parts:    ◦ Document class                         [option]      {t...
Parts of LaTeX document File saved as  .tex Document parts:    ◦ Packages            [option] {type}        • After docu...
Parts of LaTeX document File saved as                      style:                                     • .bst  .tex       ...
Parts of LaTeX document        Important code characters         ◦ Start/end characters            begin{} … end{}      ...
Example # 1: Lists     • itemizeor enumerate                             Blank line in LaTeX is not                       ...
Example # 1: Lists (Practice)13
Example # 2: Figures                            •   graphicxfor includegraphics                            •   subfigure f...
Example # 2: Figures     (Practice)        Go to:         ◦ http://www.gatech.edu/about save image         ◦ http://www....
Example # 2: Figures     (Practice)        Go to:         ◦ http://www.gatech.edu/about save image         ◦ http://www....
Example # 3: Tables17
Example # 3: Tables                     table and tabular                   multicolumn[numcol]{format}{text}18
Example # 4: Equations                     •   amsmathfor greek                         symbols, math, equations      alig...
Example # 5: References    Manual entries           or  bibliography{.bib}bibliographystyle{.bst           }         20
Combined Practice21
Combined Practice22
Georgia Tech Thesis    Download thesis template     ◦ http://gradadmiss.gatech.edu/thesis/       templates.php (Updated A...
Georgia Tech Thesis    Chapter organization24
Georgia Tech Thesis               Nomenclature                ◦ makeindex.exeSets-up TeXnicCenter to runmakeindexautomati...
Georgia Tech Thesis         • Define nomenclature and nomunit           commands           Packages: nomencl           Als...
Georgia Tech ThesisExample of usage of nomenclatureand nomunitin code and output         27
Resources     28
Example codes from this     class      http://www.prism.gatech.edu/~sdutta8/latex      Download       SDutta_Latex_Examp...
Upcoming SlideShare
Loading in …5
×

Latex intro s_dutta_v2

809 views

Published on

0 Comments
0 Likes
Statistics
Notes
  • Be the first to comment

  • Be the first to like this

No Downloads
Views
Total views
809
On SlideShare
0
From Embeds
0
Number of Embeds
8
Actions
Shares
0
Downloads
14
Comments
0
Likes
0
Embeds 0
No embeds

No notes for slide

Latex intro s_dutta_v2

  1. 1. An Introduction toSoumyo Duttasoumyo.dutta@live.comGT Library & Information CenterGraduate Library User Education WorkshopSeries
  2. 2. Outline  LaTeX advantages  LaTeX IDE  Parts of LaTeX document  Examples  Georgia Tech Thesis  Resources2
  3. 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. 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. 5. LaTeX IDE*– TeXnicCenter Build (Ctrl + F7) Error Bad Box s Output format Warning s View Output (F5) * Integrated Development Environment5
  6. 6. LaTeX IDE – Installing Packages6
  7. 7. Parts of LaTeX document File saved as .tex Document parts: ◦ Document class ◦ Packages ◦ Title block ◦ Start/end code ◦ Specialized section ◦ Bibliography7
  8. 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 documents8
  9. 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. 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 documents10
  11. 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. 12. Example # 1: Lists • itemizeor enumerate Blank line in LaTeX is not equal to blank line in text12
  13. 13. Example # 1: Lists (Practice)13
  14. 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. 15. Example # 2: Figures (Practice)  Go to: ◦ http://www.gatech.edu/about save image ◦ http://www.gatech.edu/sports save image15
  16. 16. Example # 2: Figures (Practice)  Go to: ◦ http://www.gatech.edu/about save image ◦ http://www.gatech.edu/sports save image16
  17. 17. Example # 3: Tables17
  18. 18. Example # 3: Tables table and tabular multicolumn[numcol]{format}{text}18
  19. 19. Example # 4: Equations • amsmathfor greek symbols, math, equations align and & equation and subequation19
  20. 20. Example # 5: References Manual entries or bibliography{.bib}bibliographystyle{.bst } 20
  21. 21. Combined Practice21
  22. 22. Combined Practice22
  23. 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. php23
  24. 24. Georgia Tech Thesis Chapter organization24
  25. 25. Georgia Tech Thesis  Nomenclature ◦ makeindex.exeSets-up TeXnicCenter to runmakeindexautomatically 25
  26. 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. 27. Georgia Tech ThesisExample of usage of nomenclatureand nomunitin code and output 27
  28. 28. Resources 28
  29. 29. Example codes from this class  http://www.prism.gatech.edu/~sdutta8/latex  Download SDutta_Latex_Example_Code.zip  Unzip file29

×