Typesetting with LATEX: the Basics
Total Page:16
File Type:pdf, Size:1020Kb
1 Typesetting with LATEX: The Basics Paul Bergeron Department of Physics and Astronomy, University of Utah, Salt Lake City January 26, 2016 1These slides will be available at http://www.physics.utah.edu/~bergeron/ Further Reading Some documentation I keep on hand: I (general and simple): A Simplified Introduction to LATEX I (general and technical): A Not So Short Introduction to LATEX I (math cheat sheet): A Short Math Guide to LATEX I A Beamer Quick Start manual I TikZ & PGF manual I CircuitTikZ manual I Word processor that gives you near complete control I Smart, e.g no sections at the bottom of a page I Good for papers, homework, notes, posters, talks (like this one!), and more I Open source { a swiss army knife who anyone can add to I Available for any platform { Apple, Windows, or Linux I Easy to learn with intuitive commands I Excels at equations, figures, reference, structure, and more... Why LATEX I Designed in the 1980s by mathematicians tired of their equations being messed up I Smart, e.g no sections at the bottom of a page I Good for papers, homework, notes, posters, talks (like this one!), and more I Open source { a swiss army knife who anyone can add to I Available for any platform { Apple, Windows, or Linux I Easy to learn with intuitive commands I Excels at equations, figures, reference, structure, and more... Why LATEX I Designed in the 1980s by mathematicians tired of their equations being messed up I Word processor that gives you near complete control I Good for papers, homework, notes, posters, talks (like this one!), and more I Open source { a swiss army knife who anyone can add to I Available for any platform { Apple, Windows, or Linux I Easy to learn with intuitive commands I Excels at equations, figures, reference, structure, and more... Why LATEX I Designed in the 1980s by mathematicians tired of their equations being messed up I Word processor that gives you near complete control I Smart, e.g no sections at the bottom of a page I Open source { a swiss army knife who anyone can add to I Available for any platform { Apple, Windows, or Linux I Easy to learn with intuitive commands I Excels at equations, figures, reference, structure, and more... Why LATEX I Designed in the 1980s by mathematicians tired of their equations being messed up I Word processor that gives you near complete control I Smart, e.g no sections at the bottom of a page I Good for papers, homework, notes, posters, talks (like this one!), and more I Available for any platform { Apple, Windows, or Linux I Easy to learn with intuitive commands I Excels at equations, figures, reference, structure, and more... Why LATEX I Designed in the 1980s by mathematicians tired of their equations being messed up I Word processor that gives you near complete control I Smart, e.g no sections at the bottom of a page I Good for papers, homework, notes, posters, talks (like this one!), and more I Open source { a swiss army knife who anyone can add to I Easy to learn with intuitive commands I Excels at equations, figures, reference, structure, and more... Why LATEX I Designed in the 1980s by mathematicians tired of their equations being messed up I Word processor that gives you near complete control I Smart, e.g no sections at the bottom of a page I Good for papers, homework, notes, posters, talks (like this one!), and more I Open source { a swiss army knife who anyone can add to I Available for any platform { Apple, Windows, or Linux I Excels at equations, figures, reference, structure, and more... Why LATEX I Designed in the 1980s by mathematicians tired of their equations being messed up I Word processor that gives you near complete control I Smart, e.g no sections at the bottom of a page I Good for papers, homework, notes, posters, talks (like this one!), and more I Open source { a swiss army knife who anyone can add to I Available for any platform { Apple, Windows, or Linux I Easy to learn with intuitive commands Why LATEX I Designed in the 1980s by mathematicians tired of their equations being messed up I Word processor that gives you near complete control I Smart, e.g no sections at the bottom of a page I Good for papers, homework, notes, posters, talks (like this one!), and more I Open source { a swiss army knife who anyone can add to I Available for any platform { Apple, Windows, or Linux I Easy to learn with intuitive commands I Excels at equations, figures, reference, structure, and more... Why LATEX I Designed in the 1980s by mathematicians tired of their equations being messed up I Word processor that gives you near complete control I Smart, e.g no sections at the bottom of a page I Good for papers, homework, notes, posters, talks (like this one!), and more I Open source { a swiss army knife who anyone can add to I Available for any platform { Apple, Windows, or Linux I Easy to learn with intuitive commands I Excels at equations, figures, reference, structure, and more... Why LATEX, continued What else is it good at; some examples: OH OH O HO H OH OH L R v1(t) C v2(t) i(t) Many GUI's available (some cross platform). See https://latex-project.org for details Popular ones are: I Apple: TeXShop I Windows: Miktex I Linux: TeX Live Many other distributions out there! How to Get LATEX Command line always a bare-bones option. Popular ones are: I Apple: TeXShop I Windows: Miktex I Linux: TeX Live Many other distributions out there! How to Get LATEX Command line always a bare-bones option. Many GUI's available (some cross platform). See https://latex-project.org for details How to Get LATEX Command line always a bare-bones option. Many GUI's available (some cross platform). See https://latex-project.org for details Popular ones are: I Apple: TeXShop I Windows: Miktex I Linux: TeX Live Many other distributions out there! How to Get LATEX Command line always a bare-bones option. Many GUI's available (some cross platform). See https://latex-project.org for details Popular ones are: I Apple: TeXShop I Windows: Miktex I Linux: TeX Live Many other distributions out there! Specify what functionsCover to pageinclude information References to cite Document specifications and type %Comment a line by using a `%' nusepackagefurlg%the document can now embed web links! ntitlePreamblefA Lovely Title (metag editing) nauthorfYour Nameg nbeginfabstractgAn abstract here! nendfabstractg nmaketitle %This makes a cover page We can now write up our awesome results for publication. Where the document is written nbeginfthebibliographyg[#] nbibitemfcitation identg a citation to reference nendfthebibliographyg Like Programming, but Easier ndocumentclass[options]fclassg nbeginfdocumentg nendfdocumentg Specify what functionsCover to pageinclude information References to cite %Comment a line by using a `%' nusepackagefurlg%the document can now embed web links! ntitlePreamblefA Lovely Title (metag editing) nauthorfYour Nameg nbeginfabstractgAn abstract here! nendfabstractg nmaketitle %This makes a cover page We can now write up our awesome results for publication. Where the document is written nbeginfthebibliographyg[#] nbibitemfcitation identg a citation to reference nendfthebibliographyg Like Programming, but Easier ndocumentclass[options]fclassg Document specifications and type nbeginfdocumentg nendfdocumentg Specify what functionsCover to pageinclude information References to cite %Comment a line by using a `%' nusepackagefurlg%the document can now embed web links! ntitlefA Lovely Titleg nauthorfYour Nameg nbeginfabstractgAn abstract here! nendfabstractg nmaketitle %This makes a cover page We can now write up our awesome results for publication. Where the document is written nbeginfthebibliographyg[#] nbibitemfcitation identg a citation to reference nendfthebibliographyg Like Programming, but Easier ndocumentclass[options]fclassg Document specifications and type Preamble (meta editing) nbeginfdocumentg nendfdocumentg Specify what functionsCover to pageinclude information References to cite %Comment a line by using a `%' nusepackagefurlg%the document can now embed web links! ntitlefA Lovely Titleg nauthorfYour Nameg nbeginfabstractgAn abstract here! nendfabstractg nmaketitle %This makes a cover page We can now write up our awesome results for publication. nbeginfthebibliographyg[#] nbibitemfcitation identg a citation to reference nendfthebibliographyg Like Programming, but Easier ndocumentclass[options]fclassg Document specifications and type Preamble (meta editing) nbeginfdocumentg Where the document is written nendfdocumentg Specify what functionsCover to pageinclude information References to cite Document specifications and type nusepackagefurlg%the document can now embed web links! ntitlePreamblefA Lovely Title (metag editing) nauthorfYour Nameg nbeginfabstractgAn abstract here! nendfabstractg nmaketitle %This makes a cover page We can now write up our awesome results for publication. Where the document is written nbeginfthebibliographyg[#] nbibitemfcitation identg a citation to reference nendfthebibliographyg Like Programming, but Easier ndocumentclass[options]fclassg %Comment a line by using a `%' nbeginfdocumentg nendfdocumentg Cover page information References to cite Document specifications and type ntitlePreamblefA Lovely Title (metag editing) nauthorfYourSpecify Nameg what functions to include nbeginfabstractgAn abstract here! nendfabstractg nmaketitle %This makes a cover page We can now write up our awesome results for publication. Where the document is written nbeginfthebibliographyg[#] nbibitemfcitation identg a citation to reference nendfthebibliographyg Like Programming,