THIS IS AN INTRODUCTION TO LaTeX Introduction to Latex Jimmy Broomfield University of Minnesota, November 7, 2016 1 / Jimmy Broomfield Introduction to LaTeX 1/22 22
Outline Introduction Installation Getting Started Basic Commands Mathematics Graphics Tables User Defined Commands Bibliographies 2 / Jimmy Broomfield Introduction to LaTeX 2/22 22
Introduction Why L A TEX? Typography is the art of text arrangement and design, whereas typesetting is the process of applying typographic elements to text in an artful way. Latex was created by scientist to give a way to typeset scientific writing. This gives a way to beautifully typeset mathematics. Latex can be used to create articles, books, presentations, resumes/cvs, etc. 3 / Jimmy Broomfield Introduction to LaTeX 3/22 22
Introduction Why L A TEX? Typography is the art of text arrangement and design, whereas typesetting is the process of applying typographic elements to text in an artful way. Latex was created by scientist to give a way to typeset scientific writing. This gives a way to beautifully typeset mathematics. Latex can be used to create articles, books, presentations, resumes/cvs, etc. 3 / Jimmy Broomfield Introduction to LaTeX 3/22 22
Introduction Why L A TEX? Typography is the art of text arrangement and design, whereas typesetting is the process of applying typographic elements to text in an artful way. Latex was created by scientist to give a way to typeset scientific writing. This gives a way to beautifully typeset mathematics. Latex can be used to create articles, books, presentations, resumes/cvs, etc. 3 / Jimmy Broomfield Introduction to LaTeX 3/22 22
Introduction Word vs L A TEX 4 / Jimmy Broomfield Introduction to LaTeX 4/22 22
Installation Installing L A TEX Windows Miktex/TexWorks will have to be installed by the user. Mac OS MacTeX comes pre-installed. Linux Will come pre-installed with your distro. Online If you prefer to not install L A TEX, you can use overleaf.com or sharelatex.com. 5 / Jimmy Broomfield Introduction to LaTeX 5/22 22
Installation Installing L A TEX Windows Miktex/TexWorks will have to be installed by the user. Mac OS MacTeX comes pre-installed. Linux Will come pre-installed with your distro. Online If you prefer to not install L A TEX, you can use overleaf.com or sharelatex.com. 5 / Jimmy Broomfield Introduction to LaTeX 5/22 22
Installation Installing L A TEX Windows Miktex/TexWorks will have to be installed by the user. Mac OS MacTeX comes pre-installed. Linux Will come pre-installed with your distro. Online If you prefer to not install L A TEX, you can use overleaf.com or sharelatex.com. 5 / Jimmy Broomfield Introduction to LaTeX 5/22 22
Installation Installing L A TEX Windows Miktex/TexWorks will have to be installed by the user. Mac OS MacTeX comes pre-installed. Linux Will come pre-installed with your distro. Online If you prefer to not install L A TEX, you can use overleaf.com or sharelatex.com. 5 / Jimmy Broomfield Introduction to LaTeX 5/22 22
Your First Document The basics 6 / Jimmy Broomfield Introduction to LaTeX 6/22 22
Your First Document A little more 7 / Jimmy Broomfield Introduction to LaTeX 7/22 22
Caution Characters and Spaces Special Characters \#, \$, \%, \ˆ, \&, \_, \{, \}, \, \textbackslash, \LaTeX Horizontal Space Vertical Space 8 / Jimmy Broomfield Introduction to LaTeX 8/22 22
Exercise Using Special Characters and Spacing Use L A TEXto produce the following text. 9 / Jimmy Broomfield Introduction to LaTeX 9/22 22
Basic Commands Changes to Font Bold Font is produced by using Italic Font is produced by using Italic Font can also be produced by using Underlined text is produced by using Code like is produced by using 10 / Jimmy Broomfield Introduction to LaTeX 10/22 22
Basic Commands Changes to Font Size Text Text Text Text Text Text Text Text Text Text 11 / Jimmy Broomfield Introduction to LaTeX 11/22 22
Basic Commands Alignment Left Flush alignment is default Center alignment is produced by Right alignment is produced by 12 / Jimmy Broomfield Introduction to LaTeX 12/22 22
Basic Commands Bulleted Lists Bulleted lists are produced by: Numbered Lists Numbered lists are produced by: 13 / Jimmy Broomfield Introduction to LaTeX 13/22 22
Basic Commands Preamble 14 / Jimmy Broomfield Introduction to LaTeX 14/22 22
Exercise More Advanced Document Write a basic L A TEXdocument with the following requirements Title your document My First Proper L A TEXDocument. Add your name as the author. Date the document with today s date. Add a title page with the title, your name, and the date. Add the package. Add and introduction with the text This is an introduction. Add a section titled section with the text This is a section. 15 / Jimmy Broomfield Introduction to LaTeX 15/22 22
Debug Exercise 1 Don t Be Scared Debug the following 16 / Jimmy Broomfield Introduction to LaTeX 16/22 22
Mathematics L A TEXunleashed Let s dive in! Environments Characters Equations, numbering, and alignment Special symbols Theorems Definitions Proofs And more! 17 / Jimmy Broomfield Introduction to LaTeX 17/22 22
Mathematics L A TEXunleashed Let s dive in! Environments Characters Equations, numbering, and alignment Special symbols Theorems Definitions Proofs And more! 17 / Jimmy Broomfield Introduction to LaTeX 17/22 22
Mathematics L A TEXunleashed Let s dive in! Environments Characters Equations, numbering, and alignment Special symbols Theorems Definitions Proofs And more! 17 / Jimmy Broomfield Introduction to LaTeX 17/22 22
Graphics How To Add Graphics Add a caption using the command. Alignment: left, right, center, outer and inner You can also make your own images using the Tikz package, but this is more advanced. 18 / Jimmy Broomfield Introduction to LaTeX 18/22 22
Graphics How To Add Graphics Add a caption using the command. Alignment: left, right, center, outer and inner You can also make your own images using the Tikz package, but this is more advanced. 18 / Jimmy Broomfield Introduction to LaTeX 18/22 22
Graphics How To Add Graphics Add a caption using the command. Alignment: left, right, center, outer and inner You can also make your own images using the Tikz package, but this is more advanced. 18 / Jimmy Broomfield Introduction to LaTeX 18/22 22
Graphics How To Add Graphics Add a caption using the command. Alignment: left, right, center, outer and inner You can also make your own images using the Tikz package, but this is more advanced. 18 / Jimmy Broomfield Introduction to LaTeX 18/22 22
Graphics How To Add Graphics Add a caption using the command. Alignment: left, right, center, outer and inner You can also make your own images using the Tikz package, but this is more advanced. 18 / Jimmy Broomfield Introduction to LaTeX 18/22 22
Graphics How To Add Graphics Add a caption using the command. Alignment: left, right, center, outer and inner You can also make your own images using the Tikz package, but this is more advanced. 18 / Jimmy Broomfield Introduction to LaTeX 18/22 22
Tables How To Add Graphics Using the & and commands in a table Row spacing using Adding a caption: Just like the graphicx package Alignment: Just like the graphicx package 19 / Jimmy Broomfield Introduction to LaTeX 19/22 22
Tables How To Add Graphics Using the & and commands in a table Row spacing using Adding a caption: Just like the graphicx package Alignment: Just like the graphicx package 19 / Jimmy Broomfield Introduction to LaTeX 19/22 22
Tables How To Add Graphics Using the & and commands in a table Row spacing using Adding a caption: Just like the graphicx package Alignment: Just like the graphicx package 19 / Jimmy Broomfield Introduction to LaTeX 19/22 22
Tables How To Add Graphics Using the & and commands in a table Row spacing using Adding a caption: Just like the graphicx package Alignment: Just like the graphicx package 19 / Jimmy Broomfield Introduction to LaTeX 19/22 22
Tables How To Add Graphics Using the & and commands in a table Row spacing using Adding a caption: Just like the graphicx package Alignment: Just like the graphicx package 19 / Jimmy Broomfield Introduction to LaTeX 19/22 22
Tables How To Add Graphics Using the & and commands in a table Row spacing using Adding a caption: Just like the graphicx package Alignment: Just like the graphicx package 19 / Jimmy Broomfield Introduction to LaTeX 19/22 22
Custom Commands You Mean I Can Make It My Own User Defined Commands In L A TEX, you have the power to create your own custom commands.these are shortcuts for doing certain tasks without having to write out the full length command.i.e. instead of typing every time you want to add R to your document, you can instead add a command in the preamble to do this with the command: 20 / Jimmy Broomfield Introduction to LaTeX 20/22 22
Custom Commands You Mean I Can Make It My Own User Defined Commands In L A TEX, you have the power to create your own custom commands.these are shortcuts for doing certain tasks without having to write out the full length command.i.e. instead of typing every time you want to add R to your document, you can instead add a command in the preamble to do this with the command: 20 / Jimmy Broomfield Introduction to LaTeX 20/22 22
Custom Commands You Mean I Can Make It My Own User Defined Commands In L A TEX, you have the power to create your own custom commands.these are shortcuts for doing certain tasks without having to write out the full length command.i.e. instead of typing every time you want to add R to your document, you can instead add a command in the preamble to do this with the command: 20 / Jimmy Broomfield Introduction to LaTeX 20/22 22
Custom Commands You Mean I Can Make It My Own User Defined Commands In L A TEX, you have the power to create your own custom commands.these are shortcuts for doing certain tasks without having to write out the full length command.i.e. instead of typing every time you want to add R to your document, you can instead add a command in the preamble to do this with the command: 20 / Jimmy Broomfield Introduction to LaTeX 20/22 22
Bibliographies Cite Your Sources Create a bibliography using End using Add bibliography items using 21 / Jimmy Broomfield Introduction to LaTeX 21/22 22
Resources for further learning 1. Introduction - Tobias Oetiker, The Not So Short Introduction to L A TEX 2 ε, https://tobi.oetiker.ch/lshort/lshort.pdf. 2. Tutorials/help - https://www.sharelatex.com 3. Tutorials/help - https://www.overleaf.com/latex/learn/freeonline-introduction-to-latex-part-1#.wb427vorjhf 4. Encyclopedia-like resource - https://en.wikibooks.org/wiki/latex 5. Symbol lookup - http://detexify.kirelabs.org/classify.html 6. Math Symbol List - http://www.math.boun.edu.tr/instructors/gurel/symbols-a4.pdf 7. Templates - http://www.latextemplates.com/ or https://www.sharelatex.com/templates 22 / Jimmy Broomfield Introduction to LaTeX 22/22 22