Introduction to L A TEX

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

L A TEX for Psychological Researchers

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

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

INTRODUCTION TO L A TEX

Introduction to L A TEX

Become a L A TEX Guru

Assessments for CS students:

Learning L A TEX. Patrick Lam

INTRODUCTION TO L A TEX WHAT IS L A TEX?

A Brief Introduction to L A TEX

Using L A TEX Tom Edgar

LaTeX A Tutorial. Mohsen Alimomeni, 2010

WHAT IS L A TEX? LaTeX (pronounced lay-tek or lah-tek ) is a language created for the purpose of typesetting text and mathematical formulas.

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

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

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

David Helmbold, October 2005, Revised October 2007

Introduction to LATEX

A Short Introduction to L A TEX

A Grasshopper s Approach to L A TEX

An Interactive Introduction to L A TEX

An introduction to L A TEX for students

L A TEX and Basic Text Editing

Lecture 1: Short summary of LaTeX basics

An Introduction to L A TEX

Guide to using L A TEX

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

Introduction to L A TEX

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.

Lecture 3-Introduction to Latex (II)

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

Dec. 27 th, 2010 University of Isfahan

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

Appendix B: Latex survival guide

An Introduction to LATEX

The Name of the Game. An Introduction to LATEX. Why L A TEX? The Name of the Game

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

Latex Tutorial. CIS400 Senior Design 9/5/2013

A quick guide to L A TEX

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

L A TEX Overview. Jiayi Liu. January 31, Colorado School of Mines

L A TEX for Psychological Researchers

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

L A T E X Workshop. Bijulal D & Anu Thomas Industrial Engineering and Operations Research Indian Institute of Technology

How to get started in L A TEX

An Introduction to LATEX

An Introduction to. Rado Ivanov CIS400 Senior Design Tutorial September 18, 2014

Learn how to [learn] LATEX

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

Effective Programming Practices for Economists

Getting Started with L A TEX

Math 235: Introduction to LaTeX

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

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

LAT E X week 2: Basics for Writing a Document

2. Unlock the Customization Features: The Edit Button Click the "Edit" button on the Dashboard Home Page to unlock the customization features.

Introduction to L A TEX beamer

Formatting with LaTeX

GROUP ASSIGNMENT. L A TEX Assignment 1/3

Paul Gartside. March 2, 2013

LAT E X Math Mode. RSI 2007 Staff

My Mathematical Thesis

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

L A TEXday, morning session Discovering L A TEX

Workshop: A Simple Introduction to L A TEX

Workshop P. Stallinga 16-X-2012

Introduction to L A T E X

Typesetting in wxmaxima

Introduzione a LaTex. Fabrizio Messina

COMS 6100 Class note

MATLAB for the Sciences

Basics. Options. Commands

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

EGR 53L - Spring 2011

Introduction to MCS 220 and L A TEX

Introduction to L A T E X

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

Introduction to LaTeX. Paul Fodor Stony Brook University

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

Helen Cameron. A Brief Overview of LATEX

LaTeX Seminar III: Environments and More Advanced Mathematical Typesetting

Course A, Part 1 Basic Formatting in L A TEX

1 Obtaining LyX and L A TEX

An Introduction to L A TEX

PRISM Introduction to L A TEX

Introduction to LATEX

Getting started with Latex

Introduction to L A TEX

LaTeX Workshop. While you re waiting, please make an account at

Kristoffer H. Rose. Version /01/07

Introduction to L A TEX

Intro to LaTeX Workshop

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

LearningLatex. % This file walks you through some basic things with LaTex % Thanks to Patrick Lam and Maya Sen for letting me borrow their materials

Helen Cameron. A Brief Overview of LATEX

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

Mikkel Madsen

NCSU Linguistics Eric Wilbanks & Jeff Mielke. November 21, An open-source typesetting language used for document mark-up

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

Transcription:

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 software; not a word processor What kinds of documents can be produced? Articles, reports, memos, letters, theses, books,... What are its key features? Flexibility; mathematical typesetting; community support What are the primary benefits? Extremely stable; quality of output Where do I get the software? Commercial vs. free How do I learn to use it? Reference manuals/books, online sources,...

TEX and L A TEX Origins in late 1970 s Markup language Free; popular in academia Initially intended primarily for typesetting technical books with mathematics; many other uses Documents created in 1980 look exactly the same when processed in 2007 It doesn t matter what computer is used Documents begin life as plain text; multiple output formats

Kinds of Documents Course materials: slides, syllabi, exams, etc. Books, articles, reports Memos, letters, letters with custom letterheads PDF documents with internal/external hyperlinks Brochures, booklets, and pamphlets

Primary Benefits Staged learning Allows primary focus on logical content, not visual format Beautiful output possible with minimal knowledge Reliability Portability: mainframe, Mac, Windows, Unix, Linux

Learning about L A TEX Kopka and Daly, Guide to L A TEX, 4th Edition, Addison-Wesley, 2003. Lamport, L A TEX: A Document Preparation System, Addison-Wesley, 1994. Oetiker, Partl, et. al, The Not So Short Introduction to L A TEX2e, 2006. www.ctan.org/tex-archive/info/lshort/ english/lshort.pdf www.tug.org/begin.html

L A TEX document structure \documentclass[options]{class} preamble \begin{document} body of document \end{document}

A sample document with page margins \documentclass[11pt]{article} \usepackage[left=1in, right=1in, top=0.75in, bottom=0.5in]{geometry} \begin{document} Hello, world! \end{document} Try it now.

Special characters These characters have special meaning: # $ & % { } A \ prefix avoids this special meaning: \# \$ \& \ \% \{ \}

L A TEX command syntax \command[optional]{required} or \command[optional]{required}{required} Examples: \section{introduction} \hspace{2in} \rule[0.5in]{1in}{2in}

L A TEX environments \begin{environment-name}... \end{environment-name} Examples of L A TEX environments include: quote enumerate itemize tabular

The itemize environment L A TEX code \begin{itemize} \item Planes \item Trains \item Automobiles \end{itemize} Planes Trains Automobiles Try it now.

The enumerate environment L A TEX code \begin{enumerate} \item Planes \item Trains \item Automobiles \end{enumerate} 1. Planes 2. Trains 3. Automobiles Try it now.

Adjusting font attributes L A TEX code...normal, \emph{emphasized}, \textbf{bold}, \texttt{typewriter}, normal...... normal, emphasized, bold, typewriter, normal...

Formatting tables L A TEX code \begin{tabular}{l c r} President & Party & Term \\ \hline \hline Jimmy Carter & Democrat & 1977--1981 \\ \hline Abraham Lincoln & Republican & 1861--1865 \\ \hline \end{tabular} President Party Term Jimmy Carter Democrat 1977 1981 Abraham Lincoln Republican 1861 1865

Typesetting mathematics In-line mathematics: mixed with text... $ mathematics text $... From algebra, we know (a + b) 2 = a 2 + 2ab + b 2 for any two real numbers a and b. Displayed mathematics: set off from text... $$ mathematics text $$... From algebra, we know (a + b) 2 = a 2 + 2ab + b 2 for any two real numbers a and b.

Subscripts and superscripts L A TEX code $x^2 + y^2$ $\sqrt{(x_2 - x_1)^2 + (y_2 - y_1)^2}$ $\int_0^\pi x^2 dx$ $\displaystyle \int_0^\pi x^2 dx$ x 2 + y 2 (x2 x 1 ) 2 + (y 2 y 1 ) 2 π 0 x2 dx π 0 x 2 dx

More about subscripts and superscripts L A TEX code $2^{a + b}$ $A_{i + 1,j}$ $2^{2^{2^{n}}}$ $A_{i, j}^{k}$ 2 a+b A i+1,j 2 22n A k i,j Try one of these now.

Aligning multi-line equations L A TEX code \begin{eqnarray*} (a+b)(a-b) & = & a^2 - ab + ab - b^2\\ & = & a^2 - b^2 \end{eqnarray*} (a + b)(a b) = a 2 ab + ab b 2 = a 2 b 2

Typesetting matrices with arrays L A TEX code $$ \left [ \begin{array}{ccc} 18 & 3 & 5 \\ 1 & 2 & 3 \\ 0 & 3 & 6 \end{array} \right ] $$ 18 3 5 1 2 3 0 3 6

The need for named functions L A TEX code $sin x + ln x$ sinx + lnx Without a hint, L A TEX treats such expressions as a product.

A few functions \cos \log \lim \ln \log \sin \tan L A TEX code $\sin^2 x + \cos^2 x = 1$ sin 2 x + cos 2 x = 1

Fractions \frac{numerator}{denominator} L A TEX code $$\frac{a^2 - b^2}{a + b} = a - b$$ a 2 b 2 a + b = a b

A few relations \neq \leq \approx \subset \in \not\in

Sampling the Greek alphabet L A TEX code \alpha \beta \gamma \delta \epsilon α β γ δ ɛ L A TEX code \Gamma \Delta \Theta \Sigma \Omega Γ Θ Σ Π Ω

Exercises Typeset the sample page.