Introduction to L A TEX

Size: px
Start display at page:

Download "Introduction to L A TEX"

Transcription

1 Introduction to L A TEX Evan Parker-Stephen September 21, Download and Installation (L A TEX for Windows) (Text Editor) (TEX User Group) 2 Getting Started L A TEX gives you the means to typeset beautiful documents. Using it in tandem with your text editor of choice (we will be using WinEdt), you can control everything from the spacing of your document to the style of your tables to the (automatic) generation of your works cited page. At a minimum, you will need to use the following typesetting commands to begin your document: \documentclass[12pt]{article} \begin{document}... Document body here. \end{document} Lengthier introductory commands, collectively called the preamble, are more often the norm. These commands are calls to packages that affect the document s layout, styles, and so forth. This document, for example, was created using the preamble listed below. At this point these particulars are not nearly as important as the general lesson: you have control over the basic appearance of your documents and much of it is established by the packages you invoke in the preamble. Of course, TEX s typesetting algorithms do the heavy lifting. \documentclass[12pt]{article} \underline{}\usepackage{endnotes} \usepackage{fullpage} \usepackage{setspace} \usepackage{amsfonts, amsmath, amssymb} \usepackage{dcolumn, pstricks, multirow} \usepackage{epsfig, subfigure, subfloat, graphicx, float} \usepackage{anysize, setspace} \usepackage{verbatim, rotating} \usepackage{bib} 1

2 \usepackage[abbr]{harvard} \usepackage{hyperref} \begin{document} \title{{\bfintroduction to \LaTeX}} \author{evan Parker-Stephen} \date{september 21, 2006} \maketitle 2.1 Headings Every article uses headings. Creating headings in TEX is straightforward. To create the Getting Started heading above I used the command listed below. Note that adding an asterisk after the word section gives a non numbered heading. \section{getting Started} or \section*{getting Started} Creating sub headings is also possible, for example: \subsection{headings} or \subsubsection{headings} 3 L A TEX Environments L A TEX offers several paragraph environments, each of which gives TEX specific formatting instructions. First, every environment begins and ends in the same manner: \begin{environment-name}... \end{environment-name} 3.1 Bulleted Lists Creating a bulleted list requires the following environment: \begin{itemize} \item{mccants} \item{felton} \item{williams} \end{itemize} Which gives: McCants Felton Williams 2

3 3.2 Numbered Lists Creating a numbered list requires the following command sequence: \begin{enumerate} \item{mccants} \item{felton} \item{williams} \end{enumerate} Which gives: 1. McCants 2. Felton 3. Williams Note: lists may be embedded within lists to a maximum of four nested levels. 3.3 Description Lists \begin{description} \item[forward] McCants \item[guard] Felton \item[forward] Williams \end{description} Which gives: Forward McCants Guard Felton Forward Williams 4 Creating Tables Tables are one of the more complicated aspects of L A TEX, but the tables you can create are far superior to those constructed using proprietary word processing software. What is perhaps most confusing about L A TEX tables is that you need two commands to create one. The tabular environment is the body of the table itself. It usually sits inside a table environment, which controls captions, labels, and the placement of the table on the page. 1. To begin, create the table environment by selecting (in WinEdt) Insert Environments Table from the WinEdt taskbar: \begin{table} \centering \caption{o}\label{o} [NOTE!...insert tabular environment here] \end{table} 3

4 2. Next, you will need to establish the dimensions of your table. This must be predetermined by you (though one can modify the dimensions with some maneuvering, it s easier to establish it up front). 3. Now, invoke the tabular environment by selecting Insert Environments Tabular from the WinEdt task bar. Let s select a 3 3 table for an example, which gives: \begin{tabular}{ o o o } % after \\: \hline or \cline{col1-col2} \cline{col3-col4}... o & o & o \\ o & o & o \\ o & o & o \\ \end{tabular} 4. The tabular fits inside the table environment exactly where you see the [NOTE!...insert tabular environment here] under (1) above. 5. Also important in the actual WinEdt editor, asterisks will appear instead of o s. These appear wherever TEX expects you to insert something (e.g. parameter estimates), and you will not be able to TEX the document until all of these asterisks have been replaced or deleted. 4.1 An Example Table To see how L A TEX tables work in practice, let s examine the code which produced Table 1: Table 1: Manipulations of Coverage Source and Coverage Content Message Content Message Source Negative Positive FOX News x x CNN x x \begin{table}[h] \centering \caption{manipulations of Coverage Source and Coverage Content}\label{cross} \vspace{.15in} \begin{tabular}{l cc} % after \\: \hline or \cline{col1-col2} \cline{col3-col4}... \hline \hline &\multicolumn{2}{c}{\textbf{message Content}}\\ \textbf{message Source} & Negative & Positive \\ \hline FOX News & x & x \\ CNN & x & x \\ \hline \end{tabular} \end{table} 4

5 5 Inserting Figures You can also insert figures into your document. To do so, you will first want to download a free program called Ghostscript from the web. Ghostscript is freeware that translates postscript (and encapsulated postscript) command language for a printer into visible figures on screen. Without it,.ps and.eps formatted figures sometimes do not appear on screen (in the dvi file) and cannot be printed on a non-postscript printer. Ghostscript, which TEX recognizes automatically, resolves these issues. Note that you can create figures that are either.ps or.eps format directly if you use R (we ll get to that later). 5.1 Windows Media Files You may also want to download and configure a program called Wmf2eps, which allows you to cut and paste graphics from MS Excel and other programs that are based on the.wmf graphic format (i.e., Windows Media File ). Wmf2eps converts.wmf files into high quality.eps files. The standard routine is to paste into wmf2eps, edit the graphic to change the size (width=5 inches works well), and then convert to the desired format. IMPORTANT: You should place the.eps file in the same directory as your TEX document. After converting the code to produce the Figure 1 below is: \begin{figure}[hbt] \centerline{\includegraphics[width=5.25in,height=3in]{gdpepi.eps}} \caption{annual Percent Change in U.S. Gross Domestic Product and the Economic Performance Index, 1980 to 2002} \label{gdpepi} \end{figure} 4.65 Annual Percent Change: Gross Domestic Product Economic Performance Index Figure 1: Annual Percent Change in U.S. Gross Domestic Product and the Economic Performance Index, 1980 to

6 6 Citations L A TEX will create a works cited page for you, similar to the Endnotes package in Microsoft Word. To use this feature, you will first need to install a bibtex style folder in the proper directory. You can obtain the APSA style format (apsr.bst) and the bib style file (bib.sty) from Jamie s website. You will need to place these files in a directory that you can remember (i.e., C:\texmf\tex\bibtext\base). Jim Stimson has been kind enough to share his Master.bib file, which contains a mountain of political science references. Jamie has placed this file on his website. (You can save this webpage with the extension.bib ). Once you have the Master.bib file, you should place it in the following directory: \MikTeX\bibtex\bib\my_bibs To invoke the APSA bibtex package, you will need to include the following in your preamble: \usepackage{bib} \usepackage[abbr]{harvard} You ll also need to include the following at the end of your document: \bibliographystyle{apsr} \bibliography{...bibtex filename here...} Bibtex offers three citation options: 1. \cite[213]{zaller:1992} 2. \citeyear[213]{zaller:1992} 3. \nocite{zaller:1992} Which produce, respectively: 1. (Zaller 1992, 213) 2. (1992, 213) 3. no citation, but noted in references The bibtex package generates the cited work automatically at the end of this document (have a look!). A second bibliograhy package that has added functionality is known as natbib. We won t spend time on this here but note that there are several useful online resources that cover the use of the natbib package. See 6

7 7 Additional Useful Commands Footnotes See below\footnote{it works!} See below 1 New page skip to the next page in the document \newpage Italics \emph{italicized text here} italicized text here Boldface \textbf{text in bold here} text in bold here Overhead default font \textsf{overhead default font} overhead default font Normal roman font \textnormal{text in normal roman font} text in normal roman font Reproduce ascii text verbatim \begin{verbatim} \end{verbatim} 1 It works! 7

8 8 Inverse Search You will want to configure your TEX setup so that clicking on a point in the dvi file will get you to the text in the tex file that created it (approximately). To do this using the.dvi previewer, follow these steps: 1. Run texify so that you have a live dvi file 2. Click on DVI (in WinEdt), which will put you in YAP 3. From the View menu, click options 4. Select the Inverse Search tab 5. Under program select WinEdt (or whatever editor you have chosen to use) 6. Click OK and you re done 9 Generating New Commands Sometimes you will find that typing L A TEX commands can be burdensome. For example, if you would like to use the math environment to represent matrix X ij in the text, you will need to use the $ operator to enclose both sides of this matrix every time $\mathbf{x}_{ij}$. The New Command feature allows you to create short commands in the place of longer ones. To get a sense of what you might do, take a look at the new commands that I create in every document. % NEW COMMAND DEFINITION SECTION ******************************* \newcommand{\be}{\begin{enumerate}} \newcommand{\ee}{\end{enumerate}} \newcommand{\bq}{\begin{quote}} \newcommand{\eq}{\end{quote}} \newcommand{\bd}{\begin{description}} \newcommand{\ed}{\end{description}} \newcommand{\bi}{\begin{itemize}} \newcommand{\ei}{\end{itemize}} \newcommand{\mc}{$m_{i}^{(c)}$} \newcommand{\ma}{$m_{i}^{(a)}$} \newcommand{\wa}{$\mathbf{w}^{(a)}_t$} \newcommand{\wp}{$\mathbf{w}^{(p)}_{it}$} \newcolumntype{d}[1]{d{.}{.}{#1}} \newcommand{\r}{\textbf{r }} \def\cplusplus{{\rm C\raise.5ex\hbox{\small ++}}} % ************************************************************** References Zaller, John R The Nature and Origins of Mass Opinion. New York: Cambridge University Press. 8

Introduction to L A TEX

Introduction to L A TEX Introduction to L A TEX Jamie Monogan What is L A TEX? Advantages: sharper presentation, increased publication rate, style files, equations, tables, bibliography Disadvantages: learning curve, less point

More information

Learning L A TEX. Patrick Lam

Learning L A TEX. Patrick Lam Learning L A TEX Patrick Lam setting up 1. download a TeX distribution (MiKTeX, MacTeX, etc.) 2. download an editor (Texmaker, WinEDT, XEmacs, etc.) 3. start a.tex file in editor 4. work only in the.tex

More information

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

L A TEX Tutorial. 1 Introduction. 2 Running L A TEX. J. E. Rice. May 2010 L A TEX Tutorial J. E. Rice May 2010 Abstract The purpose of this document is to provide a simple example of how to use L A TEX. Examples of tables, figures, citations, references and math are shown, and

More information

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

LearningLatex. % This file walks you through some basic things with LaTex % Thanks to Patrick Lam and Maya Sen for letting me borrow their materials % Jennifer Pan % Math Prefresher % Fall 2011 % This file walks you through some basic things with LaTex % Thanks to Patrick Lam and Maya Sen for letting me borrow their materials % COMMANDS % You have

More information

Introduction to L A TEX

Introduction to L A TEX Introduction to L A TEX Dave Armstrong University of Wisconsin - Milwaukee Department of Political Science e: armstrod@uwm.edu w: http://www.quantoid.net/teachicpsr/latex (Course Materials) Contents 1

More information

PHYS-4007/5007: Computational Physics

PHYS-4007/5007: Computational Physics PHYS-4007/5007: Computational Physics L A TEX Tutorial Learning the L A TEX Mark-up Language Log into your Linux account, open a terminal window, and change directory to your tex subdirectory. Now open

More information

Workshop: A Simple Introduction to L A TEX

Workshop: A Simple Introduction to L A TEX Workshop: A Simple Introduction to L A TEX Michael P. Fix Susanne Schorpp Georgia State University 142 October 2012 Outline 1 Introduction 2 The Basics 3 Typesetting Text 4 Typesetting Math 5 Tables and

More information

MATLAB for the Sciences

MATLAB for the Sciences A Preliminary Discussion in L A TEX, Part 2 January 6, 2008 Multiple Lines of Equations Just as there was an environment for writing equations, there is an environment for multi-line equations. \begin{eqnarray}

More information

PRISM Introduction to L A TEX

PRISM Introduction to L A TEX PRISM to L A TEX Matt Hitt & Ben Jones PRISM Department of Political Science hitt.23@osu.edu jones.2781@osu.edu January 20, 2011 LaTeX: What is it and why should you use it? LaTeX (pronounced lah-tech

More information

Useful L A TEX Commands

Useful L A TEX Commands Useful L A TEX Commands David Woods dwoods@scss.tcd.ie Document Classes These will come at the beginning of the document, generally the very first line. Use \begin{document} to start adding content, and

More information

Lecture 3-Introduction to Latex (II)

Lecture 3-Introduction to Latex (II) ECON 6009 Graduate Seminar Memorial University of Newfoundland Lecture 3-Introduction to Latex (II) Lecture 0 slide 1 INTRODUCTION How to type math How to make cross-references How to use grouping (for

More information

Intro to LaTeX Workshop

Intro to LaTeX Workshop Intro to LaTeX Workshop Crystal Nguyen University of North Carolina at Chapel Hill 10/13/2017 Nguyen (UNC) LaTeX Workshop 10/13/2017 1 / 31 Overview 1 Getting Started in LaTeX 2 Typesetting Equations 3

More information

L A TEX for Psychological Researchers

L A TEX for Psychological Researchers L A TEX for Psychological Researchers Lecture 2: Basics of the L A TEX language Sacha Epskamp University of Amsterdam Department of Psychological Methods 27-01-2015 The L A TEX process.tex pdfl A TEX.pdf

More information

Getting Funky: Headers, Tables, Abstracts etc.

Getting Funky: Headers, Tables, Abstracts etc. : Headers, Tables, Abstracts etc. Introduction Today, we will be finishing off our need-to-know course with some extra bits and pieces that didn t really fit anywhere else in the tutorials. We won t be

More information

Introduction to L A TEX beamer

Introduction to L A TEX beamer Introduction to L A TEX beamer Lukas Block, Nadja Maraun University of Paderborn June, 2017 Abstract You will learn what L A TEX is and how to use it for presentations. 2/34 Summary Introduction: L A TEX

More information

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

L A T E X Workshop. Bijulal D & Anu Thomas Industrial Engineering and Operations Research Indian Institute of Technology L A T E X Workshop Bijulal D & Anu Thomas Industrial Engineering and Operations Research Indian Institute of Technology LAT E X Workshop, IEOR@IITB, March 18 & 23, 2010 p. 1 Outline of the Workshop Introduction

More information

L A TEX for Psychological Researchers

L A TEX for Psychological Researchers L A TEX for Psychological Researchers Lecture 2: Basics of the L A TEX language Sacha Epskamp University of Amsterdam Department of Psychological Methods 10/04/2013 Outline Last Week The L A TEX Language

More information

Introduction to LaTeX. Paul Fodor Stony Brook University

Introduction to LaTeX. Paul Fodor Stony Brook University Introduction to LaTeX Paul Fodor Stony Brook University http://www.cs.stonybrook.edu/~cse215 LaTeX TeX is essentially a Markup Language (like HTML, CSS, JSON, XML and RTF) TeX written by Donald Knuth in

More information

Basics. Options. Commands

Basics. Options. Commands L A TEX Basics https://www.sharelatex.com http://gradquant.ucr.edu/latex-resources Options Preamble Commands Line numbers Document body Document Classes Document class determines the overall layout of

More information

Introduction to LaTeX. Christoph Pickl

Introduction to LaTeX. Christoph Pickl Introduction to LaTeX Christoph Pickl 1 Who knows (La-)TeX? 2 Who has ever written a document with it? 3 Who has ever written a package? 4 Agenda 1. Basics First steps with LaTeX Creating a LaTeX-Document

More information

Introduction to L A TEX 2ε

Introduction to L A TEX 2ε Introduction to L A TEX 2ε Anna Pechenkina The Pennsylvania State University Political Science and QuaSSI September 15, 2008 Abstract L A TEX is a system for preparing and typesetting scientific documents.

More information

Mikkel Madsen

Mikkel Madsen Mikkel Madsen latex@mikkl.dk Today Recap from lecture 1 Sections, figures, tables, equations, multiple files TechnicCenter demonstration Navigating a large report Compiling New material Bold, italic, fontsize

More information

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

L A TEX Overview. Jiayi Liu. January 31, Colorado School of Mines 1 L A TEX Overview Jiayi Liu Colorado School of Mines January 31, 2017 Please refer to LATEX WikiBooks and ShareLaTeX.com Documentation for more details. 2 Brief History TEX ( Tech ) A low-level markup

More information

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

Intro to LATEX I. Aaron Erlich POLS/CSSS 510, Why LATEX? Programming Document Structure Floats Tables Lists Math Intro to LATEX I 1 1 POLS/CSSS 510, 2012 Intro to LATEX I 1 / 32 Outline 1 Why L A TEX? 2 Programming 3 Document Structure 4 Floats 5 Tables 6 Lists 7 Math Intro to LATEX I 2 / 32 The Complaint This sucks

More information

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

What is LaTeX. Is a document markup language and document preparation system for the TeX typesetting program What is LaTeX LaTeX ( /ˈleɪtɛk/, /ˈleɪtɛx/, /ˈlɑːtɛx/, or /ˈlɑːtɛk/) Is a document markup language and document preparation system for the TeX typesetting program Refers only to the language, not to the

More information

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

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 T E X and L A T E X Document preparation tools This lecture will introduce software necessary to produce documents using L A T E X in the School of Computer Science. It will also show the basics of producing

More information

Introduction to L A TEX

Introduction to L A TEX Introduction to L A TEX Henrik Thostrup Jensen September 29 th 2006 1 About What is L A TEX How does it work Exercises Fetch slides and work from them Not everyone works with same speed/focus First a topic

More information

Document Preparation Word Processors

Document Preparation Word Processors latex xfig xv spell checkers printing Document Preparation Word Processors Word processors, like Word, use the model of WYSIWYG (What-You-See-Is-What-You-Get). interactive easier for novices to learn good

More information

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

A Beginner s guide to L A TEX for CSCA67/MATA67. Kohilan Mohanarajan A Beginner s guide to L A TEX for CSCA67/MATA67 Kohilan Mohanarajan August 31, 2017 Contents 1 Foreword 2 2 Getting Started 3 3 Setting up your L A TEXDocument 4 4 Writing your L A TEXDocument 6 4.1 Environments...............................

More information

Very Short Introduction to LaTeX

Very Short Introduction to LaTeX Very Short Introduction to LaTeX Johann Mitlöhner 2015 1 Motivation The computer scientist Donald Knuth developed the program TeX [1] in the late 70s to facilitate typesetting texts containing mathematical

More information

Math 235: Introduction to LaTeX

Math 235: Introduction to LaTeX Math 235: Introduction to LaTeX The LaTeX word processing system was built to do mathematical typesetting. It is different than word processors; in LaTeX you type in text and typesetting commands, then

More information

Mikkel Madsen

Mikkel Madsen Mikkel Madsen latex@mikkl.dk After completing this course, you: Have an understanding of what LaTeX is Have an idea of what things can be easily accomplished in LaTeX Know where to look for help DON T

More information

L A TEXInstallation and Introduction

L A TEXInstallation and Introduction L A TEXInstallation and Introduction Andrew McAllister Society of Physics Students September 21st, 2011 Andrew McAllister (SPS) LATEXIntro September 21st, 2011 1 / 22 What is L A TEX? L A TEXis a typesetting

More information

An Introduction to LATEX

An Introduction to LATEX An Introduction to LATEX Mathematics 23a, Fall 2012 By: Isabel Vogt, Will Rafey, and Neil Gat Last Updated: 13 September, 2012 1 Introduction The simplest way to learn TeX is by example. Copy the heading

More information

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

عمادة البحث العلمي جامعة الملك سعود عمادة البحث العلمي جامعة الملك سعود Introduction to Latex A very quick look at typesetting documents Dr. Amal Almohisen (based on slides by Andrei Gurtov ) Introduction Essentially a Markup Language (like

More information

Introduction to Latex. A workshop by Dr. Ala Eshmawi

Introduction to Latex. A workshop by Dr. Ala Eshmawi Introduction to Latex A workshop by Dr. Ala Eshmawi Introduction TeX is essentially a Markup Language (like HTML, XML and RTF) TeX written by Donald Knuth in 70 s A revolution in typesetting Latex is an

More information

An Introduction to L A TEX

An Introduction to L A TEX An Introduction to L A TEX John Hamer John.Hamer@glasgow.ac.uk 24 January 2018 What, how, where? L A TEX is a fine typesetting system. You write your document (paper, report, essay, thesis, poster, book,

More information

OER Publishing with LaTeX and GitHub

OER Publishing with LaTeX and GitHub OER Publishing with LaTeX and GitHub Samara Burns 1 Overview LaTeX is a document preparation program that allows for full customization of documents. LaTeX uses a program called TeX to compile document

More information

Researcher Development Unit: Introduction to Latex

Researcher Development Unit: Introduction to Latex Researcher Development Unit: Introduction to Latex Dr Morgiane Richard and Ana Ciocarlan m.richard@abdn.ac.uk Centre for Academic Development Academic Year 2016-2017 M. Richard, A. Ciocarlan (U.of Aberdeen)

More information

Latex Tutorial. CIS400 Senior Design 9/5/2013

Latex Tutorial. CIS400 Senior Design 9/5/2013 1 Latex Tutorial CIS400 Senior Design 9/5/2013 2 Outline Introducing TeX/LaTeX Benefits and potential difficulties Installation and use on Unix/Mac/Windows Compiling PDF documents from LaTeX Basic document

More information

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

An Introduction to. Rado Ivanov CIS400 Senior Design Tutorial September 18, 2014 An Introduction to Rado Ivanov CIS400 Senior Design Tutorial September 18, 2014 Today's Outline Introducing TeX/LaTeX Benefits and potential difficulties Installation and use on Unix/Mac/Windows Compiling

More information

How to get started in L A TEX

How to get started in L A TEX very How to get started in L A TEX Florence Bouvet Department of Economics Sonoma State University March 26, 2009 1 / 29 Introduction very L A TEX is a document preparation system for high-quality typesetting.

More information

Dec. 27 th, 2010 University of Isfahan

Dec. 27 th, 2010 University of Isfahan Lt Latex Introduction It ti Adapted from Latex Workshop [1] Dr. Bahman Zamani Dec. 27 th, 2010 University of Isfahan Overview What is Latex? Why Latex? Why not Latex? How to InstallLatex? Where to Start?

More information

LaTeX Seminar III: Environments and More Advanced Mathematical Typesetting

LaTeX Seminar III: Environments and More Advanced Mathematical Typesetting LaTeX Seminar III: Environments and More Advanced Mathematical Typesetting Clifford E. Weil March 24, 2004 1 General Environments We have already encountered two environments. They are the document environment

More information

LaTeX A Tutorial. Mohsen Alimomeni, 2010

LaTeX A Tutorial. Mohsen Alimomeni, 2010 LaTeX A Tutorial Mohsen Alimomeni, 2010 How to pronounce LaTeX? (Lah-tek, or Lay-tek) A typesetting program, not a word-processor Designed for producing beautiful books, thesis, papers, articles... (Springer

More information

A L A TEX-Package for IEEE PES Transactions

A L A TEX-Package for IEEE PES Transactions A L A TEX-Package for IEEE PES Transactions Volker Kuhlmann Dept of Electrical and Electronic Engineering Christchurch, New Zealand 20 April 1999 Contents 1 Introduction 1 2 Installation 2 3 Changes from

More information

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

L A TEX minicourse. dstowell, mag, sar, scannell,... September Typeset by FoilTEX L A TEX minicourse dstowell, mag, sar, scannell,... September 2003 Typeset by FoilTEX What it is What is L A TEX? a typesetting system for creating high-quality documents allows you to create complex-looking

More information

An introduction. C.D. Emmery & M.M. van Zaanen. October 22, Tilburg University

An introduction. C.D. Emmery & M.M. van Zaanen. October 22, Tilburg University LATEX An introduction C.D. Emmery & M.M. van Zaanen Tilburg University October 22, 2013 What is L A TEX? System used to typeset documents. Typesetting: arranging all content in a document in order to achieve

More information

Guide to using L A TEX

Guide to using L A TEX Guide to using L A TEX Andrew Stevens, UC Berkeley 1 What is L A TEX, and why use it? L A TEX (pronounced LAH-tekh or LAY-tekh) is a language and document preparation system for typesetting. L A TEX is

More information

LATEX TYPESETTING SYSTEM. CAAM 519, CHAPTER 3

LATEX TYPESETTING SYSTEM. CAAM 519, CHAPTER 3 LATEX TYPESETTING SYSTEM. CAAM 519, CHAPTER 3 1. Latex installation and text editors 1.1. Installation. Install Latex in your virtual machine with the following command. sudo apt get install texlive Note

More information

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

T E X and L A T E X Document preparation tools T E X and L A T E X Document preparation tools This lecture adds to the previous introduction to L A T E X, introduces BibT E X and looks at creating larger documents. Last time... The first session introduced:

More information

Introduction to L A TEX

Introduction to L A TEX Introduction to L A TEX 2. Document structure Matemaattisten tieteiden laitos Document classes The basic document classes in L A TEX are article, report and book. They are taken into use by starting the

More information

Become a L A TEX Guru

Become a L A TEX Guru Become a L A TEX Guru 1 Many thanks to Michele, who was my coteacher for this class for Splash 2009 1. Log in using the username sipb2 and the password hsspmonster 2. Once you are logged on, type sudo

More information

L A TEX From The Ground Up

L A TEX From The Ground Up L A TEX From The Ground Up Tim Schulte Albert-Ludwigs-Universität Freiburg Grundlagen der Künstlichen Intelligenz 9. November 2017 Why L A TEX? L A TEX is a document preparation system and markup language.

More information

Introduction to L A TEX

Introduction to L A TEX Introduction to L A TEX Guillermo Toral & Weihuang Wong MIT September 15, 2017 These slides build on materials from previous years by Dan de Kadt and Elizabeth Keysner, and on The Not So Short Introduction

More information

COMS 6100 Class note

COMS 6100 Class note COMS 6100 Class note Biala Toheeb A. 26 August, 2016 A short quiz was given to test if the students really studied the linux commands. The answers to the quiz are Q1. How do you create a directory named

More information

A Short Introduction to L A TEX

A Short Introduction to L A TEX A Short Introduction to L A TEX David J. Eck October 22, 2003 Abstract This paper is a very short introduction to the essentials of L A TEX, a document-preparation system that is an alternative to typical

More information

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.

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. L A TEX examples This document is designed to help you see how to produce some mathematical typesetting. The best way to learn how to use L A TEX is to experiment with particular commands. After you have

More information

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

Using L A TEX. A numbered list is just that a collection of items sorted and labeled by number. Using L A TEX About these notes These notes give some starting tips on using L A TEX to typeset mathematical documents. To learn the system at all fully you ll need a proper L A TEX manual, but you can

More information

L A TEX Workshop. Don Brower

L A TEX Workshop. Don Brower L A TEX Workshop Don Brower 2016-5-11 1. TEX and L A TEX. L A TEX is a typesetting system which makes it easy to create typographically sophisticated documents. It also has a challenging, unintuitive interface.

More information

An introduction to L A TEX for students

An introduction to L A TEX for students An introduction to L A TEX for students Christopher Hanusa February 17, 2011 Christopher.Hanusa@qc.cuny.edu http://people.qc.cuny.edu/chanusa/ > Talks Pros and Cons of L A TEX Why use L A TEX? Ideal for

More information

Basic L A TEX. what is LaTeX?

Basic L A TEX. what is LaTeX? Basic L A TEX Erik Brunvand what is LaTeX? it s a typesetting markup language it s a set of macros that use TeX to format documents it s a powerful set of formatting commands that includes support for

More information

Electronic Production Guidelines

Electronic Production Guidelines Electronic Production Guidelines Illustrations It is a good idea to check out the draw programs you have available to you before you start drawing the figures for your article. Make sure that you can create

More information

Assessments for CS students:

Assessments for CS students: Assessments for CS students: Two hours per week lectures, Tuesdays 2-4pm. Three in-semester assignments, with feedback de-coupled from assessment: Assignment 1 Generic paper Assignment 2 Literature review

More information

COMP496/901: Academic Presentation and Writing Skills Using LaTeX

COMP496/901: Academic Presentation and Writing Skills Using LaTeX COMP496/901: Academic Presentation and Writing Skills Using LaTeX Robert Dale Robert.Dale@mq.edu.au 1 Acknowledgements These slides borrow heavily from similar material by: Jan-Philipp Söhn David Squire

More information

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

Research Method and Report Writing Lecture 4: An Introduction to L A TEX Research Method and Report Writing Lecture 4: An Introduction to L A TEX Farzaneh Abdollahi {Thanks to Hamed Rezaee} Department of Electrical Engineering Amirkabir University of Technology Fall 2012 Farzaneh

More information

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

Excellent support for mathematical formatting. Automatically downloads/installs missing components as needed Updates somewhat frequently Overview Why Use L A TEX? L A TEX lets you focus on the content and not how a document looks Excellent support for mathematical formatting Good bibliography management Acquiring L A TEX Windows Linux MiKTeX

More information

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

NCSU Linguistics Eric Wilbanks & Jeff Mielke. November 21, An open-source typesetting language used for document mark-up L A TEX Workshop NCSU Linguistics Eric Wilbanks & Jeff Mielke November 21, 2014 1 What is L A TEX? An open-source typesetting language used for document mark-up Used in conjunction with various TEXEditors

More information

An Introduction to L A T E X

An Introduction to L A T E X An Introduction to L A T E X Robert Dyer Department of Computer Science Iowa State University rdyer@cs.iastate.edu August 27, 2008 Why Use L A T E X? L A T E X lets you focus on the content and not how

More information

1 Different Document Classes

1 Different Document Classes 1 Different Document Classes There are several different document classes that can format just about any type of document. This is the very first line of your L A TEX code. It will define what kind of

More information

Student Learning Service: Introduction to Latex

Student Learning Service: Introduction to Latex Student Learning Service: Introduction to Latex Dr Morgiane Richard, Oana Matei and Florin Nedelea m.richard@abdn.ac.uk Student Learning Service Updated June 2018 Richard, Matei, Nedelea (U.of Aberdeen)

More information

A Quick L A TEX Primer

A Quick L A TEX Primer A Quick L A TEX Primer Gordon J. Pace Contents 1 Introduction 3 1.1 Motivation.............................. 3 1.2 What is L A TEX?............................ 3 1.3 Trivia.................................

More information

WinTeX Documentation

WinTeX Documentation WinTeX 2000 Documentation Contents 1. WELCOME... 3 2. WINTEX 2000 AT A GLANCE... 4 Customising the Editor... 4 Using Templates... 6 Using Syntax Completion... 7 Locating Lines... 7 Spell checking... 7

More information

Latex Programs for Record

Latex Programs for Record 1.Program to demonstrate two column article Latex Programs for Record \documentclass[10pt,a4paper,two column]{article} \author{haritha D} \title{article with multicolum} About L A TEX(pronounced either

More information

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

Lecture 1. MA2730: Analysis I. Lecture slides for MA2730 Analysis I. Study and Assessment Components. MA L A TEX: topics for Lecture 1 Contents of the teaching and assessment blocks MA2730: Analysis I Lecture slides for MA2730 Analysis I Simon people.brunel.ac.uk/~icsrsss simon.shaw@brunel.ac.uk College of Engineering, Design and Physical

More information

LA T EX is a Document Preparation System which is useful for the preparation of all Abstract kinds of reports. It is particularly suited, but not limi

LA T EX is a Document Preparation System which is useful for the preparation of all Abstract kinds of reports. It is particularly suited, but not limi Ballance Donald for Systems and Control Centre of Glasgow University Introduction to LATEX An D.Ballance@eng.gla.ac.uk Email: http://www.eng.gla.ac.uk/donald WWW: 1 LA T EX is a Document Preparation System

More information

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

An Introduction to. Andrew G. West, Jian Chang CIS400 Senior Design Tutorial September 15, 2009 An Introduction to Andrew G. West, Jian Chang CIS400 Senior Design Tutorial September 15, 2009 Today's Outline Introducing TeX/LaTeX Benefits and potential difficulties Installation and use on Unix/Mac/Windows

More information

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

Began as TeX, in 1982 (Knuth). Purely a typesetting tool. LaTeX added macros, maintaining TeX as it s typesetting engine (Lamport). LaTeX Began as TeX, in 1982 (Knuth). Purely a typesetting tool. LaTeX added macros, maintaining TeX as it s typesetting engine (Lamport). Now maintained by Frank Mittlebach. For an interesting interview,

More information

Using L A TEX Tom Edgar

Using L A TEX Tom Edgar M499 - Senior Capstone Using L A TEX Tom Edgar Department of Mathematics Pacific Lutheran University Tacoma, WA Wednesday, September 17, 2014 Introduction Introduction What is L A TEX? Powerful (Mathematical)

More information

Introduction to LATEX

Introduction to LATEX Introduction to LATEX Jennifer Flegg, September 5 2018 School of Mathematics and Statistics, University of Melbourne Why L A TEX? L A TEX is the mathematical/statistical standard L A TEX looks better than

More information

EBESS and MESS Presents: Learn to LaTeX. Presented by Joshua Tambunan 13 February 2018

EBESS and MESS Presents: Learn to LaTeX. Presented by Joshua Tambunan 13 February 2018 EBESS and MESS Presents: Learn to LaTeX Presented by Joshua Tambunan 13 February 2018 Structure of the Night Basics of LaTeX Motivation What? Why? Structure of the Night Starting a document Commenting

More information

An Introduction to LATEX

An Introduction to LATEX An Introduction to L A TEX Hands-on workshop University at Buffalo INFORMS Student Chapter October 26, 2016 Agenda Motivation & Intro to LATEX 1 Motivation & Intro to L A TEX Motivation Introduction Getting

More information

Exercises in LaTeX IDA on AAU

Exercises in LaTeX IDA on AAU Exercises in LaTeX IDA on AAU Consistently the exercises are divided into a mandatory part and a bonus part. We expect all to do the exercises in the mandatory part, while the ones in the bonus part can

More information

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

An Interactive Introduction to L A TEX. Part 2: Structured Documents & More. Dr John D. Lees-Miller. writel A TEX. An Interactive Introduction to L A TEX Part 2: Structured Documents & More Dr John D. Lees-Miller writel A TEX February 27, 2013 Outline Structured Documents Title and Abstract Sections Labels and Cross-References

More information

Course A, Part 1 Basic Formatting in L A TEX

Course A, Part 1 Basic Formatting in L A TEX Course A, Part 1 Basic Formatting in L A TEX As you become acquainted with L A TEX, you must remember that this is not a piece of word processing software. Neither is it a programming language. Specifically,

More information

Latex Manually Set Font Size For Tables

Latex Manually Set Font Size For Tables Latex Manually Set Font Size For Tables I would like to set my table to font 10pt. Here is my coding /begin(table)(h) /resizebox(/textwidth)(!)(% /begin(tabular)(/l/l/l/l/l/) /hline & A & B & C & D //

More information

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

The basics of LaTeX. Cédric Buron. April 25, 2016 The basics of LaTeX Cédric Buron April 25, 2016 Hello fellows! Today, I introduce a very important language in my PhD, L A TEX(what a logo!). In this article, I m going to introduce very quickly the purpose,

More information

Introduction to L A T E X

Introduction to L A T E X to L A T E X Ricky Patterson Big Library 21 Sep 2016 Ricky Patterson Intro to LAT E X 21 Sep 2016 1 / 18 Outline A Basic L A T E X Document \documentclass Packages Caveats Formatting Some L A T E X Examples

More information

Workshop on LaTeX. Outline. Muhammad Mostafa Monowar 11/13/2017

Workshop on LaTeX. Outline. Muhammad Mostafa Monowar 11/13/2017 Workshop on LaTeX Muhammad Mostafa Monowar Outline Part-1: Basics Part-2: How to Typeset a document? Part-3: Thesis Fundamentals Part-4: Creating Presentation 1 Part-1: Basics Why do I need LaTeX? Free

More information

The Joys of LAT E X. Vadim Ponomarenko. introducing the world s standard typesetting language.

The Joys of LAT E X. Vadim Ponomarenko. introducing the world s standard typesetting language. The Joys of LAT E X A 60 minute lecture, with examples, introducing the world s standard typesetting language. Vadim Ponomarenko http://www.trinity.edu/vadim/latex.pdf LAT E X? LAT E X is not: Word processor

More information

Introduction to L A TEX

Introduction to L A TEX A very short Introduction to L A TEX Florence Débarre UBC Delta Tea April 2012 Outline 1 General philosophy 2 The source document Preamble Structure Paragraphes Images Tables Equations Languages Customization

More information

Other trimming occurred by removing facilities that were hardly ever used.

Other trimming occurred by removing facilities that were hardly ever used. HYTEX User s Manual Rob J Hyndman Version 7.0, April 2007 HYTEX is a L A TEX style file for producing even better documents. It is a collection of commands that I have found useful and think other L A

More information

A brief introduction to L A TEX

A brief introduction to L A TEX A brief introduction to L A TEX Chris Bowers October 16, 2007 What is L A TEX? TEX developed late 70 s as typesetting language. L A TEX is a set of macro extensions to TEX It s a document preparation system.

More information

A quick guide to L A TEX

A quick guide to L A TEX A quick guide to L A TEX L A TEX is more of a programming language. The text you produce in your input file will look almost completely different from the final result in print. This requires knowledge

More information

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

L A TEX. The Logo. Introduction to L A TEX. Overview. Primary Benefits. Kinds of Documents. Bill Slough and Andrew Mertz The Logo Introduction to L A TEX Bill Slough and Andrew Mertz L A TEX Mathematics and Computer Science Department Eastern Illinois University January 20, 2010 Overview TEX and L A TEX What is L A TEX?

More information

Square cells: an array cooking lesson

Square cells: an array cooking lesson The PracTEX Journal TPJ 2005 No 02, 2005-04-15 Rev. 2005-03-25 Square cells: an array cooking lesson Will Robertson 1 Square cells in tabular Late last year, there was a question on the Mac OS X TEX mailing

More information

LAT E X week 2: Basics for Writing a Document

LAT E X week 2: Basics for Writing a Document L A T E X week 2: Basics for Writing a Document University of California Berkeley September 13, 2007 Example Latex Document \documentclass{class here} \usepackage{package 1,package 2} \setlength{\oddsidemargin}{0in}

More information

Introduction to L A TEX

Introduction to L A TEX NMT May 18, 2016 Written by Ian Jones Revised by Caleb Hightower Contents 1 What is L A TEX? 2 2 Your First L A TEX Document 2 2.1 Getting Started............................ 3 3 Document Structure 4 3.1

More information

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

Workshop on LATEX 2ε. Asst. Prof. Dr. Kemal Bagzibagli Department of Economics. 20 May 2015 Workshop on LATEX 2ε Asst. Prof. Dr. Kemal Bagzibagli Department of Economics 20 May 2015 1 Outline 1 Introduction 2 Some L A TEX Features 3 Input File Structure 4 The Layout of the Document 5 Special

More information

Text typesetting guide

Text typesetting guide Text typesetting guide Carleton College L A TEX workshop Although L A TEX is best known for its mathematical typesetting, it is also very good at typesetting plain text. It offers a variety of features

More information