L A TEX Introduction. 1 Basic Resources: Melissa Desjarlais (amended by Dr. Dena Morton)

Size: px
Start display at page:

Download "L A TEX Introduction. 1 Basic Resources: Melissa Desjarlais (amended by Dr. Dena Morton)"

Transcription

1 L A TEX Introduction Melissa Desjarlais (amended by Dr. Dena Morton) Abstract We showcase some L A TEX typesetting. Additionally, we give resources for further exploration of typesetting mathematics and other things with L A TEX. 1 Basic Resources: Some things you will need or may want to download MikTeX from WinEdt (a student license for $30) from TeXnic Center from content.php Ghostview (for using Postscript files) from ghost/ Additional packages from ctan.tug.org Some additional websites that may be helpful 1. The Official WinEdt Community Site 2. Information about L A TEX 3. Getting Started with LATEX dwilkins/latexprimer/ 4. Text Processing using L A TEX www-h.eng.cam.ac.uk/help/tpl/textprocessing/ 5. AMS-L A TEX 6. The TEX Catalogue Online 7. The Comprehensive LaTeX List Some LATEX books that may be helpful. Math into L A TEX George Grätzer The TEXBook Donald Erwin Knuth 1

2 L A TEX A Document Preparation System Leslie Lamport The L A TEXCompanion Michel Goossens and Frank Mittelbach and Alexander Samarin The L A TEXGraphic Companion Michel Goossens and Sebastian Rahtz and Frank Mittelbach The LATEXWeb Companion Michel Goossens and Sabastian Rahtz and et al. A Guide to L A TEX Document Preparation for Beginners and Advanced Users Helmut Kopka and Patrick W. Daly TEXUnbound LATEXand TEXStrategies for fonts, graphics, and more Alan Hoenig 2

3 2 Typing Text There are some symbols that are reserved for LATEXcommands: Also, straight double quotes. # $ % & ˆ {} \ You can add comments to a L A TEX document by placing % in front of anything that you do not want to appear in the L A TEX ed document. If you want to have comments with multiple lines, the % symbol must appear on each line. 2.1 Spacing If you have two or more spaces in text, only one space will be displayed. A blank line indicates the end of a paragraph (and L A TEXwill automatically indent the next line). Spaces at the beginning of a line are ignored. Within lines: You can force a line to indent, prevent a line from indenting or make a horizontal skip with the following commands. \indent, \noindent, \hskip0.1in Between lines: You can force text to begin on a new line or make a vertical skip with the following commands. \newline, \vskip0.1in You can begin a new page by using the following command: \newpage 2.2 Commanding L A TEX There are commands and environments in L A TEX. Examples of commands are \emph{text} {\it text} which would both italicize the word text: text or text. An environment has a begin and an end command: \begin{center} This text would be centered horizontally on the page. \end{center} Everything typed between the two commands is in that environment. So this actually looks like This text would be centered horizontally on the page. 3

4 3 Text Environments You can create a numbered list using the enumerate environment: \begin{enumerate} \item Talk about posters \item Talk about \LaTeX \end{enumerate} which would be displayed as 1. Talk about posters 2. Talk about L A TEX You can create a bulleted list by using the itemize environment: \begin{itemize} \item Work on research \item Play volleyball % \item Watch a movie \end{itemize} which would be displayed as Work on research Play volleyball To have L A TEX commands displayed without being evaluated, you can use the verbatim environment. 3.1 Proclamations In L A TEX, theorems, lemmas, definitions, etc. are displayed in text environments called proclamations (or theorem-like structures). To use a proclamation, you need to define the proclamation with a newtheorem command in the preamble of the document, and then you invoke the proclamation in the body of the document. The first line below would appear in the preamble while the next three lines would appear in the body of the document. \theoremstyle{plain} \newtheorem*{theorem}{theorem} \begin{theorem} My first theorem. \end{theorem} which would be displayed as Theorem. My first theorem. 4

5 Notice that the theorem is not numbered and it is italicized. These are two things that can be changed. By removing the asterisk, the theorems would then be numbered. The first line below would appear in the preamble while the next three lines would appear in the body of the document. \theoremstyle{plain} \newtheorem{proposition}{proposition}[section] \begin{proposition} My first numbered proposition. Note this is numbered by the section number (this can also be user defined...) \end{proposition} which would be displayed as Proposition 1. My first numbered proposition. Note this is numbered by the section number (this can also be user defined...) 3.2 Proof Environments The AMS document classes and the amsthm package define a proof environment. \begin{proof} This is a proof, delimited by the q.e.d. \ symbol. \end{proof} would be displayed as: Proof. This is a proof, delimited by the q.e.d. symbol. Tabular environments You can use the tabular environment to create a table. \vskip0.1in \begin{tabular}{ l r c }\hline Name & Course & Grade \\ \hline Rebecca & Counting 101 & A+ \\ Elisheva & Cuteness and Burping 305 & A++ \\ Jack & How to be a good Husband 809 & A+++\\ Dena & How to Sleep after Baby 1001 & F-- \\ \hline \end{tabular} \vskip0.1in which would be displayed as Name Course Grade Rebecca Counting 101 A+ Elisheva Cuteness and Burping 305 A++ Jack How to be a Good Husband 809 A+++ Dena How to Sleep after Baby F 5

6 The information after the first tabular indicates where there are vertical lines and how the text is justified: left, right or center. Each line (other than the last line) is ended with two backslashes. Items on each line are separated by ampersands. A horizontal line can be added with the \hline command. If you want a horizontal line at the end, you need to end the last line with two backslashes. If you do not skip a little space before and after the table, it will appear within a line. There are many options that can be used with the tabular environment. 6

7 4 Typing Mathematics A math formula can be typeset inline, as part of the current line, or displayed, on a separate line with space above and below the formula. Dollar signs are used as delimiters for a math environment. A single pair of dollar signs is used for inline math. A double pair of dollar signs can be used to display the math on a separate line. Other math environments are \equation, \aligned, \split, \matrix Greek letter are displayed by typing a backslash and then the letter, such as \delta or \Delta. If delta is not capitalized, the lowercase delta will be displayed; if Delta is capitalized, the uppercase delta will be displayed. Use underscores and carets to make subscripts and superscripts, respectively. If you want more than one character to be in an exponent, you need to put the characters inside braces { }. Some math commands you may want to use include \frac{a}{b}, (a \choose b}, \lim_{x \to a} f(x), \sum_{i=1}^{n} i^2, A \cup B, A \cap B which would be displayed as inline as a b,( a) b,limx a f(x), n i=1 i2,a B,A B or as ( ) a a n b,, lim f(x), i 2,A B,A B b x a i=1 if not inline. Other math formulas: would result from n k=0 ( ) n = k lim x ( ) n x 2 + 3x 4x 2 7 = 1 2 e x2 dx = π ( n ) c A i = i=1 n i=1 ( ) n = 2 n k A c i $$\sum_{k=0}^{n} {n \choose k}= {n \choose 0} + \cdots + {n \choose k} =2^n $$ $$ \lim_{x \to \infty} \frac{2x^2+3x}{4x^2-7}=\frac{1}{2} $$ $$\int_{-\infty}^{\infty} e^{-x^2} \, dx= \sqrt{\pi}$$ $$\left(\bigcup_{i=1}^{n} A_i \right)^c=\bigcap_{i=1}^{n} A_i^c$$ There are also many mathematical symbols that can be used. Some are included below, but the comprehensive list of symbols (an 82 page document) can be found at ctan.tug.org. 7

8 There are a number of options for matrices: a + b + c uv ( a + b + c ) uv [ a + b + c ] uv a + b c + d a + b c + d a + b c + d a + b + c uv a + b c + d a + b + c uv { } a + b + c uv a + b c + d a + b c + d The first matrix is typed as: \begin{matrix} a+b+c & uv \\ a+b & c+d \end{matrix} while the others, instead of matrix, use pmatrix, bmatrix, vmatrix, Vmatrix, and Bmatrix, respectively. Another matrix example: results from a 11 a 1n a 21 a 2n..... a n1 a nn \begin{equation*} \begin{bmatrix} a_{11} & \cdots & a_{1 n} \\ a_{21} && a_{2 n} \\ & \ddots & \\ \vdots && \vdots \\ a_{n 1} & \cdots & a_{n n} \end{bmatrix} \end{equation*} Note that the asterisk after the word equation means that the equation is not numbered. Here s what the equation looks like with \begin{equation} and \end{equation}: a 11 a 1n a 21 a 2n... (1).. a n1 a nn Let s reference it: 1. You can use the \aligned command to display a series of equations where, for example, the equal signs are all lined up. The following 8

9 \begin{equation*} \begin{aligned} 3x+5 &= 7x-11 \\ %5 &= 4x-11 \\ 16 &= 4x \\ x &= 4 \end{aligned} \end{equation*} would be displayed as: 3x + 5 = 7x = 4x x = 4 The \split command can be used to display a series of computations where, for example, the equal signs are all lined up. The following \begin{equation*} \begin{split} (a+b)(a-b) &= a^2-ab+ba-b^2 \\ &= a^2-ab+ab-b^2 \\ &= a^2-b^2 \end{split} \end{equation*} would be displayed as: (a + b)(a b) = a 2 ab + ba b 2 = a 2 ab + ab b 2 = a 2 b 2 The \cases command can be used to define a piecewise function. The following \begin{equation*} f(x)= \begin{cases} -x^2 & \text{if } x < 0; \\ \alpha+x & \text{if } 0 \leq x \leq 1; \\ x^2 & \text{otherwise.} \end{cases} \end{equation*} would be displayed as x 2 if x < 0; f(x) = α + x if 0 x 1; x 2 otherwise. 9

10 4.1 Some Math Symbols Type Typeset Type Typeset Type Typeset \leq \geq \sim \approx \equiv \cong = \subset \supset \subseteq \supseteq \smile \frown \therefore \because \nless \ngtr \neq \notin / \nsubseteq \nsupseteq \subsetneq \supsetneq \pm ± \mp \times \div \circ \bullet n\oplus \otimes \ast \dagger \triangleleft \setminus \ \leftarrow \to \longleftarrow \longrightarrow \Leftarrow \Rightarrow \leftrightarrow \Leftrightarrow \uparrow \downarrow \Uparrow \Downarrow \mapsto \hookrightarrow \leftharpoonup \rightharpoondown \forall \exists \clubsuit \diamondsuit \heartsuit \spadesuit \langle \rangle \lceil \rceil \lfloor \rfloor \sin sin \log log \gcd gcd \max max \det det \liminf lim inf \bar{a} ā \hat{a} â \tilde{a} ã \vec{a} a \mathcal{a} A \mathbb{a} A \int \cdot \in \infty \star \vee \wedge \aleph ℵ \ldots... \cdots \ddots... \vdots. \mathbb{z} \cup \cap \bigcap Z \{ { \} } \backslash \ \hat{a} â \acute{a} á \sqrt{a} a Most of this information came from Math into L A TEX by George Grätzer at the internet. 10

11 5 Sample Document This is a sample document. You can tell it is a sample document because it is a document with a bunch of text. We also have a bunch of equations, coming right up. For example, since we love calculus, let s do a derivative and an integral. The derivative is going to be inside of this sentence: d dy (y2 3) = 2y. Here s a partial derivative x (sec ye y + arctan y + 42) = 0. The integral is beautiful so gets displayed and centered nicely on its own line: π e ( ) 2 cos(x) sin(x) dx. We can italicize important statements. Generally in mathematics we do not bold our statements. We can leave a very nice, comfortable vertical space of 1/2 an inch right here: We can look at sets. Surely, you all love discrete mathematics. Let Z represent the integers, as always. Then we know that 3 Z, {3,4,5} Z, 2 Z, {3,4,π} Z. To and beyond!!! If A B then ( B) ( A). If A B C, then mathematics is cool. Hey, so are sub scripts. We can make a bulleted list, which in this case contains your homework: Assignment 1: Typeset something technical (i.e. with formulas) from your paper. Assignment 2: Continue to do your research. 11

LaTeX Seminar III: Environments and More Advanced Mathematical Typesetting

LaTeX Seminar III: Environments and More Advanced Mathematical Typesetting LaTeX Seminar III: Environments and More Advanced Mathematical Typesetting Clifford E. Weil March 24, 2004 1 General Environments We have already encountered two environments. They are the document environment

More information

Math typesetting guide

Math typesetting guide Math typesetting guide Carleton College L A TEX worshop One of L A TEX s most important and widely-nown features is its exceptional math typesetting. Once you have the hang of it, you can easily typeset

More information

LaTeX in SLATE. Common Symbols. 1. Subscripts & Superscripts Fractions & Roots. 4. Brackets.. 5. Multiline Formulas.. 6. Matrices..

LaTeX in SLATE. Common Symbols. 1. Subscripts & Superscripts Fractions & Roots. 4. Brackets.. 5. Multiline Formulas.. 6. Matrices.. LaTeX in SLATE Common Symbols. 1 Subscripts & Superscripts... 3 Fractions & Roots. 4 Brackets.. 5 Multiline Formulas.. 6 Matrices.. 7 Limits & Integrals. 8 l LaTeX Common Symbols Operations \times \div

More information

A Beginner s guide to L A TEX for CSCA67/MATA67. Kohilan Mohanarajan

A Beginner s guide to L A TEX for CSCA67/MATA67. Kohilan Mohanarajan A Beginner s guide to L A TEX for CSCA67/MATA67 Kohilan Mohanarajan August 31, 2017 Contents 1 Foreword 2 2 Getting Started 3 3 Setting up your L A TEXDocument 4 4 Writing your L A TEXDocument 6 4.1 Environments...............................

More information

Introduction to L A TEX

Introduction to L A TEX Introduction to L A TEX Mark Baltovic MA498 - Dissertation in Mathematics Objectives of this session What is L A TEX? The L A TEX source file Inside the body of the text Typesetting mathematics Internal

More information

David Helmbold, October 2005, Revised October 2007

David Helmbold, October 2005, Revised October 2007 Short Intro to LATEX David Helmbold, October 2005, Revised October 2007 Goals: Introduce L A TEX... so you can read/edit L A TEX source... and use manual as reference rather than reading it Outline: 1.

More information

Helen Cameron. A Brief Overview of LATEX

Helen Cameron. A Brief Overview of LATEX A Brief Overview of L A TEX What Is L A TEX? L A TEX is a document preparation system designed by Leslie Lamport on top of Donald Knuth s TEX. Useful Books Leslie Lamport. L A TEX: A document preparation

More information

Learning LaTeX: The Basics

Learning LaTeX: The Basics Learning LaTeX: The Basics The best way to learn LaTeX is by trial and error, with a lot of experimenting, and using other people s.tex files as a model. Google is also a good source: for example, googling

More information

Paul Gartside. March 2, 2013

Paul Gartside. March 2, 2013 SIAM L A TEX Workshop: First Steps Paul Gartside March 2, 2013 1 Introduction Today you are going to take the first steps in learning how to create beautiful mathematical documents using L A TEX (or review

More information

LaTeX A Tutorial. Mohsen Alimomeni, 2010

LaTeX A Tutorial. Mohsen Alimomeni, 2010 LaTeX A Tutorial Mohsen Alimomeni, 2010 How to pronounce LaTeX? (Lah-tek, or Lay-tek) A typesetting program, not a word-processor Designed for producing beautiful books, thesis, papers, articles... (Springer

More information

Using L A TEX Tom Edgar

Using L A TEX Tom Edgar M499 - Senior Capstone Using L A TEX Tom Edgar Department of Mathematics Pacific Lutheran University Tacoma, WA Wednesday, September 17, 2014 Introduction Introduction What is L A TEX? Powerful (Mathematical)

More information

An Introduction to LATEX

An Introduction to LATEX An Introduction to LATEX Mathematics 23a, Fall 2012 By: Isabel Vogt, Will Rafey, and Neil Gat Last Updated: 13 September, 2012 1 Introduction The simplest way to learn TeX is by example. Copy the heading

More information

L A TEX. The Logo. Introduction to L A TEX. Overview. Primary Benefits. Kinds of Documents. Bill Slough and Andrew Mertz

L A TEX. The Logo. Introduction to L A TEX. Overview. Primary Benefits. Kinds of Documents. Bill Slough and Andrew Mertz The Logo Introduction to L A TEX Bill Slough and Andrew Mertz L A TEX Mathematics and Computer Science Department Eastern Illinois University January 20, 2010 Overview TEX and L A TEX What is L A TEX?

More information

Environments, Equations, and Tables

Environments, Equations, and Tables Environments, Equations, and Tables David Freund October 13, 2016 1 Environments In L A TEX, environments are sections of code delineated by \begin{stuff} and \end{stuff}. Most text formatting is done

More information

LAT E X Math Mode. RSI 2007 Staff

LAT E X Math Mode. RSI 2007 Staff LAT E X Math Mode RSI 2007 Staff LAT E X has a special mode for formatting mathematic This mode allows the use of: Subscripts and superscripts Greek letters and various special symbols Example of text

More information

Course A, Part 1 Basic Formatting in L A TEX

Course A, Part 1 Basic Formatting in L A TEX Course A, Part 1 Basic Formatting in L A TEX As you become acquainted with L A TEX, you must remember that this is not a piece of word processing software. Neither is it a programming language. Specifically,

More information

T E X and L A T E X For the Uninitiated

T E X and L A T E X For the Uninitiated T E X and L A T E X For the Uninitiated Daniel A. Graham July 25, 2009 The name T E X, pronounced tech, actually stands for τɛχ, the beginning of the Greek word for art. It is

More information

Intro to LATEX I. Aaron Erlich POLS/CSSS 510, Why LATEX? Programming Document Structure Floats Tables Lists Math

Intro to LATEX I. Aaron Erlich POLS/CSSS 510, Why LATEX? Programming Document Structure Floats Tables Lists Math Intro to LATEX I 1 1 POLS/CSSS 510, 2012 Intro to LATEX I 1 / 32 Outline 1 Why L A TEX? 2 Programming 3 Document Structure 4 Floats 5 Tables 6 Lists 7 Math Intro to LATEX I 2 / 32 The Complaint This sucks

More information

L A TEX for Psychological Researchers

L A TEX for Psychological Researchers L A TEX for Psychological Researchers Lecture 2: Basics of the L A TEX language Sacha Epskamp University of Amsterdam Department of Psychological Methods 27-01-2015 The L A TEX process.tex pdfl A TEX.pdf

More information

L A TEX and Basic Text Editing

L A TEX and Basic Text Editing L A TEX and Basic Text Editing 1 Basics L A TEXis a mathematical typesetting word processing tool. You need a compiler to display L A TEX, and you can dowload the open-source freeware at MikTex.org. We

More information

An introduction to L A TEX for students

An introduction to L A TEX for students An introduction to L A TEX for students Christopher Hanusa February 17, 2011 Christopher.Hanusa@qc.cuny.edu http://people.qc.cuny.edu/chanusa/ > Talks Pros and Cons of L A TEX Why use L A TEX? Ideal for

More information

Typesetting Text. Spring 2013 TEX-Bit #1 Math 406

Typesetting Text. Spring 2013 TEX-Bit #1 Math 406 Spring 2013 TEX-Bit #1 Math 406 Typesetting Text Whitespace characters, such as blank or tab, are treated uniformly as space by L A TEX. Several consecutive whitespace characters are treated as one space.

More information

Intro to L A TEX. Kelly Choo. Sept. 21, Mathematics and Statistics, UVic

Intro to L A TEX. Kelly Choo. Sept. 21, Mathematics and Statistics, UVic Intro to L A TEX Kelly Choo Mathematics and Statistics, UVic Sept. 21, 2017 Software Windows: ProTeXt to install MikTeX and TeXStudio Kelly Choo (Mathematics and Statistics, UVic) Intro to LATEX 2 / 35

More information

Introduction to MCS 220 and L A TEX

Introduction to MCS 220 and L A TEX Introduction to MCS 220 and L A TEX Tom LoFaro August 28, 2009 1 Introduction to MCS 220 MCS 220, Introduction to Analysis, carries a WRITD (writing in the discipline) designation. What this means to you

More information

Introduction to L A TEX

Introduction to L A TEX Introduction to L A TEX D. Broline, A. Mertz & W. Slough Mathematics and Computer Science Department Eastern Illinois University February 8, 2007 The Logo L A TEX Overview What is L A TEX? Typesetting

More information

Getting Started with L A T E X for a Technical Document or Thesis

Getting Started with L A T E X for a Technical Document or Thesis Getting Started with L A T E X for a Technical Document or Thesis University of Waterloo Nov 2015 Outline What is LAT E X? 1 What is L A T E X? 2 3 4 5 What is L A T E X? What is LAT E X? L A T E X is

More information

LATEX Seminar Week 2 Jonathan Blair & Evan Ott. Document classes, basic math formatting, basic pictures, tables and matrices

LATEX Seminar Week 2 Jonathan Blair & Evan Ott. Document classes, basic math formatting, basic pictures, tables and matrices LATEX Seminar Week 2 Jonathan Blair & Evan Ott Document classes, basic math formatting, basic pictures, tables and matrices 1 Document Classes Used \documentclass before, here are more options: \documentclass{

More information

A Short Introduction to L A TEX

A Short Introduction to L A TEX A Short Introduction to L A TEX David J. Eck October 22, 2003 Abstract This paper is a very short introduction to the essentials of L A TEX, a document-preparation system that is an alternative to typical

More information

Helen Cameron. A Brief Overview of LATEX

Helen Cameron. A Brief Overview of LATEX A Brief Overview of L A TEX What Is L A TEX? L A TEX is a document preparation system designed by Leslie Lamport on top of Donald Knuth s TEX. Useful Websites There s a useful wikibook about L A TEX at

More information

Become a L A TEX Guru

Become a L A TEX Guru Become a L A TEX Guru 1 Many thanks to Michele, who was my coteacher for this class for Splash 2009 1. Log in using the username sipb2 and the password hsspmonster 2. Once you are logged on, type sudo

More information

L A TEX: Online module 9

L A TEX: Online module 9 L A TEX: Online module 9 Venkata Manem Univ. of Waterloo August 19, 2011 Venkata Manem (Univ. of Waterloo) LATEX: Online module 9 August 19, 2011 1 / 32 Topics to be covered Typeset lengthy equations Matrices

More information

Math 235: Introduction to LaTeX

Math 235: Introduction to LaTeX Math 235: Introduction to LaTeX The LaTeX word processing system was built to do mathematical typesetting. It is different than word processors; in LaTeX you type in text and typesetting commands, then

More information

A Very Brief Introduction to L A T E X MAT 3535

A Very Brief Introduction to L A T E X MAT 3535 A Very Brief Introduction to L A T E X MAT 3535 Wm C Bauldry BauldryWC Spring Semester, 2006 Wm C Bauldry (BauldryWC) A Very Brief Introduction to LAT E X MAT 3535 Spring Semester, 2006 1 / 19 Topics 1

More information

An Interactive Introduction to L A TEX

An Interactive Introduction to L A TEX An Interactive Introduction to L A TEX Part 1: The Basics Dr John D. Lees-Miller December 2, 2017 Why L A TEX? It makes beautiful documents Especially mathematics It was created by scientists, for scientists

More information

Getting started General Tables Figures Math Wrap up. UCLA Department of Statistics Statistical Consulting Center. LaTeX Bootcamp

Getting started General Tables Figures Math Wrap up. UCLA Department of Statistics Statistical Consulting Center. LaTeX Bootcamp UCLA Department of Statistics Statistical Consulting Center Mine Çetinkaya mine@stat.ucla.edu September 20, 2010 Outline 1 Getting started 2 General 3 Tables 4 Figures 5 Math 6 Wrap up 1 Getting started

More information

CSE 150: Notation Examples

CSE 150: Notation Examples CSE 150: Notation s Leif Walsh December 12, 2007 For most of the following, you will need to include amsmath, amsfonts, amsthm, and sometimes amssymb in your source, by putting the \usepackage{amsmath}

More information

MATLAB for the Sciences

MATLAB for the Sciences A Preliminary Discussion in L A TEX, Part 2 January 6, 2008 Multiple Lines of Equations Just as there was an environment for writing equations, there is an environment for multi-line equations. \begin{eqnarray}

More information

An Interactive Introduction to L A TEX. Part 1: The Basics. John Lees-Miller. writel A TEX

An Interactive Introduction to L A TEX. Part 1: The Basics. John Lees-Miller. writel A TEX An Interactive Introduction to L A TEX Part 1: The Basics John Lees-Miller writel A TEX Why L A TEX? I It makes beautiful documents I Especially mathematics I It was created by scientists, for scientists

More information

A Brief Introduction to L A TEX

A Brief Introduction to L A TEX A Brief Introduction to L A TEX Amanda Kriesel Metropolitan Community College, Nebraska akriesel@mccneb.edu April 7, 2016 Amanda Kriesel (MCC) LaTex April 7, 2016 1 / 17 Table of Contents 1 What is L A

More information

TUTORIAL 8: TYPESETTING MATHEMATICAL EXPRESSIONS CHRISTOPHER RARIDAN Abstract. Upon completion of this tutorial, the author should be able to add some mathematical content to his or her paper. In particular,

More information

Introduction to L A TEX

Introduction to L A TEX Introduction to L A TEX John McCleary Vassar College 17 September 2013 When the first volume of Donald Knuth s The Art of Computer Programming was published in 1969, it was typeset using hot metal type

More information

Latex Tutorial 1 L A TEX. 1.1 Text

Latex Tutorial 1 L A TEX. 1.1 Text Latex Tutorial This tutorial was originally prepared by Joel Wein of MIT. You may find it helpful in preparing your notes. Anything I send you in the template file supercedes what is written here. Yishay

More information

Semantics. Doug Arnold (L A TEX for Linguists) September 25, 2007

Semantics. Doug Arnold (L A TEX for Linguists) September 25, 2007 Semantics Doug Arnold (L A TEX for Linguists) September 25, 2007 1 Introduction TEX and L A TEX are very good at typesetting logic so typesetting most bits of semantics is very easy, just using the things

More information

Typing Mathematics. Darrin Doud

Typing Mathematics. Darrin Doud Typing Mathematics in LATEX Darrin Doud Darrin Doud Department of Mathematics Brigham Young University Provo, UT 84602 doud@math.byu.edu Copyright c 2018 Version: 0.01 Date: January 31, 2018 Contents 1

More information

Getting started with L A TEX on XP

Getting started with L A TEX on XP Getting started with L A TEX on XP A very brief beginners guide Version 1.4: The current version is linked to from www.maths.leeds.ac.uk/school/students 1 Introduction This is a very simple document to

More information

Just Enough L A TEX, Week 4

Just Enough L A TEX, Week 4 Just Enough L A TEX, Week 4 1 1 Department of Mathematics Michigan State University East Lansing, MI USA weil@math.msu.edu October 24, 2008 Typesetting Fractions The basic command to produce a fraction

More information

L A TEX examples. a b c a b c b b a c b c c b a. This table was typeset with the following commands.

L A TEX examples. a b c a b c b b a c b c c b a. This table was typeset with the following commands. L A TEX examples This document is designed to help you see how to produce some mathematical typesetting. The best way to learn how to use L A TEX is to experiment with particular commands. After you have

More information

LATEX Workshop. Yi Liu Chen SUNY Geneseo PRISM Math Club. February 6, Wordmark Reversed Geneseo Wordmark Style Guide 4

LATEX Workshop. Yi Liu Chen SUNY Geneseo PRISM Math Club. February 6, Wordmark Reversed Geneseo Wordmark Style Guide 4 Yi Liu Chen SUNY Geneseo PRISM Math Club February 6, 2019 Outline L A TEX Environment The Basics Mathematics SUNY Geneseo PRISM Math Club 2 BDA/MBS and Math/Physics People People taking BDA (BIOL250) or

More information

A Beginner s Guide to LATEX. Last Revised: August 21, 2013

A Beginner s Guide to LATEX. Last Revised: August 21, 2013 A Beginner s Guide to LATEX Last Revised: August 21, 2013 Thanks In the (ongoing) creation of this document, I ask a lot of people for feedback and input. Some of them are classmates (past or present)

More information

Intro to LaTeX Workshop

Intro to LaTeX Workshop Intro to LaTeX Workshop Crystal Nguyen University of North Carolina at Chapel Hill 10/13/2017 Nguyen (UNC) LaTeX Workshop 10/13/2017 1 / 31 Overview 1 Getting Started in LaTeX 2 Typesetting Equations 3

More information

LATEX Primer. 1 Introduction (Read Me)

LATEX Primer. 1 Introduction (Read Me) LATEX Primer 1 Introduction (Read Me) This document is intended to be used as a primer. You are welcome to remove the body of the document and use the headers only. If you actually read this document,

More information

Getting started with Latex

Getting started with Latex Getting started with Latex Robert G. Niemeyer University of New Mexico, Albuquerque October 15, 2012 What is Latex? Latex is a mathematical typesetting language. Essentially, when you are using Latex to

More information

CS 189 L A TEX and Linux: Mathematical Formulas

CS 189 L A TEX and Linux: Mathematical Formulas CS 189 L A TEX and Linux: (1) Robert S. Laramee Computer Science Department School of Physical Sciences Swansea University May 7, 2008 (1) Robert S. Laramee CS 189 LATEX and Linux: Overview of Lecture

More information

Guide to using L A TEX

Guide to using L A TEX Guide to using L A TEX Andrew Stevens, UC Berkeley 1 What is L A TEX, and why use it? L A TEX (pronounced LAH-tekh or LAY-tekh) is a language and document preparation system for typesetting. L A TEX is

More information

An Introduction to L A TEX

An Introduction to L A TEX An Introduction to L A TEX Ryan C. Trinity University Math Majors Seminar September 12, 2017 What is L A TEX? L A TEX is a typesetting system/language used for the production of technical (mathematical)

More information

Guide to L A TEX. Daniel M. Kane

Guide to L A TEX. Daniel M. Kane Guide to L A TEX Daniel M. Kane 1 Overview TEXis a typesetting program developed by Donald Knuth. L A TEXwas an extension of TEXcreated by Leslie Lamport, making a number of operations considerably easier.

More information

Assessments for CS students:

Assessments for CS students: Assessments for CS students: Two hours per week lectures, Tuesdays 2-4pm. Three in-semester assignments, with feedback de-coupled from assessment: Assignment 1 Generic paper Assignment 2 Literature review

More information

Using L A TEX. A numbered list is just that a collection of items sorted and labeled by number.

Using L A TEX. A numbered list is just that a collection of items sorted and labeled by number. Using L A TEX About these notes These notes give some starting tips on using L A TEX to typeset mathematical documents. To learn the system at all fully you ll need a proper L A TEX manual, but you can

More information

Introduction to LaTex 2ε. Based on The Not So Short Introduction to LaTeX 2ε by Tobias Oetiker et al., April 2001

Introduction to LaTex 2ε. Based on The Not So Short Introduction to LaTeX 2ε by Tobias Oetiker et al., April 2001 Introduction to LaTex 2ε Based on The Not So Short Introduction to LaTeX 2ε by Tobias Oetiker et al., April 2001 Contents Things you need to know Typesetting text Typesetting Mathematical Formulae Specialties

More information

How to L A TEX. George Wong, David Mykytyn. 6 October 2016

How to L A TEX. George Wong, David Mykytyn. 6 October 2016 How to L A TEX George Wong, David Mykytyn 6 October 2016 1 What is L A TEX? Used in textbooks, journal/conference articles, and lab reports! You provide the material and L A TEX renders according to typographical

More information

What is LaTeX. Is a document markup language and document preparation system for the TeX typesetting program

What is LaTeX. Is a document markup language and document preparation system for the TeX typesetting program What is LaTeX LaTeX ( /ˈleɪtɛk/, /ˈleɪtɛx/, /ˈlɑːtɛx/, or /ˈlɑːtɛk/) Is a document markup language and document preparation system for the TeX typesetting program Refers only to the language, not to the

More information

Typesetting Mathematics. Dr. C. F. Rocca Jr.

Typesetting Mathematics. Dr. C. F. Rocca Jr. Typesetting Mathematics Dr. C. F. Rocca Jr. September 16, 2010 2 Typesetting Mathematics General Notes On Typing Up Math: What follows is largely based on my own experience and observations. Another good

More information

Writing Mathematics in L A TEX by Example

Writing Mathematics in L A TEX by Example Writing Mathematics in L A TEX by Example Jason B. Hill University of Colorado Boulder Wednesday, October 31, 2008 Currently available in PDF, DVI and TEX formats at http://euclid.colorado.edu/ hilljb/latex/

More information

Tables, Lists and Matrices. MAT 218 Mathematical Computing. February 2, 2016

Tables, Lists and Matrices. MAT 218 Mathematical Computing. February 2, 2016 Tables, Lists and Matrices MAT 218 Mathematical Computing February 2, 2016 1 List Environments Before we get started, I want to point out two things I have in the preamble The first is that I am using

More information

Alex Milbrand. September 8, Graduate Student Seminar. Introduction to L A TEX. Alex Milbrand. History. Software. Basic Set-Up and Construction

Alex Milbrand. September 8, Graduate Student Seminar. Introduction to L A TEX. Alex Milbrand. History. Software. Basic Set-Up and Construction to L A TEX Graduate Student Seminar September 8, 2017 Table of Contents 1 2 3 4 5 6 7 8 9 TEX created by Donald E. Knuth, released in 1978 L A TEX created by Leslie Lamport, released in 1985 After version

More information

Student Learning Service: Introduction to Latex

Student Learning Service: Introduction to Latex Student Learning Service: Introduction to Latex Dr Morgiane Richard, Oana Matei and Florin Nedelea m.richard@abdn.ac.uk Student Learning Service Updated June 2018 Richard, Matei, Nedelea (U.of Aberdeen)

More information

Introduction to LaTeX. M&S Talk Series August 16 th, 2016 AH Sheikh

Introduction to LaTeX. M&S Talk Series August 16 th, 2016 AH Sheikh Introduction to LaTeX M&S Talk Series August 16 th, 2016 AH Sheikh What is LaTeX? LaTeX is pronounced lay-tech or lah-tech, not la-teks. LaTeX is a document preparation system for high-quality typesetting.

More information

INSTALLING AND USING L A TEX

INSTALLING AND USING L A TEX INSTALLING AND USING L A TEX DAVID MEREDITH Contents 1. Installing and Running L A TEX with Microsoft Windows 2 1.1. Installing the compiler MikTeX 2 1.2. Installing the editor TeXtudio 2 1.3. Running

More information

Learn how to [learn] LATEX

Learn how to [learn] LATEX Learn how to [learn] L A TEX November 19, 2010 This document is available at http://web.mit.edu/jgross/ Public/2010cluedump/Slideshow.pdf. Outline Installing L A TEX What is L A TEX? Getting Help Basic

More information

EGR 53L - Spring 2011

EGR 53L - Spring 2011 EGR 53L - Spring 2011 Appendix A LATEX Information A.1 Introduction L A TEX is a very useful tool for making your lab reports look great. This document contains information about creating L A TEX documents,

More information

Introduction to Math in LaTeX

Introduction to Math in LaTeX Robert Andersen University of Oxford and University of Western Ontario ICPSR Summer Program, July 2002 Introduction to Math in LaTeX LaTeX has three basic modes: 1. Text mode 2. Inline math mode (allows

More information

L A TEX for Psychological Researchers

L A TEX for Psychological Researchers L A TEX for Psychological Researchers Lecture 2: Basics of the L A TEX language Sacha Epskamp University of Amsterdam Department of Psychological Methods 10/04/2013 Outline Last Week The L A TEX Language

More information

1 Different Document Classes

1 Different Document Classes 1 Different Document Classes There are several different document classes that can format just about any type of document. This is the very first line of your L A TEX code. It will define what kind of

More information

L A TEX Tutorial. 1 Introduction. 2 Running L A TEX. J. E. Rice. May 2010

L A TEX Tutorial. 1 Introduction. 2 Running L A TEX. J. E. Rice. May 2010 L A TEX Tutorial J. E. Rice May 2010 Abstract The purpose of this document is to provide a simple example of how to use L A TEX. Examples of tables, figures, citations, references and math are shown, and

More information

An Introduction to L A TEX

An Introduction to L A TEX An Introduction to L A TEX John Hamer John.Hamer@glasgow.ac.uk 24 January 2018 What, how, where? L A TEX is a fine typesetting system. You write your document (paper, report, essay, thesis, poster, book,

More information

Summary of Commonly-Used Features of LaT E X

Summary of Commonly-Used Features of LaT E X Summary of Commonly-Used Features of LaT E X D. R. Wilkins November 19, 1993 Contents 1 Rules for Ordinary Text (without mathematics) 2 1.1 Special Characters... 2 1.2 Paragraphs... 2 1.3 Quotation marks...

More information

Effective Programming Practices for Economists

Effective Programming Practices for Economists Effective Programming Practices for Economists 4. A L A T E X primer Hans-Martin von Gaudecker Department of Economics, Universität Bonn The case for plain L A T E X Version control works best with simple

More information

PHYS-4007/5007: Computational Physics

PHYS-4007/5007: Computational Physics PHYS-4007/5007: Computational Physics L A TEX Tutorial Learning the L A TEX Mark-up Language Log into your Linux account, open a terminal window, and change directory to your tex subdirectory. Now open

More information

Outline. Installing LaTeX. Opening TeXShop. Intro to LaTeX. Intro to LaTeX interface Working with text Tabbing and tables Figures Math and equations

Outline. Installing LaTeX. Opening TeXShop. Intro to LaTeX. Intro to LaTeX interface Working with text Tabbing and tables Figures Math and equations Outline UCLA Department of Statistics Statistical Consulting Center interface Working with text Tabbing and tables Figures Math and equations April 23, 2009 Installation Installing LaTeX Opening TeXShop

More information

The Joys of LAT E X. Vadim Ponomarenko. introducing the world s standard typesetting language.

The Joys of LAT E X. Vadim Ponomarenko. introducing the world s standard typesetting language. The Joys of LAT E X A 60 minute lecture, with examples, introducing the world s standard typesetting language. Vadim Ponomarenko http://www.trinity.edu/vadim/latex.pdf LAT E X? LAT E X is not: Word processor

More information

My Mathematical Thesis

My Mathematical Thesis My Mathematical Thesis A. Student September 1, 2018 Abstract An abstract is a paragraph or few that gives the reader an overview of the document. Abstracts are commonly found on research articles, but

More information

Introduction to L A T E X

Introduction to L A T E X L A T E X R. M. Department of Mathematics University of Kentucky 6 October 2008 / L A T E X Outline T E X T E X was begun by Donald Knuth in 1977 because he did not like the appearance of his book The

More information

L A TEX: Online module 2

L A TEX: Online module 2 L A TEX: Online module 2 Venkata Manem Univ. of Waterloo July 22, 2011 Venkata Manem (Univ. of Waterloo) LATEX: Online module 2 July 22, 2011 1 / 28 Topics to be covered Typeface Font size Special characters

More information

Not-So-Frequently Asked Questions for L A TEX

Not-So-Frequently Asked Questions for L A TEX Not-So-Frequently Asked Questions for L A TEX Miles 2010 This document addresses more esoteric issues in L A TEX that have nonetheless actually arisen with the author. We hope that somebody will find it

More information

LaTeX Style Guide for the Journal of Integer Sequences

LaTeX Style Guide for the Journal of Integer Sequences LaTeX Style Guide for the Journal of Integer Sequences Version 1.57 Authors of papers in the Journal of Integer Sequences should write their papers in English. If English is not your native language, please

More information

A Running Introduction to L A TEX. Dr. Ken Rietz

A Running Introduction to L A TEX. Dr. Ken Rietz A Running Introduction to L A TEX Dr. Ken Rietz 2 Chapter 1 Getting Started This is a brief introduction to L A TEX for technical mathematics. This is a running introduction because this is the first chapter

More information

Began as TeX, in 1982 (Knuth). Purely a typesetting tool. LaTeX added macros, maintaining TeX as it s typesetting engine (Lamport).

Began as TeX, in 1982 (Knuth). Purely a typesetting tool. LaTeX added macros, maintaining TeX as it s typesetting engine (Lamport). LaTeX Began as TeX, in 1982 (Knuth). Purely a typesetting tool. LaTeX added macros, maintaining TeX as it s typesetting engine (Lamport). Now maintained by Frank Mittlebach. For an interesting interview,

More information

Communicating Mathematics

Communicating Mathematics Communicating Mathematics TEX and L A TEX an Overview A. J. Meir Department of Mathematics and Statistics Auburn University US-Africa Advanced Study Institute on Analysis, Dynamical Systems, and Mathematical

More information

L A T E X Tutorial. Wanmin Liu August. Department of Mathematics The Hong Kong University of Science and Technology

L A T E X Tutorial. Wanmin Liu August. Department of Mathematics The Hong Kong University of Science and Technology L A T E X Tutorial Wanmin Liu Department of Mathematics The Hong Kong University of Science and Technology 2012 August Outline 1 Introduction 2 Basic example 3 Document structure 4 Fonts 5 Basic commands

More information

Lecture 1. MA2730: Analysis I. Lecture slides for MA2730 Analysis I. Study and Assessment Components. MA L A TEX: topics for Lecture 1

Lecture 1. MA2730: Analysis I. Lecture slides for MA2730 Analysis I. Study and Assessment Components. MA L A TEX: topics for Lecture 1 Contents of the teaching and assessment blocks MA2730: Analysis I Lecture slides for MA2730 Analysis I Simon people.brunel.ac.uk/~icsrsss simon.shaw@brunel.ac.uk College of Engineering, Design and Physical

More information

1 Obtaining LyX and L A TEX

1 Obtaining LyX and L A TEX A Guide to LyX and L A TEX Based off A Quick Guide to LyX by Jessica Moses 08 October 2011 Many economists (and academics in mathematics-heavy disciplines) use a program called L A TEX to create documents.

More information

CIS 160 L A TEX Guide

CIS 160 L A TEX Guide CIS 160 L A TEX Guide The CIS 160 Staff Contents 1 Introduction 2 2 L A TEX Basics 2 3 Environments 2 3.1 Inline Math Mode.......................................... 3 3.2 Display Math Mode.........................................

More information

Math 291: Lecture 5. Dr. Fagerstrom. Minnesota State University Moorhead web.mnstate.edu/fagerstrom

Math 291: Lecture 5. Dr. Fagerstrom. Minnesota State University Moorhead web.mnstate.edu/fagerstrom Math 291: Lecture 5 Dr. Fagerstrom Minnesota State University Moorhead web.mnstate.edu/fagerstrom fagerstrom@mnstate.edu February 15, 2018 Dr. Fagerstrom (MSUM) Math 291: Lecture 5 February 15, 2018 1

More information

INTRODUCTION TO L A TEX

INTRODUCTION TO L A TEX INTRODUCTION TO L A TEX JEREMY WEST 1. Introduction L A TEXis a markup language for a typesetting system. A markup language is a collection of commands, often called macros, which describe the formatting

More information

The dropbox has two buttons: add and send. You must send the file to turn it in to the instructor.

The dropbox has two buttons: add and send. You must send the file to turn it in to the instructor. MAD 2104 Residential - DropBox Policies Students may turn in assignments on paper or electronically via the BlackBoard dropbox. The following are the policies regarding the use of the dropbox: Turning

More information

L A TEX Primer. Randall R. Holmes. August 17, 2018

L A TEX Primer. Randall R. Holmes. August 17, 2018 L A TEX Primer Randall R. Holmes August 17, 2018 Note: For this to make sense it needs to be read with the code and the compiled output side by side. And in order for the compiling to be successful, the

More information

(Yet Another) Introduction to L A TEX 2ε (V3)

(Yet Another) Introduction to L A TEX 2ε (V3) (Yet Another) Introduction to L A TEX 2ε (V3) Matteo Carrara August 30th, 2013 (Yet Another) Introduction to LATEX2ε (V3) 1 / 29 What is L A TEX 2ε? Typesetting system that is very suitable for producing

More information

Simple Math. Adam Dishaw 2011 September 21. Suppose you want to include some math in your documents. Just follow these basics steps:

Simple Math. Adam Dishaw 2011 September 21. Suppose you want to include some math in your documents. Just follow these basics steps: Simple Math Adam Dishaw 2011 September 21 Suppose you want to include some math in your documents. Just follow these basics steps: 1. Create a new TEX document with the basic requirements (the documentclass

More information

Here are some suggestions for writing this assignment and future assignments:

Here are some suggestions for writing this assignment and future assignments: MAD 3105 - Distance Learning Introductory Assignment This assignment is to help you learn to write some of the symbols and draw some graphs, save the material as a pdf file, and submit them electronically

More information

George Grätzer. Practical L A TEX

George Grätzer. Practical L A TEX George Grätzer Practical L A TEX George Grätzer Practical L A TEX 123 George Grätzer Toronto, ON, Canada Additional material to this book can be downloaded from http://extras.springer.com ISBN 978-3-319-06424-6

More information