A Brief Introduction to LaTeX

Similar documents
Using L A TEX Tom Edgar

LaTeX A Tutorial. Mohsen Alimomeni, 2010

1 Different Document Classes

Introduction to L A TEX beamer

Using Beamer for Presentations

Become a L A TEX Guru

COMS 6100 Class note

An Introduction to LATEX

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

An introduction to L A TEX for students

Guide to using L A TEX

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

Math 235: Introduction to LaTeX

Introduction Beamer Personalization Beamer by Examples Discussion. Beamer by Examples. Powerful Language for Typesetting and Presentation

An Introduction to L A TEX

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

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

A Brief Introduction to L A TEX

L A TEX for Psychological Researchers

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

Helen Cameron. A Brief Overview of LATEX

CSE 150: Notation Examples

Intro to LaTeX Workshop

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

Introduction to LaTeX. Paul Fodor Stony Brook University

Beamer By Example. Willie Dewit 1 Jessie May 2 David Griffiths 3. Conference on Tasteful Presentations, Subtitle: Frankfurt Theme

An Introduction to L A TEX

How does L A TEX work?

My Full-Length Title

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

Learning LaTeX: The Basics

Research Method and Report Writing Lecture 4: An Introduction to L A TEX

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

Paul Gartside. March 2, 2013

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

Beamer By Example. Subtitle: Frankfurt Theme. Willie Dewit 1 Jessie May 2 David Griffiths 3. Conference on Tasteful Presentations, 2009

Introduction to Beamer and TikZ

LATEX and Beamer. L A TEX and Beamer. Software Freedom Day, Indian Statistical Institute, Kolkata. September 16, 2011.

LaTeX. Information Literacy II EN(IL2) Course

Introduction to L A TEX

An Interactive Introduction to L A TEX

Introduction to L A TEX

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

L A TEXInstallation and Introduction

Introduction to MCS 220 and L A TEX

This is the LYX Beamer Template

Basics. Options. Commands

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

Introduction to L A TEX for MCS-236

Assessments for CS students:

Introduction to Beamer

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

Introduction to L A TEX

LaTeX. Information Literacy II EN(IL2) Course

Dec. 27 th, 2010 University of Isfahan

An Interactive Introduction to L A TEX. Part 3: Not Just Papers: Presentations & More. John Lees-Miller. writel A TEX

Lecture 1: Short summary of LaTeX basics

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

Literate programming with R and L A TEX

L A TEX and Basic Text Editing

An Introduction to L A T E X

Introduction to L A TEX

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

Latex Tutorial 1 L A TEX. 1.1 Text

Introduction to LATEX

Epyt Theme for Beamer

LaTeX Seminar III: Environments and More Advanced Mathematical Typesetting

Getting started with Latex

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

Effective Programming Practices for Economists

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

Learn how to [learn] LATEX

Open Source for Academics: An Introduction to LaTeX and R

INSTALLING AND USING L A TEX

A Brief Introduction to L A T E X

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

L A TEX: Online module 9

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

TUTORIAL 5: LIST ENVIRONMENTS. 1. Welcome. (1) Hello. My name is Dr. Christopher Raridan (Dr. R).

Introduction to LATEX

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

LAT E X week 2: Basics for Writing a Document

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

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

Useful L A TEX Commands

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

Introduction to L A T E X Part III

Introduction to L A TEX

Introduction to L A TEX

L A TEX for Psychological Researchers

Typing Mathematics. Darrin Doud

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

Using L A T E X for scientific writing

Student Learning Service: Introduction to Latex

Introduction to Math in LaTeX

Getting Funky: Headers, Tables, Abstracts etc.

L A TEX. COMPSCI 111 / 111G Mastering Cyberspace: An introduction to practical computing. LaTeX. Development. Why?

Learning L A TEX. Patrick Lam

Researcher Development Unit: Introduction to Latex

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.

Transcription:

A Brief Introduction to LaTeX Paul Gustafson (shamelessly stolen from Robert Williams) Texas A&M University June 2, 2017 Paul Gustafson (shamelessly stolen from Robert Williams) A Brief (Texas Introduction A&M University) to LaTeX June 2, 2017 1 / 12

What is L A TEX? LaTeX (pronounced lay-tech or la-tech ) is type-setting software designed to satisfy technical and scientific needs. Why use it? aul Gustafson (shamelessly stolen from Robert Williams) A Brief (Texas Introduction A&M University) to LaTeX June 2, 2017 2 / 12

What is L A TEX? LaTeX (pronounced lay-tech or la-tech ) is type-setting software designed to satisfy technical and scientific needs. Why use it? Your math looks nice aul Gustafson (shamelessly stolen from Robert Williams) A Brief (Texas Introduction A&M University) to LaTeX June 2, 2017 2 / 12

What is L A TEX? LaTeX (pronounced lay-tech or la-tech ) is type-setting software designed to satisfy technical and scientific needs. Why use it? Your math looks nice Customizable aul Gustafson (shamelessly stolen from Robert Williams) A Brief (Texas Introduction A&M University) to LaTeX June 2, 2017 2 / 12

What is L A TEX? LaTeX (pronounced lay-tech or la-tech ) is type-setting software designed to satisfy technical and scientific needs. Why use it? Your math looks nice Customizable Outputs pdf s aul Gustafson (shamelessly stolen from Robert Williams) A Brief (Texas Introduction A&M University) to LaTeX June 2, 2017 2 / 12

What is L A TEX? LaTeX (pronounced lay-tech or la-tech ) is type-setting software designed to satisfy technical and scientific needs. Why use it? Your math looks nice Customizable Outputs pdf s The standard in scientific publication aul Gustafson (shamelessly stolen from Robert Williams) A Brief (Texas Introduction A&M University) to LaTeX June 2, 2017 2 / 12

What is L A TEX? LaTeX (pronounced lay-tech or la-tech ) is type-setting software designed to satisfy technical and scientific needs. Why use it? Your math looks nice Customizable Outputs pdf s The standard in scientific publication Downloading and Installing LaTeX http://latex-project.org/ftp.html I m new to LaTeX I m familiar with LaTeX Take me to the resources slide aul Gustafson (shamelessly stolen from Robert Williams) A Brief (Texas Introduction A&M University) to LaTeX June 2, 2017 2 / 12

Article example We ll go over two types of LaTeX files today: articles and beamer files. The article document format is used for writing papers. The beamer format is used for writing presentations. Let s look at an example of an article. Paul Gustafson (shamelessly stolen from Robert Williams) A Brief (Texas Introduction A&M University) to LaTeX June 2, 2017 3 / 12

Outline of a beamer file \documentclass[handout]{beamer} %handout collapses frames into 1 slide \usetheme{theme} \usecolortheme{color} \usepackage{amsmath, amsfonts, amssymb} \usepackage{tikz} \title{my Informative Title} \author{my Name} \institute{my Institution} \date{date of presentation} or \date{\today} Paul Gustafson (shamelessly stolen from Robert Williams) A Brief (Texas Introduction A&M University) to LaTeX June 2, 2017 4 / 12

\begin{document} \begin{frame} \maketitle \end{frame} \begin{frame}{frame Title} Contents of paper or presentation \end{frame} \end{document} Paul Gustafson (shamelessly stolen from Robert Williams) A Brief (Texas Introduction A&M University) to LaTeX June 2, 2017 5 / 12

Beamer vs Article Inside of each frame, you can write as you would in a normal LaTeX file. There is also a little bit of extra functionality present in beamer: You can give individual frames titles aul Gustafson (shamelessly stolen from Robert Williams) A Brief (Texas Introduction A&M University) to LaTeX June 2, 2017 5 / 12

Beamer vs Article Inside of each frame, you can write as you would in a normal LaTeX file. There is also a little bit of extra functionality present in beamer: You can give individual frames titles You can segment frames into multiple slides using \pause aul Gustafson (shamelessly stolen from Robert Williams) A Brief (Texas Introduction A&M University) to LaTeX June 2, 2017 5 / 12

Beamer vs Article Inside of each frame, you can write as you would in a normal LaTeX file. There is also a little bit of extra functionality present in beamer: You can give individual frames titles You can segment frames into multiple slides using \pause You can create blocks to sort information aul Gustafson (shamelessly stolen from Robert Williams) A Brief (Texas Introduction A&M University) to LaTeX June 2, 2017 5 / 12

Beamer vs Article Inside of each frame, you can write as you would in a normal LaTeX file. There is also a little bit of extra functionality present in beamer: You can give individual frames titles You can segment frames into multiple slides using \pause You can create blocks to sort information You can draw attention to points during some of these slides by using \alert # {text} aul Gustafson (shamelessly stolen from Robert Williams) A Brief (Texas Introduction A&M University) to LaTeX June 2, 2017 5 / 12

Beamer vs Article Inside of each frame, you can write as you would in a normal LaTeX file. There is also a little bit of extra functionality present in beamer: You can give individual frames titles You can segment frames into multiple slides using \pause You can create blocks to sort information You can draw attention to points during some of these slides by using \alert # {text} You can separate a slide into multiple columns using the columns environment aul Gustafson (shamelessly stolen from Robert Williams) A Brief (Texas Introduction A&M University) to LaTeX June 2, 2017 5 / 12

Beamer vs Article Inside of each frame, you can write as you would in a normal LaTeX file. There is also a little bit of extra functionality present in beamer: You can give individual frames titles You can segment frames into multiple slides using \pause You can create blocks to sort information You can draw attention to points during some of these slides by using \alert # {text} You can separate a slide into multiple columns using the columns environment You can create hyperlinks to other parts of your presentation aul Gustafson (shamelessly stolen from Robert Williams) A Brief (Texas Introduction A&M University) to LaTeX June 2, 2017 5 / 12

Beamer example The best way to learn beamer is to use it. Let s recreate the example beamer file. Paul Gustafson (shamelessly stolen from Robert Williams) A Brief (Texas Introduction A&M University) to LaTeX June 2, 2017 6 / 12

Basic Tex Reference Symbols for type-setting commands: % is used for comments \ tells LaTeX you are writing a command some commands have {inputs contained in curly brackets} or [options contained in square braces] $ tells LaTeX to enter or exit math mode Paul Gustafson (shamelessly stolen from Robert Williams) A Brief (Texas Introduction A&M University) to LaTeX June 2, 2017 7 / 12

Basic Tex Reference Symbols for type-setting commands: % is used for comments \ tells LaTeX you are writing a command some commands have {inputs contained in curly brackets} or [options contained in square braces] $ tells LaTeX to enter or exit math mode Common unintuitive commands: \\ is a line return $$ enters or exits display math mode Alternatively, \[ math goes here \] also uses display math mode Paul Gustafson (shamelessly stolen from Robert Williams) A Brief (Texas Introduction A&M University) to LaTeX June 2, 2017 7 / 12

When in math mode, use ˆ to write superscripts and to write subscripts. Enclose the (super-)subscript in {} if it is more than 1 character long. Paul Gustafson (shamelessly stolen from Robert Williams) A Brief (Texas Introduction A&M University) to LaTeX June 2, 2017 8 / 12

When in math mode, use ˆ to write superscripts and to write subscripts. Enclose the (super-)subscript in {} if it is more than 1 character long. $\sum_{n=1}^\infty \frac{1}{2^n} = 1$ n=1 1 2 = 1 n Paul Gustafson (shamelessly stolen from Robert Williams) A Brief (Texas Introduction A&M University) to LaTeX June 2, 2017 8 / 12

When in math mode, use ˆ to write superscripts and to write subscripts. Enclose the (super-)subscript in {} if it is more than 1 character long. $\sum_{n=1}^\infty \frac{1}{2^n} = 1$ n=1 1 2 = 1 n $$\sum_{n=1}^\infty \frac{1}{2^n} = 1$$ n=1 1 2 n = 1 aul Gustafson (shamelessly stolen from Robert Williams) A Brief (Texas Introduction A&M University) to LaTeX June 2, 2017 8 / 12

Creating Lists \begin{itemize} \item Item 1 \item Item 2 \end{itemize} Item 1 Item 2 \begin{enumerate} \item Item 1 \item Item 2 \end{enumerate} 1 Item 1 2 Item 2 Paul Gustafson (shamelessly stolen from Robert Williams) A Brief (Texas Introduction A&M University) to LaTeX June 2, 2017 9 / 12

Tables and Matrices \begin{tabular}{c cc} a & b & c \\ \hline d & e & f \\ g & h & i \end{tabular} a b c d e f g h i $ \begin{bmatrix} a & b & c \\ d & e & f \\ g & h & i \end{bmatrix} $ a b c d e f g h i Paul Gustafson (shamelessly stolen from Robert Williams) A Brief (Texas Introduction A&M University) to LaTeX June 2, 2017 10 / 12

\begin{theorem}[name/attribution of Theorem] X iff Y \end{theorem} Theorem (Name/Attribution of Theorem) X iff Y \begin{proof} This is trivial. \end{proof} Proof. This is trivial. back to beamer Paul Gustafson (shamelessly stolen from Robert Williams) A Brief (Texas Introduction A&M University) to LaTeX June 2, 2017 11 / 12

Additional Resources LaTeX has an active community with many resources to help you along the way. LaTeX Wikibooks: https://en.wikibooks.org/wiki/latex TeX Stack Exchange: http://tex.stackexchange.com The Not So Short Introduction to L A TEX 2ε: http://tobi.oetiker.ch/lshort/lshort.pdf Detexify: http://detexify.kirelabs.org/classify.html A collection of beamer themes and colors: http://hartwork.org/beamer-theme-matrix/ Paul Gustafson (shamelessly stolen from Robert Williams) A Brief (Texas Introduction A&M University) to LaTeX June 2, 2017 12 / 12