1 / 26

An Introduction to LaTeX

An Introduction to LaTeX. Lane Thames Georgia Institute of Technology School of Electrical and Computer Engineering. Presentation Objectives. Provide simple overview of LaTeX and how to use GaTech’s thesis template High-level overview of the Document Markup Language (DML) process

lottie
Download Presentation

An Introduction to LaTeX

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. An Introduction to LaTeX Lane Thames Georgia Institute of Technology School of Electrical and Computer Engineering

  2. Presentation Objectives • Provide simple overview of LaTeX and how to use GaTech’s thesis template • High-level overview of the Document Markup Language (DML) process • Provide details of how to use the template structure that I am supplying to the graduate community • Overview of LaTeX DML • Discuss advanced editor options

  3. DML Overview • The goal of any DML system is to provide the user an opportunity to “tightly” control the layout and presentation (L&P) of the document • WSYWYG programs are designed to allow you to use graphical environments to create the L&P. But, these programs can become cumbersome when creating highly technical documents!

  4. DML Process

  5. Web Example with HTML <html><head> <title>Simple Example</title></head> <body bgcolor=“#EEEEE” text=“red”> <div align=“center”><font size=“5”> Hello World</font> </div><br><br> Good Bye <br> </html>

  6. LaTeX Process

  7. Software Needed to Develop LaTex Documents (Microsoft) • MikTex • Text Editor • PSPad, Notepad++,… • Optional: Advanced LaTeX Editing • WinEdt • TeXnicCenter

  8. GaTech Thesis Template • http://www.gradadmiss.gatech.edu/thesis/templates.php

  9. GaTech Thesis Template File Structure • The primary configuration file: gatech-thesis.cls • A set of “jules-vern” TEX files {*.tex} • A bibliography file: *.bib • DO_pdf.bat and CLEAN.bat (for building the document and cleaning the directory) • Let’s build the template document: • Jule-Vern Template

  10. TexFilesTutorial Template • Where to get it: • http://www.gtsav.gatech.edu/~lthames • Click the “Misc” tab

  11. TexFilesTutorial File Structure • Directories • Gatech-thesis-2.7 • Presentation • ProposalTex • TexFilesTutorial • TeXnicCenter • WinEdtTex

  12. TexFilesTutorial File Structure • TEX Files • Thames-main.tex • Thames-ack.tex • Thames-summary.tex • Thames-dedication.tex • Thames-chapter1.tex-Thames-chapter8.tex • BIB Files • Thames-bib.bib

  13. TexFilesTutorial File Structure • Configuration Files • Gatech-thesis.cls • Gatech-thesis.bst • Gatech-thesis-losa.bst • Gatech-thesis-index.ist • Gatech-thesis-gloss.sty • Gatech-thesis-index.sty • Gatech-thesis-losa.sty • Gatech-thesis-patch.sty

  14. TexFilesTutorial File Structure • Miscellaneous • Directory:: fig/ (for holding figures/images) • DO_pdf.bat (for building the document) • CLEAN.bat (for cleaning the directory) • Thames-main.pdf (Final output file) • Let’s check it out: • Open FS

  15. Using the Structure • Modify the file names • Change “thames” to whatever you want, i.e. change “thames-main.tex” to “johndoe-main.tex” • Don’t change the names of the configuration files, just the “.tex”, “.bib” and “.pdf” files

  16. Modify the Build File • Use a text editor to change the DO_pdf.bat file to reflect your new file naming convention. • Let’s look to see why. • Open FS

  17. Analysis of thames-main.tex • The primary TEX file for inclusion of the various TEX documents, etc. • Open FS

  18. LaTeX Bibliography • Internals for GaTech Thesis, see file “gatech-thesis.bst” • For more information, see http://amath.colorado.edu/documentation/LaTeX/reference/faq/bibstyles.html • Fields to be used as defined in gatech-thesis.bst: ENTRY { address, author, booktitle, chapter, edition, editor, howpublished, institution, journal, key, month, note, number, organization, pages, publisher, school, series, title, type, volume, year }

  19. LaTeX Bibliography Note: “knuth:lp” is a “variable” to be used for citation @ARTICLE{knuth:lp, AUTHOR = {Donald E. Knuth}, TITLE = {Literate Programming}, JOURNAL = {The Computer Journal}, YEAR = {1984}, VOLUME = {27}, NUMBER = {2}, PAGES = {97--111}, MONTH = May }

  20. Other styles are permitted @INPROCEEDINGS{dressler, author = "F. Dressler and G. Munz and G. Carle", title = "Attack Detection using Cooperating Autonomous Detection Systems ({CATS})", booktitle = "1st IFIP International Workshop on Autonomic Communication (WAC 2004)", year = 2004, address = "Berlin, Germany", } Note: {CATS} forces bibtex to retain the word verbatim, i.e. all caps in this case. Observe that I’m using “” instead of {} and lowercase ENTRY keywords

  21. Now for some hands-on LaTeX • Open FS

  22. Gatech-thesis.cls Hack • My CLS Proposal modification • Wanted to add a “Section I” and “Section II” page to the proposal. To do so, I modified the class file (gatech-thesis.cls) to incorporate a new label. • Open FS

  23. Advanced LaTeX Editing • WinEdt • TeXnicCenter • Open FS

  24. Final Tips • Don’t forget that others (collaborators or advisors) might need to read your TEX, so • Keep the text clean and readable • Use the % comment character to organize “chunks” of material. For example, use the % to add a “visual line break” in the TEX file before and after a set of equations or to occasionally break up a very long paragraph • Keep the sentence length around 70 (no more than 80) characters

  25. Questions?

More Related