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

Similar documents
Math 291: Lecture 2. Justin A James. Minnesota State University Moorhead web.mnstate.edu/jamesju/

Latex Tutorial. CIS400 Senior Design 9/5/2013

An Introduction to LATEX

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

L A TEX for Psychological Researchers

Researcher Development Unit: Introduction to Latex

Math 291: Lecture 2. Presented by Prof. James for Prof. Fagerstrom

L A T E X FOSSEE. Department of Aerospace Engineering IIT Bombay. FOSSEE (IIT Bombay) LAT E X 1 / 58

LAT E X Math Mode. RSI 2007 Staff

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

Student Learning Service: Introduction to Latex

Become a L A TEX Guru

Introduction to L A TEX

Name: Dr. Fritz Wilhelm Lab 1, Presentation of lab reports Page # 1 of 7 5/17/2012 Physics 120 Section: ####

A Short Introduction to L A TEX

LaTeX Seminar III: Environments and More Advanced Mathematical Typesetting

Introduction to L A TEX

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

CS 189 L A TEX and Linux: Document Layout and Organization

L A TEX for Psychological Researchers

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

A brief introduction to L A TEX

An Introduction to. Andrew G. West, Jian Chang CIS400 Senior Design Tutorial September 15, 2009

Environments, Equations, and Tables

Introduction to L A TEX

Introduction to Math in LaTeX

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

Tools Course: Part 2

Introduction to L A TEX

LATEX TYPESETTING SYSTEM. CAAM 519, CHAPTER 3

Introduction to LaTeX. Paul Fodor Stony Brook University

Introduction to MCS 220 and L A TEX

How to get started in L A TEX

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

Learn how to [learn] LATEX

L A TEX and Basic Text Editing

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

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

Using L A TEX Tom Edgar

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

Lab1: Use of Word and Excel

An Interactive Introduction to L A TEX

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

An Interactive Introduction to L A TEX. Part 1: The Basics. John Lees-Miller. writel 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.

Learning LaTeX: The Basics

Mikkel Madsen

Outline. A Sneak Peek

What is T E X? T E X and L A T E X Document preparation tools. Setting and casting type. What Knuth was setting. Setting and casting type

Using LaTex and BibTex to Write Academic Documents. Ligang He Department of Computer Science University of Warwick

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

The Absolute Value Symbol

Workshop on LATEX 2ε. Asst. Prof. Dr. Kemal Bagzibagli Department of Economics. 20 May 2015

Learning L A TEX. Patrick Lam

L A TEX - First Class

An Introduction to L A TEX

Put the Graphs for Each Health Plan on the Same Graph

SKILL: Fraction arithmetic and reducing fractions back to top

Introduzione a LaTex. Fabrizio Messina

1 Different Document Classes

LATEX. Leslie Lamport. Digital Equipment Corporation. Illustrations by Duane Bibby. v ADDISON-WESLEY

Using the Equation Palette

Creating Tables and Figures with L A T E X

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

Guide to using L A TEX

Introduction to LATEX

Katlenburg-Lindau, Germany. Patrick W. Daly 2011/01/27. Abstract

Introduction to L A TEX

The basics of LaTeX. Cédric Buron. April 25, 2016

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

L A TEXcourse. Carmen Alonso Montes. 30th May-2nd June, 2016

My Mathematical Thesis

Getting Started with L A TEX

Martin Scharrer Version v1.2a 2018/03/30. Abstract

e-issn: INTERNATIONAL JOURNAL OF INFORMATIVE & FUTURISTIC RESEARCH Paper Writing Instructions

Getting Started Guide Chapter 9 Getting Started with Math

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

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

Formatting with LaTeX

COMP496/901: Academic Presentation and Writing Skills Using LaTeX

Introduction to Scientific Typesetting Lesson 7: Graphics and Floats

Written & Oral Presentation: Computer Tools

INSTRUCTIONS FOR PRODUCING A CAMERA-READY MANUSCRIPT USING WORLD SCIENTIFIC PUBLISHING STYLE FILES

Assessments for CS students:

Instructions for Typesetting Manuscript using L A TEX *

Introduction to L A T E X

L A TEX incollaboration

Introduction to L A TEX for MCS-236

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

Homework # You ll want to use some LaTeX editor to edit and compile your.tex files

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

A Short L A TEX Introduction

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

Math 235: Introduction to LaTeX

Running head: WORD 2007 AND FORMATING APA PAPERS 1. A Brief Guide to using Word 2007 to Format Papers in the Publication Style of the American

Typesetting in wxmaxima

An Interactive Introduction to L A TEX. Part 2: Structured Documents & More. Dr John D. Lees-Miller. writel A TEX.

Introduction to L A T E X

Introduction to L A TEX Part II

عمادة البحث العلمي جامعة الملك سعود

Transcription:

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{ insert_class_here } article, IEEEtran, report, letter Specify some formatting in your document: \documentclass[ options ]{ class } 10pt, 11pt, 12pt, letterpaper, a4paper, legalpaper, landscape titlepage (new page after title), notitlepage onecolumn, twocolumn draft \documentclass[12pt, letterpaper, twocolumn]{article} 2

Preamble Any extra commands that specify how the document should be displayed Packages combine many useful commands Importing pictures, display complex math symbols, document layout To use a particular package, invoke \usepackage{ package_name } \usepackage{graphics} 3

Formatting Mathematics The basic LATEX math environment Inline embed mathematics into paragraph text \begin{math} \end{math} Abbreviated in LATEX as \( \) Abbreviated in TEX as $ $ In math mode, spaces separate variables \( a^2 + b^2 = c^2 \) Each adjacent set of characters is treated as a variable See References for extensive list of supported symbols 4

Formatting Mathematics Continued Exponents and subscripts are designated by ^exponent and _subscript, respectively To insert an expression, use ^{ } or _{ } Trig functions are \sin, \cos, \tan, \arcsin Greek letters are given by \letter_name i.e. \alpha, \beta, \gamma, \delta, Capitals are \Alpha, \Beta, \Gamma, \Delta, Prime notation uses single quote ( ) 5

Formatting Mathematics Continued Fractions are designated by \frac{numerator}{denominator} Roots are specified by \sqrt[n]{ argument } n defaults to a blank, making a square root Integrals are specified by \int Definite integrals take a subscript and superscript Examples: f (x), F = G \frac{ m_1 m_2 }{ r^2 }, \int_{0}^{\pi}\frac{84}{\pi}\cos^2(x) dx 6

Importing Pictures LATEX requires an external helper package to display pictures (i.e. \usepackage{graphics} ) The standard package accepts only postscript-type pictures *.eps *.ps *.ps.gz GIMP can save pictures in postscript format. To embed a picture, invoke \includegraphics{ filename.eps } 7

Importing Pictures Continued Pictures are external elements LATEX makes space in the document and pastes the picture in after aligning the text Postscript pictures have printing dimensions in the file, which is how LATEX can make sufficient space The pictures are not cropped, so they can sometimes go beyond the page or overlap text if in two column format To crop the picture to specific dimensions, use \includegraphics*[llx, lly][urx, ury]{ filename.eps } 8

Importing Pictures Continued For cropped pictures, [llx, lly] refers to the coordinates of the lower-left corner of the picture (default [0,0]) Upper-right coordinates are [urx, ury] Use units with the coordinates (pt, in, cm) 72.27 pt = 1 in, 28.35 pt = 1 cm Get in the habit of including both coordinates, even if the first is [0,0] Crop unnecessary white space around pictures using the coordinates (or add some) 9

Tables & Matrices Tables and Matrices use similar syntax to delineate between elements Main difference: tables require the number of columns and alignment to be specified; matrices are implicitly specified Tables start with \begin{tabular}{ column_specification } Each column is aligned left, center, right, or specified as a paragraph Respectively, these alignments are: l, c, r, p Columns may be separated by vertical lines ( or ) 10

Tables & Matrices Continued Elements are separated by & ; rows are ended with \\ To make a row span multiple columns, use \multicolumn{ number_of_columns }{ alignment }{ element } Draw horizontal lines using \hline Example table: \begin{tabular}{ l c r } \hline \\ \multicolumn{3}{ c }{Example Title} \\ \hline \\ a & b & c \hline \end{tabular} 11

Tables & Matrices Continued Matrices use the dimension of their first row to specify the number of columns \begin{matrix} 1 & 2 & 3 \\ 4 & 5 & 6 \\ \end{matrix} Parenthesis or brackets may be specified by \left( \right) or \left[ \right] 12

Tables & Matrices Continued Matrices come with some special types which display the delimiters automatically pmatrix ( ) bmatrix [ ] Bmatrix { } vmatrix Vmatrix By default, all columns are centered 13

References Wikibooks: en.wikibooks.org/wiki/latex Frequently used symbols: amath.colorado.edu/documentation/latex/symbols.pdf Comprehensive symbol list: www.ctan.org/tex-archive/info/symbols/comprehensive 14