Outline Getting started Editing. LA TE X introduction. Kyle Rawlins. February 26, 2009

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

An introduction to L A TEX for students

Introduction to typesetting with L A TEX

Latex Tutorial. CIS400 Senior Design 9/5/2013

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

An Introduction to L A T E X

L A TEX and Linguistics

Excellent support for mathematical formatting. Automatically downloads/installs missing components as needed Updates somewhat frequently

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

Typesetting with TEX

THIS IS AN INTRODUCTION TO. LaTeX. Introduction to Latex. University of Minnesota, November 7, 2016

Introduction to L A T E X

An Introduction to L A T E X

L A TEX and Linguistics

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

Getting ready for L A TEX. Alexis Dimitriadis. Version: March 28, 2013

Meeting One. Aaron Ecay. February 2, 2011

LYX with Beamer and Sweave

Introduction. LaTeX (pronounced lay-tech ) is a professional document preparation system.

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

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

Introduction to L A TEX

Abstract A quick intro by examples to the document preparation language L A TEX.

Introduction to Latex. A workshop by Dr. Ala Eshmawi

Introduction to LATEX

Guide to using L A TEX

THE UNIVERSITY OF CHICAGO MY DISSERTATION TITLE

Introduction to L A TEX

Intro History Version 2 Problems Software Future. Dr. StrangeBook. or: How I Learned to Stop Worrying and Love XML. Nigel Stanger

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

An Introduction to L A TEX

Basic L A TEX. what is LaTeX?

Writing. October 3, 2006

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

Latex Manually Set Font Size For Tables

LATEX, BibTEX, and Friends. Robert Buels. Outline. What is LATEX. Using BibTEX LYX the graphical LATEX Managing your BibTEX references Further reading

Authoring OpenStax Documents in Apache OpenOffice Writer *

Introduction to LaTeX. Paul Fodor Stony Brook University

Student Learning Service: Introduction to Latex

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

Getting started with Latex

The AES Convention Paper LATEX class Adam H. Lewenberg (October 18, 2008) 1

Travels in TEX Land: Using memoir for a book

Introduction to L A TEX for MCS-236

Written & Oral Presentation: Computer Tools

Math 395 Homework #1 Due Wednesday, April 12

My LaTeX Document. July 7, Introduction 2

An Introduction to LATEX

Table of Contents Headings:... 2 Changing text to a heading... 2 Modifying Style settings for current and future documents... 2

Getting Started with LATEX

Overview. Dynamic documents with R and L A TEX (while citing properly) Outline. Software for your Statistical Analysis (1) knitr.

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

DOWNLOAD PDF ABSOLUTE BEGINNERS GUIDE TO MICROSOFT OFFICE ONENOTE 2003 (ABSOLUTE BEGINNERS GUIDE)

L A TEX for psychological researchers

How to Prepare Your Paper in L A T E X for IOE Graduate Conference 2017

Helen Cameron. A Brief Overview of LATEX

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

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

LaTeX. Information Literacy II EN(IL2) Course

Learning L A TEX. Patrick Lam

COMP496/901: Academic Presentation and Writing Skills Using LaTeX

GENERAL INFORMATION INSTRUCTIONS FOR MANUSCRIPT SUBMISSION

Paul Gartside. March 2, 2013

Why learning L A TEX is worth the effort

Mikkel Madsen

An Introduction to LATEX

How to prepare slides using latex. How to prepare slides using latex.zip

1. Welcome. (1) Hello. My name is Dr. Christopher Raridan (Dr. R). (3) In this tutorial I will introduce you to the amsart documentclass.

T E X and L A T E X Document preparation tools

Microsoft Word Tutorial

Outline. A Sneak Peek

Lecture 1: Short summary of LaTeX basics

INSTALLING AND USING L A TEX

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

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

Homework # (Latex Handout) by Laura Parkinson

APPLIED COMPUTING 1P01 Fluency with Technology

A brief introduction to L A TEX

Electronic Production Guidelines

sbthesis Documentation

1. The Joy of TEX. Check out this example!

Copyright. For more information, please read the Disclosures and Disclaimers section at the end of this ebook. First PDF Edition, February 2013

Preparing your scribe

Introduction to L A TEX

PRISM Introduction to L A TEX

Chapter 11 Formatting a Long Document

Style template and guidelines for SPIE Proceedings

Math 3820 Project. 1 Typeset or handwritten? Guidelines

How to get started in L A TEX

The mat2doc documentation system

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

Strands & Standards WORD PROCESSING

New Perspectives on Word 2016 Instructor s Manual 1 of 10

Interdisciplinary Journal of Best Practices in Global Development Final Manuscript Preparation Guidelines

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

Introduction to MCS 220 and L A TEX

Introduction to LATEX

Introduction to L A TEX beamer

Functions and text files

L A TEX- Advanced Topics

Transcription:

L A TEX introduction February 26, 2009

Installing LATEX Resources

Installing LA TE X Resources OS X I I use MacTeX: http://tug.org/mactex/

Installing LA TE X Resources OS X I I use MacTeX: http://tug.org/mactex/ I Comes with TeXShop, probably the easiest way to get started editing LATEX les on the mac: http://www.uoregon.edu/~koch/texshop/

Installing LA TE X Resources OS X I I use MacTeX: http://tug.org/mactex/ I Comes with TeXShop, probably the easiest way to get started editing LATEX les on the mac: http://www.uoregon.edu/~koch/texshop/ I Also comes with BibDesk, a really great program: http://bibdesk.sourceforge.net/

Installing LA TE X Resources OS X I I use MacTeX: http://tug.org/mactex/ I Comes with TeXShop, probably the easiest way to get started editing LATEX les on the mac: http://www.uoregon.edu/~koch/texshop/ I Also comes with BibDesk, a really great program: http://bibdesk.sourceforge.net/ I I uses aquamacs (an OS X version of GNU emacs), takes some more work to customize: http://aquamacs.org/, http://www.gnu.org/software/auctex/

Installing LA TE X Resources Windows I I don't really know much, sorry.

Installing LA TE X Resources Windows I I don't really know much, sorry. I But I think MiKTeX is what people use: http://www.miktex.org/.

Installing LA TE X Resources Windows I I don't really know much, sorry. I But I think MiKTeX is what people use: http://www.miktex.org/. I I've also heard good things about WinEdt as an editor: http://www.winedt.com/ (not free). Also: http://www.texniccenter.org/.

Installing LA TE X Resources Windows I I don't really know much, sorry. I But I think MiKTeX is what people use: http://www.miktex.org/. I I've also heard good things about WinEdt as an editor: http://www.winedt.com/ (not free). Also: http://www.texniccenter.org/. I Emacs is also an option.

Installing LA TE X Resources Linux I If you're using linux, you probably don't need my help.

Installing LA TE X Resources Resources I I put up some basic templates, plus the source to this le, on the web. The source to this le in particular contains all sorts of little recipes you might nd useful.

Installing LA TE X Resources Resources I I put up some basic templates, plus the source to this le, on the web. The source to this le in particular contains all sorts of little recipes you might nd useful. I Some resources for linguists: I LAT E X for linguists http://www.essex.ac.uk/linguistics/clmt/latex4ling/ I UCSC edition http://people.ucsc.edu/kirchner/resources/latex/latex.html I LingTeX mailing list http://heim.i.uio.no/dag/ling-tex.html

Installing LA TE X Resources Resources I I put up some basic templates, plus the source to this le, on the web. The source to this le in particular contains all sorts of little recipes you might nd useful. I Some resources for linguists: I LAT E X for linguists http://www.essex.ac.uk/linguistics/clmt/latex4ling/ I UCSC edition http://people.ucsc.edu/kirchner/resources/latex/latex.html I LingTeX mailing list http://heim.i.uio.no/dag/ling-tex.html I A good general purpose reference (esp. for formulae): http://www.giss.nasa.gov/tools/latex/

I TEX is a macro language; LATEX a comprehensive set of macros and conventions built in TEX.

I TEX is a macro language; LATEX a comprehensive set of macros and conventions built in TEX. I Interface for formatting is distinct from the formatting itself.

I TEX is a macro language; LATEX a comprehensive set of macros and conventions built in TEX. I Interface for formatting is distinct from the formatting itself. I Generate formatted PDF/Postscript le by compiling document.

I TEX is a macro language; LATEX a comprehensive set of macros and conventions built in TEX. I Interface for formatting is distinct from the formatting itself. I Generate formatted PDF/Postscript le by compiling document. I Most text is just text.

I TEX is a macro language; LATEX a comprehensive set of macros and conventions built in TEX. I Interface for formatting is distinct from the formatting itself. I Generate formatted PDF/Postscript le by compiling document. I Most text is just text. I Macros: nmacroname[options]{argument} I e.g. ntextbf{hi} produces hi.

I TEX is a macro language; LATEX a comprehensive set of macros and conventions built in TEX. I Interface for formatting is distinct from the formatting itself. I Generate formatted PDF/Postscript le by compiling document. I Most text is just text. I Macros: nmacroname[options]{argument} I e.g. ntextbf{hi} produces hi. I Environments are bracketed with a begin and end command: nbegin{itemize} nitem Most text is just text. nend{itemize}

Preamble I Setup stu goes here. ndocumentclass[article,11pt]{memoir} nusepackage{mathptmx} nusepackage{natbib} nbibpunct{(}{)}{;}{a}{}{,} % etc.

Preamble I Setup stu goes here. I Document class: basic document template ndocumentclass[article,11pt]{memoir} nusepackage{mathptmx} nusepackage{natbib} nbibpunct{(}{)}{;}{a}{}{,} % etc.

Preamble I Setup stu goes here. I Document class: basic document template I Load support packages, e.g. mathptmx sets up Times New Roman. ndocumentclass[article,11pt]{memoir} nusepackage{mathptmx} nusepackage{natbib} nbibpunct{(}{)}{;}{a}{}{,} % etc.

Preamble I Setup stu goes here. I Document class: basic document template I Load support packages, e.g. mathptmx sets up Times New Roman. I Other setup, document formatting etc. This one sets up some citation styles. ndocumentclass[article,11pt]{memoir} nusepackage{mathptmx} nusepackage{natbib} nbibpunct{(}{)}{;}{a}{}{,} % etc.

Body I Content of document goes here. nbegin{document} Hello world nend{document}

Body I Content of document goes here. I One big environment. nbegin{document} Hello world nend{document}

Paragraphs Regular paragraphs are just blocks of text with blank lines before and after them. It doesn't matter where you put the line breaks.

Paragraphs Regular paragraphs are just blocks of text with blank lines before and after them. It doesn't matter where you put the line breaks. Regular paragraphs are just blocks of text with blank lines before and after them. It doesn't matter where you put the line breaks.

Text styles I These are LaTeX2e font selection commands; don't use e.g. nit any more.

Text styles I These are LaTeX2e font selection commands; don't use e.g. nit any more. I italic: ntextit{italic}

Text styles I These are LaTeX2e font selection commands; don't use e.g. nit any more. I italic: ntextit{italic} I bold: ntextit{bold}

Text styles I These are LaTeX2e font selection commands; don't use e.g. nit any more. I italic: ntextit{italic} I bold: ntextit{bold} I small caps: ntextsc{small caps}

Text styles I These are LaTeX2e font selection commands; don't use e.g. nit any more. I italic: ntextit{italic} I bold: ntextit{bold} I small caps: ntextsc{small caps} I With ulem.sty: I underlined: nuline{underlined} I struck out: nsout{struck out}

Bulleted text I Bullets are done with the itemize environment. I Each item is prefaced with an nitem command.

Bulleted text I Bullets are done with the itemize environment. I Each item is prefaced with an nitem command. nbegin{itemize} nitem Bullets are done with the itemize environment. nitem Each item is prefaced with an $nbackslash$item command. nend{itemize}

Document divisions I Automatic section numbering and cross-referencing. I Commands: nchapter (memoir), nsection, nsubsection, etc. I Labeling command: nlabel{name} I Reference with nref{name}, or npageref{name} for the page number. nchapter{my rst chapter} nsection{the.1 section of this chapter} nsubsection{the.1.1 section} nlabel{mylabel}... ns nref{mylabel} is on p. npageref{mylabel} I This last line will produce something like Ÿ1.1.1 is on p. 1. (except, automatically determined.) I Need to run LAT X multiple times LA TE Xtointroduction get right cross-references.

BibTeX I Makes it very easy to manage bibliography entries. I Three parts:

BibTeX I Makes it very easy to manage bibliography entries. I Three parts: I A.bib le stores reference information. @article{chomsky59, Author = {Noam Chomsky}, Journal = {Information and Control}, Pages = {137167}, Title = {On certain formal properties of grammars}, Volume = {2}, Year = {1959}}

BibTeX I Makes it very easy to manage bibliography entries. I Three parts: I A.bib le stores reference information. @article{chomsky59, Author = {Noam Chomsky}, Journal = {Information and Control}, Pages = {137167}, Title = {On certain formal properties of grammars}, Volume = {2}, Year = {1959}} I Cite commands and bibliography commands in your.tex le. ncitep{chomsky59}

BibTeX I Makes it very easy to manage bibliography entries. I Three parts: I A.bib le stores reference information. @article{chomsky59, Author = {Noam Chomsky}, Journal = {Information and Control}, Pages = {137167}, Title = {On certain formal properties of grammars}, Volume = {2}, Year = {1959}} I Cite commands and bibliography commands in your.tex le. ncitep{chomsky59} I BibTeX a program called after LAT E X that gures out citations from an.aux le (produced as a side-eect of compilation).

Formulas I Formulas are entered in math mode. The main way to switch to math mode is using $ symbols. JmustK = p hsti : w s : 8w 0 : wrw 0! p(w 0 ) $nleftnllbracket ntext{ntextbf{must}} nrightnrrbracket = nlambda p_{nleftnlangle st nrightnrangle} n:.n: nlambda w_s n:.n: nforall w' : wrw' nrightarrow p(w')$

More complicated formulas (Chosen at random from The Harmonic Mind) [I M] (d 0 ) (d ) = ( 1 k M (d 0 ) (d ) 0 otherwise if 9k s.t. m + k = d and m 0 + k = d 0 $nleft[nmathbb{i} nvarotimes nmathbb{m}nright]^{(d')}_{(d)} = nleftn{nbegin{array}{ll} nleft[nmathbf{1}^{nvarotimes k} nvarotimes nmathbb{m}nright]^{(d')}_{(d)} & ntext{if }nexists kntext{ s.t. }m+k=d ntext{ and }m'+k=d'nn nmathbf{0} & ntext{otherwise} nend{array}nright.$

Example numbering I Various packages I use gb4e. I Copy on website adapted to not conict with memoir. I Another popular one is linguex. I Easy to do automatic cross-references: (2) (1) Alfonso is a lawyer. (2) * Alfonso seems a lawyer. (3) a. Who is Alfonso talking to? b. Who on earth is Alfonso talking to?

Including gures I I usually use the graphicx package.

Including gures I I usually use the graphicx package. nincludegraphics[scale=0.3]{cat_proximity}

Including gures I I usually use the graphicx package. nincludegraphics[scale=0.3]{cat_proximity}

Tree diagrams I Many popular packages: I pst-jtree. reportedly the best modern one, but requires pstricks, and consequently, does not work with pdatex. I qtree. Pretty easy to use, no dependencies. I parsetree. Actually designed for programming language theory, but works well for linguistics. I TikZ. General purpose drawing package, really really nice. But does less tree formatting automatically. I Examples: (download source to see details)

qtree I Note: I pulled this out of a homework from about 7 years ago, so I have no idea why you'd use this constituent structure. (4) DP D a NP N 0 AP? A temporal hhetihshetiii former hhshetiihetii N teacher heti

parsetree (5) DP D a NP N 0 AP? A former hhshetiihetii temporal hhetihshetiii N teacher heti

Trees in TikZ (6) DP D a NP N 0 AP? A? N former hhshetiihetii temporal hhetihshetiii teacher heti

More trees in TikZ (7) Negative question, negative answer Is Alfonso not coming to the party? P AdvP P Adv TP no [uneg] [uneg,e] DP he Neg NegP VP concord [ineg] is coming to the party

Tableaux I Can do many tableaux with simple tabular environments. I This example is also using the tipa package for IPA fonts, and the arydshln package for the dashed line. I Actually, this uses my own custom tableau environment based on tabular, there is probably something better around. (Colin?) I Major drawback: it is a pain to add columns, especially in large tableau. It is a huge pain to re-order columns. /k-haratat-s/ FtBin FtHdR Dep a. [kha.(rá:).tats] * b. [kha.(rá).tats] *! c. [(khá.ra).tats] *! Tableau 1: Lengthening of stressed vowels

Presentations I This presentation is made with the beamer package. Seems like the best option by far. I Pretty easy to use, well-documented. (Same author as PGF/TikZ.) I Source for this le available. I I've also put up a beamer template (which is really just the example from the beamer site). I To see what can be done, I will now switch to a dierent le.

Posters I I use the a0poster class along with textpos. I Produces A0-sized PDF les. (European size.) I Pretty easy to get to work with the poster printer upstairs.