Paul Gartside. March 2, 2013

Similar documents
CSE 150: Notation Examples

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

Using L A TEX Tom Edgar

LAT E X Math Mode. RSI 2007 Staff

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

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

Latex Tutorial 1 L A TEX. 1.1 Text

Just Enough L A TEX, Week 4

Introduction II. Sets. Terminology III. Definition. Definition. Definition. Example

An introduction to L A TEX for students

Introduction to MCS 220 and L A TEX

Preparation of ADSA and IJDE Manuscripts

L A TEX and Basic Text Editing

An Introduction to LATEX

Become a L A TEX Guru

An Introduction to L A TEX

L A TEX: Online module 9

Introduction to Math in LaTeX

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

A Short Introduction to L A TEX

A Brief Introduction to L A TEX

Introduction to L A TEX

LaTeX Style Guide for the Journal of Integer Sequences

A Brief Introduction to LaTeX

Assessments for CS students:

Learning LaTeX: The Basics

Learn how to [learn] LATEX

Template and Tutorial for Math Modelers

An Interactive Introduction to L A TEX

Paul Gartside. March 2, 2013

Introduction to L A TEX

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


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

LaTeX Seminar III: Environments and More Advanced Mathematical Typesetting

Lecture slides for MA2730 Analysis I

1 Different Document Classes

INTRODUCTION TO L A TEX

Introduction to L A TEX

L A TEX: Making Math Accessible for the Blind or Visually Impaired

Typing Mathematics. Darrin Doud

INSTALLING AND USING L A TEX

Introduction to L A TEX for MCS-236

Introduction to L A TEX

In class 75min: 2:55-4:10 Thu 9/30.

Guidelines for ETNA manuscripts 1

L A TEX Class Holiday Inn Fisherman s Wharf San Francisco, CA July Cheryl Ponchin Sue DeMerritt

Math typesetting guide

David Helmbold, October 2005, Revised October 2007

LaTeX A Tutorial. Mohsen Alimomeni, 2010

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

My Full-Length Title

TUTORIAL 10: ARRAYS AND MATRICES. 1. Welcome. Hello. My name is Dr. Christopher Raridan (Dr. R). I want to welcome you to the L A TEX Tutorial Series.

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

Lecture 1: Short summary of LaTeX basics

Johns Hopkins Math Tournament Proof Round: Point Set Topology

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

1 Elementary number theory

Epyt Theme for Beamer

My LaTeX Document. July 7, Introduction 2

This is page i Printer: Opaque this. The Title of a Book. Dr. Author Jones. The Date

Review of Sets. Review. Philippe B. Laval. Current Semester. Kennesaw State University. Philippe B. Laval (KSU) Sets Current Semester 1 / 16

My Mathematical Thesis

Why is there money? Received Date; Received in Revised Form Date; Accepted Date

This is page i Printer: Opaque this. The Title of a Book. Dr. Author Jones. The Date

Kristoffer H. Rose. Version /01/07

TOPOLOGY, DR. BLOCK, FALL 2015, NOTES, PART 3.

Guide to L A TEX. Daniel M. Kane

Math Introduction to Advanced Mathematics

VERY VERY SHORT GUIDE TO LATEX

Workshop: A Simple Introduction to L A TEX

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

Getting started with Latex

Computable Euclidean Domains

Introduction to LaTeX. Paul Fodor Stony Brook University

SAT-CNF Is N P-complete

Open and Closed Sets

Title of Your Thesis: Subtitle of Your Thesis

Writing Guidelines for

L A TEX minicourse. dstowell, mag, sar, scannell,... September Typeset by FoilTEX

1.1 - Introduction to Sets

Pimp your thesis: a minimal introduction to L A T E X.

Introduction to LATEX

CLV Manual. How to Use CLV L A TEX Style. Odié N. Gementera SPI Publisher Services

The Title of a Book. Dr. Author Jones. The Date

Using SIAM s Book Class

Introduction to L A T E X

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

This is a free open-source textbook available from the website:

Electronic Production Guidelines

Final Test in MAT 410: Introduction to Topology Answers to the Test Questions

2 Review of Set Theory

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

ISO 31 conforming typesetting in L A TEX

Getting Started with L A TEX

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

Sets MAT231. Fall Transition to Higher Mathematics. MAT231 (Transition to Higher Math) Sets Fall / 31

A Demonstration of the L A TEX 2ε Class File for the Oxford University Press Ltd Journal. First Author 1 and Second Author 2.

I-CONTINUITY IN TOPOLOGICAL SPACES. Martin Sleziak

LaTeX, automata,computability, and notation. CS154 Chris Pollett Jan. 25, 2006.

Transcription:

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 what you already know). I will demonstrate how to accomplish certain tasks with L A TEX on my computer (which is shown on the screen). You will then do the corresponding exercises below. 2 Hello World Task 1 Create a latex file called basic.tex whose output is just: Hello World. Task 2 Add more text to your latex file. Play with spaces and creating new paragraphs. 2.1 Structuring Your Document Task 3 Add sections, subsections and paragraphs to your latex file. Experiment. Try with and without numbering. Task 4 Add a title to your document. The title should be First Steps, the author you! and date your favorite date. Change the date to today s date. 1

3 Typesetting Math Create a new section at the end of your file. We will now work on putting math into your document. 3.1 Basic Expressions, Analysis Create a new subsection called Basic Expressions, Analysis. Typeset the following mathematics either in inline or displayed style, as requested. Task 5: Basic Equalities Inline: Take y = 3x + 2. Add spaces between the variables and other symbols. What happens? (Or does not happen!) Task 6: Greek α, ɛ, Ψ, Ω. Task 7: Powers and {...} to Group Inline: x 2 + 1 = 0. e πi + 1 = 0. Task 8: Subscripts Inline: The sequence (x n ) n, where x n = 1/n, is convergent. Task 9: Standard Functions Inline: sin 2 (x) + cos 2 (x) = 1. Display (use \pm for ±): ( b ± b 2 4ac)/(2a). Task 10: Fractions Inline: 1/2 = 1. 2 b ± b 2 4ac. 2a Task 11: Limits and Integrals Inline: e x dx = e x + C. x lim e t2 dt = π. x x 2

Task 12: Sums and Dots e x x n = n! = 1 + x + x2 2 +. n=0 Check the difference between \cdots and \ldots. 3.2 Logic and Set Theory Create a new subsection called Logic and Set Theory. Typeset the following mathematics either in inline or displayed style, as requested. Task 13: Logical Quantifiers Display (using \forall and \exists): x y : x + y = 0. Task 14: Set Operations \subseteq and \subset): Display (using \in, \cup, \cap, \setminus, x A (B C) \ D E F. Task 15: Caligraphic and Blackboard Bold Letters, and Set Builders Inline (using \mathcal{t}, \mathbb{r}, \{, \} and \emptyset): Define the cofinite topology by T = {U R : R \ U is finite} { }. You will probably get an error Undefined control sequence. or your reals, \mathbb{r} wont look as you expect: R. In the preamble of your latex file, on a line just after \documentclass{article} insert \usepackage{amssymb} now it should work. Task 16: Large Unions and Intersections Using \bigcup and \bigcap display: U λ = C {T x : x X}. 3.3 Matrices λ Λ Create a new subsection called Matrices. Typeset the following mathematics either in inline or displayed style, as requested. Typesetting matrices takes a little work. We do some simple cases. 3

Task 17: A Matrix To get: The characteristic polynomial χ(λ) of the 3 3 matrix a b c d e f g h i you would write: The characteristic polynomial $\chi(\lambda)$ of the $3 \times 3$ matrix \[ \left( \begin{array}{ccc} a & b & c \\ d & e & f \\ g & h & i \end{array} \right) \] Note the \begin{array}{ccc} this says you want a matrix with 3 columns whose contents should be centered. This matrix needs to be ended with \end{array}. Each row is entered with the contents of the columns separated by a &. Each row except the last is ended with a \\. Also note the \left(... \right) this gives the large left and right brackets around the matrix. Now typeset, using \left and \right for the sides of the determinant: is given by the formula χ(λ) = λ a b c d λ e f g h λ i. 4

3.4 Adding Extra Functionality: Packages To add capabilities to L A TEX that are not built in, we can load up packages. There is a huge range of packages available (see http://www.ctan.org/). There are packages for writing in Burmese, creating barcodes, decorating text with background s, a dozen packages helping with creating bibliographies, packages dealing with boxes and packages for people working in biology, biomedical and bus-study (business studies). And this is just some of the packages starting with b! We now want to add a package called amsthm that will help us nicely typeset theorems and proofs. As with all packages proceed as follows... In the preamble of your latex file, on a line just after \documentclass{article}, but before \begin{document}, insert \usepackage{amsthm} \verb 3.5 Theorems and Proofs Create a new subsection called Theorems and Proofs. We will learn how to typeset theorems (and lemmas etc) and proofs. First we need to initialize the amssymb package that we just added. In the preamble, after \usepackage{amsthm} (but before \begin{document}), add a line for theorem environments: \newtheorem{theorem}{theorem} And a line for corollaries: \newtheorem{corollary}[theorem]{corollary} Following the pattern for corollary you could also add lemmas, definitions, examples etc. Go back to the new subsection Theorems and Proofs. To typeset: Theorem 1. For every n 3, there are no integers x, y, z such that x n +y n = z n. Proof. Exercise for the reader. enter: \begin{theorem} For every $n \ge 3$, there are no integers $x,y,z$ such that $x^n+y^n=z^n$. \end{theorem} \begin{proof} Exercise for the reader. \end{proof} 5

This should be pretty self explanatory. To check you understand typeset: Theorem 2. The only zeros of the Euler zeta function, ζ(z), are the trivial ones. Proof. Patent pending. Corollary 3. Everything about prime numbers. 4 Conclusion (of Part 1) You now know enough to typeset most mathematics you will need. See the Not So Short Introduction to L A TEX for much more information: http://www.math.washington.edu/tex-archive/info/lshort/english/ lshort-letter.pdf All you need to do now is to prove some new theorems :-) 6