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

Size: px
Start display at page:

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

Transcription

1 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, advantages and mechanisms of this language, and then give some examples and extension. Finally, I ll try to give a sample file with some indications so that you are able to create your own! 1 Some historic elements L A TEXhas been created in 1983 by Leslie Lamport (a famous American researcher), but actually relies on TEXa language created by Donald Knuth (another very famous American researcher). The goal of L A TEXis to help create scientific articles. It is a word processor, but it is different from Word for instance. Indeed, Word is what we usually call a WYSIWYG ( What You See Is What You Get ), while L A TEXis not. The creation date of TeX and LaTeX are very important. At that moment, Word did not exist at all, and it was difficult to create document with complex mathematic formulas. Remember that the equation functionnalitiees in Word apppeared quite recently, in Before TeX, the common way of typing documents was... typewriter! Specific typewriters with mathematics symbols were used by secretaries to type under the dictation of author. 2 Principles and distributions of LaTeX As I said above, LaTeX is a word processor. The idea is that you type some code (a good comparison is html; as in html, the elements and the structure of a LaTeX document are represented by tags) and a program (pdflatex for instance) processes the file and creates a document (pdf for instance). Several versions of LaTeX exist, with different feature. The very basic version of LaTeX is pdflatex. This verison is the most widely used. A second version of LaTeX is XeTeX. XeTeX is another version of LaTeX which is more efficient with utf-8 special characters. However, XeTeX is less compatible with some LaTeX packages, including widely used ones. A third 1

2 version of LaTeX is LuaLaTeX. This version has been considered by many people (and for years) as the future of LaTeX. I must admit that I don t know much about this distribution, except that it is based on a scirpting language called Lua. This version, however, is supposed to solve many problems of LaTeX, as compatibility, utf-8 and so on. The extension for latex files is.tex. To compile it with PdfLaTeX, just type pdflatex yourfile.tex. This will produce several files, an auxiliary file (.aux) with information about your document (figures etc.), a log file and the most important a pdf file! This pdf file is the output of your.tex file, and shoud correspond to what is inside. Smoe numberings should not be fine. If so, compile a second time. When compiling, LaTeX also creates indexes inside the aux file, but you may need to compile a second time so that the output file takes it into consideration. I will go back to some advanced features, as tables of content and bibliography in a future post. 3 Editing with LaTeX In this section, we give basics of edition with LaTeX. In the first part, we give the very basics to create a latex document. In the second part of this section, we give some notes on more advanced formatting, as layout or fonts. 3.1 Basics The general structure of a LaTeX document is as follows: \ documentclass [ option ] { c l a s s } \ usepackage [ u t f 8 ] { inputenc } \ usepackage [OT1] { f o n t e nc } \ usepackage [ option ] { package } \ t i t l e { t i t l e } \ author { author } \ date { date } \begin{document} document \end{ document} Let s analyze this sample file in more details. The first line defines the type of document (article, presentation, report, PhD thesis, book... ). Some options can also be defined here. 2

3 First, the format of the pages (a4paper, a3paper, letterpaper... ), and the font size (10pt, 11pt or 12pt). Second, some packages, to define the encoding, the font etc. of the file. Here, we use two packages: fontenc and inputenc. The inputenc package gives the encoding of the file (ISO, UTF8 etc.), and the fontenc package gives the kind of font that is used (I recommend OT1). Finally, we can add other packages for anything: figures (tikz), math special symbols (amsmath, amssymb) etc. Then, we define some constants for the file: the authors, the title and the date (if the date is not defined, it will be set as today); these constants will be used in the title page The \begin{document} \end{document} environment defines the output of the latex file. It usually begins with a \titlepage, which will generate a title page or section. 3.2 Commands and environment To write special characters and display specific elements, it is necessayry to use two kinds of special features, commands and environments. Basically, we can say that these two features are closely related, and can be used to change the family of the font, create lists and color text. The main difference is that commands are often aimed at elements of less that one line, while environment are aimed at elements of more than one line. For instance, creatig lists is performed through an environment, while putting text in italics is performed by using a command. Some commands and environments are available only after loading some packages. Commands are used by \commandname{parameter1}{parameter2}... For instance, displaying the LaTeX logo is done by writing \LaTeX (no parameter). The environment are defined using the keywords \begin{environmentname}{parameter1...}[options] and \end{environmentname}. For instance, to create a figure, we type \begin{figure}our figure\end{figure}. Now, let have a look to the most common commands and environments. Basic commands and environments include \textit{text} to put text in italics (changes the font) \textsl{text} to slope the text (does not change the font) \texttt{text} to write the text in a monospace typemachine style \textbf{text} to write in bold \underline{text} to underline the text 3

4 \begin{itemize} \item an item \end{itemize} creates an unordered list. The bullets are \item \begin{enumerate} \item an item \end{enumerate} creates an ordered list. The numbers are \item \begin{figure} my figure \caption{my caption} \label{my label} \end{figure} creates a floating environment for figures. The figure can be an outside image, using \includegraphics (see below), but also a graphics created thanks to Tikz, \includegraphics{path/to/image} includes an outside picture (in png, jpg, jpeg or pdf format), needs to include the graphicx package, \label{key} and \ref{key} is used to reference another part of the document. To crate a reference, put a \label{key} wherever you want (inside text, figure... ) and to make a reference, put a \ref{key} with the corresponding key. As a result, you will see the corresponding numbering appears in the output. \colortext{color}{text} needs xcolor package and allows to color text (basic colors are white, black, red, green, blue, cyan, magenta and yellow. 4 Basics of Maths To introduce inline maths in LaTeX, we surround the maths with $. For instance, $\dfrac{a}{2}$ will display a. It is also possible to write maths 2 in a new line surrounding maths by $$. For instance $$a=5$$ will display a = 5 on a new line. However, by using the amsmath package, it is also possible to enumerate equations, by using the environment equation. This environment will do the same as $$, but will also numerate the equations, which is a good practice. The tags will totally replace the dollar signs, which are not needed at all. Some commands are particular to the math mode, and allow writing equations. Basic math commands include: 4

5 \times: \cdot: ^{text} will put the text as superscript: text _{text} will put the text as subscript: text it is possible to write the sum symbol with \sum, and the product one with \prod: If I give here the very basics of the math commands and environment are here, there is much more: Greek letters, logic symbols... There is much more to explore, and a specific Stackexchange forum is dedicated to Latex. Extensions and libraries OK. Now, let talk about something very important: libraries. LaTeX is designed to work with libraries, and this is one of its main advatages. Drawing, defining theorems, or even write runic symbols. There are libraries for all these purcposes. Let first talk about drawing Tikz and Pgf Tikz and Pgf, as Beamer (see below) have been created by the same contributor, Till Tantau. Tikz is the most used LaTeX library for drawing. It is used to create many figures, and create them as vectorial representation. Vectorial representation represents image as lines and shapes, not as pixels, which means that images cannot be pixelled, and quality is infinite. Tikz allow to create anything that can be represented by shapes, and is based on a lower level library, Pgf. It is for instance possible to create curves, graphs and diagrams. Tikz is quite a high level library. It is por instance possible to manipulate objects as nodes (for graphs), edges, arrows, curved lines, and shapes as circles, ellipses and diamonds. Tikz uses its own libraries, to avoid compiling too much code (as all code loaded in a LaTeX document is compiled, even if it is not used). It is then necessary to indicate Tikz what library you want to use if you want to use advanced features. You can find an example of a Tikz figure in the section example below. As I mentionned, it is possible to create any kind of figures in Tikz, and Tikz is based on Pgf. However, it is also possible to use other libraries based on Pgf. It can be useful when Tikz seems too low level, for instance if you want to create charts. One of the most efficient libraries in this case is pgfplots. This library enables the creation of various charts, lines as much as bar, combo areas etc. PgfPlots is even able to crate 3D charts. Once again, you can have a look on several figures created by PgfPlots in the example section, below. Before looking at other libraries, I let you several documents and pages. First, the official manual of pgf and Tikz, written by Till Tantau himself. Then, and this is a present for my French fellows, a very, very good manual for Tikz, Tikz pour l impatient. Then, for PgfPlots, the official manual of this library,. And to conclude, a very good website with wonderful examples of Tikz figures. Maths and theorems 5

6 Now, let assume you want to write maths and redact theorems. A very good package for that is amsthm. This package enables writing personalized theorems, definitions and proofs. As usual, an example is given below, in the example section. Another package, which enables writing some complex math is amsmath. This package makes it possible to write sets as naturals (N), real numbers (R), calligraphic math letters (A, B for instance). As I told, this article is only aimed at introducing the basics of LaTeX, and there much more to see and to Explore. From time to time, I ll give some examples and additionnal informations on features I have found, but the best way to begin is to download it, either the TeXLive or MikTeX distribution. TeXLive comes with an editor, TeXMaker, but for Linux users, I would recommend Kile. Finally, for French learners, the Openclassroom tutorial is quite good and takers it all from the beginning. 6

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

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

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

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

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

Abstract A quick intro by examples to the document preparation language L A TEX. Jumpstart LaTeX Bo Waggoner Updated: 2014-09-15 Abstract A quick intro by examples to the document preparation language L A TEX. 1 Overview LaTeX is essentially a programming language that, when executed,

More information

Introduction to L A TEX

Introduction to L A TEX Introduction to L A TEX Mark Baltovic MA498 - Dissertation in Mathematics Objectives of this session What is L A TEX? The L A TEX source file Inside the body of the text Typesetting mathematics Internal

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

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

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

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

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

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

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

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

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

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

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

Lecture 1: Short summary of LaTeX basics

Lecture 1: Short summary of LaTeX basics Laura Konstantaki Lecture 1: Short summary of LaTeX basics Feel at ease with LaTeX Unless otherwise noted, this work is licensed under a Creative Commons Attribution 4.0 International License, which means

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

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

Helen Cameron. A Brief Overview of LATEX

Helen Cameron. A Brief Overview of LATEX A Brief Overview of L A TEX What Is L A TEX? L A TEX is a document preparation system designed by Leslie Lamport on top of Donald Knuth s TEX. Useful Websites There s a useful wikibook about L A TEX at

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

Introduzione a LaTex. Fabrizio Messina

Introduzione a LaTex. Fabrizio Messina Introduzione a LaTex Fabrizio Messina messina@dmi.unict.it www.dmi.unict.it/~fmessina Tex and LaTex TEX is a formatting program created by Donald E. Knuth from 1977. Typesetting text and mathematical formulae.

More information

1 Obtaining LyX and L A TEX

1 Obtaining LyX and L A TEX A Guide to LyX and L A TEX Based off A Quick Guide to LyX by Jessica Moses 08 October 2011 Many economists (and academics in mathematics-heavy disciplines) use a program called L A TEX to create documents.

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

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

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

LaTeX. Information Literacy II EN(IL2) Course

LaTeX. Information Literacy II EN(IL2) Course LaTeX Information Literacy II EN(IL2) Course Previous Lecture Saving plots to file Customizing plots Bar and pie charts Today Introduction to Latex - Basic commands - Structure of the document - 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

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

VERY VERY SHORT GUIDE TO LATEX

VERY VERY SHORT GUIDE TO LATEX - a System VERY VERY SHORT GUIDE TO LATEX School of Mathematics September 2017 - a System Advantages... Disadvantages... The Basics THE BASIC IDEA A word processor allows the user to design the document

More information

Introduction to L A TEX

Introduction to L A TEX Introduction to L A TEX Zitro December 27, 2017 Zitro Introduction to LATEX December 27, 2017 1 / 17 Introduction Introduction What is L A TEX? Where can I use it? Should I use it? Zitro Introduction to

More information

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

How to L A TEX. George Wong, David Mykytyn. 6 October 2016 How to L A TEX George Wong, David Mykytyn 6 October 2016 1 What is L A TEX? Used in textbooks, journal/conference articles, and lab reports! You provide the material and L A TEX renders according to typographical

More information

My Full-Length Title

My Full-Length Title My Full-Length Title X. Author1 1 Y. Author2 2 1 Department of Mathematics University of Author1 2 Department of Engineering University of Author2 Texas A&M University pre-reu program, 2012 Author1, Author2

More information

Learn how to [learn] LATEX

Learn how to [learn] LATEX Learn how to [learn] L A TEX November 19, 2010 This document is available at http://web.mit.edu/jgross/ Public/2010cluedump/Slideshow.pdf. Outline Installing L A TEX What is L A TEX? Getting Help Basic

More information

simpletex Documentation

simpletex Documentation simpletex Documentation Release v0.2.1 Samuel Li Aug 06, 2018 Contents 1 Getting Started 3 2 API Documentation 11 Python Module Index 17 i ii simpletex is a Python library for automatically generating

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

Learning LaTeX: The Basics

Learning LaTeX: The Basics Learning LaTeX: The Basics The best way to learn LaTeX is by trial and error, with a lot of experimenting, and using other people s.tex files as a model. Google is also a good source: for example, googling

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

Epyt Theme for Beamer

Epyt Theme for Beamer Epyt Theme for Beamer A simple and clean theme Your Name Here Center for Presentation Design May 25, 2016 1 Black in White Introduction Epyt is a simple but nice theme for Beamer, with the following features:

More information

A Short L A TEX Introduction

A Short L A TEX Introduction A Short L A TEX Introduction Dr Will Hossack School of Physics & Astronomy tele: 50-5261 Will.Hossack@ed.ac.uk February 2016 What is L A TEX L A TEX(being Layman s-tex) is a text-formatting mark-up language,

More information

Helen Cameron. A Brief Overview of LATEX

Helen Cameron. A Brief Overview of LATEX A Brief Overview of L A TEX What Is L A TEX? L A TEX is a document preparation system designed by Leslie Lamport on top of Donald Knuth s TEX. Useful Books Leslie Lamport. L A TEX: A document preparation

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

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

Introduction to L A T E X

Introduction to L A T E X L A T E X R. M. Department of Mathematics University of Kentucky 6 October 2008 / L A T E X Outline T E X T E X was begun by Donald Knuth in 1977 because he did not like the appearance of his book The

More information

L A TEX Course at ICT School

L A TEX Course at ICT School L A TEX Course at ICT School Let s add some mathematics Alexandre L École polytechnique, F labrosse@kth.se KTH Royal Institute of Technology Spring 2012 Course overview 1. Basics and tips for your first

More information

Formatting with LaTeX

Formatting with LaTeX Formatting with LaTeX Zuyuan Wang School of Mechanical Engineering Purdue University wang1707@purdue.edu June 23, 2016 Seminar @ SURF 2016 About the SURF GAs Formatting with LaTeX (02/35) 06/23/2016 Purdue

More information

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

Math 291: Lecture 2. Justin A James. Minnesota State University Moorhead web.mnstate.edu/jamesju/ Math 291: Lecture 2 Justin A James Minnesota State University Moorhead web.mnstate.edu/jamesju/ jamesju@mnstate.edu January 23, 2017 Justin A James (MSUM) Math 291: Lecture 2 January 23, 2017 1 / 19 1

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

The Joys of L A T E X

The Joys of L A T E X The Joys of L A T E X A 60 minute lecture, with examples, introducing the world s standard typesetting language. Vadim Ponomarenko Department of Mathematics and Statistics San Diego State University February

More information

GENERAL INFORMATION INSTRUCTIONS FOR MANUSCRIPT SUBMISSION

GENERAL INFORMATION INSTRUCTIONS FOR MANUSCRIPT SUBMISSION GENERAL INFORMATION ROMANIAN JOURNAL OF PHYSICS is a publication of the Romanian Academy. The journal was first published in 1992, as a continuation of the former REVUE ROUMAINE DE PHYSIQUE (established

More information

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

How to Prepare Your Paper in L A T E X for IOE Graduate Conference 2017 Proceedings of IOE Graduate Conference, 2017 pp. 1 5 How to Prepare Your Paper in L A T E X for IOE Graduate Conference 2017 Jayandra Raj Shrestha a, Binod Kumar Bhattarai b, Arun Kumar Timalsina c a,

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 1 L A TEX. 1.1 Text

Latex Tutorial 1 L A TEX. 1.1 Text Latex Tutorial This tutorial was originally prepared by Joel Wein of MIT. You may find it helpful in preparing your notes. Anything I send you in the template file supercedes what is written here. Yishay

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

Introduction to L A TEX

Introduction to L A TEX Introduction to L A TEX Javier Larrosa UPC Barcelona Tech November 2, 2016 Observation: I have never studied L A TEX. I have learned just what I have needed and forgotten quickly Javier Larrosa (UPC Barcelona

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

Workshop P. Stallinga 16-X-2012

Workshop P. Stallinga 16-X-2012 Workshop P. Stallinga 16-X-2012 What is LaTeX? A layer on top of TeX (Tau Epsilon Chi) of Donald Knuth* TeX is a typesetting system LaTeX is a set of 'macros' defined in TeX LA stands for 'Level of abstraction'

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

An Introduction to LATEX

An Introduction to LATEX An to L A TEX Iryna Schlackow Mathematical Institute This talk and other useful L A TEX-related information is available at http://www.maths.ox.ac.uk/help/faqs/latex/ May 21, 2009 An to LATEX The Name

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

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

The Name of the Game. An Introduction to LATEX. Why L A TEX? The Name of the Game The Name of the Game An to L A TEX Iryna Schlackow Mathematical Institute This talk and other useful L A TEX-related information is available at http://www.maths.ox.ac.uk/help/faqs/latex/ TEX is a computer

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

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

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

A Very Brief Introduction to L A T E X MAT 3535 A Very Brief Introduction to L A T E X MAT 3535 Wm C Bauldry BauldryWC Spring Semester, 2006 Wm C Bauldry (BauldryWC) A Very Brief Introduction to LAT E X MAT 3535 Spring Semester, 2006 1 / 19 Topics 1

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

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

An introduction to LaTeX

An introduction to LaTeX An introduction to LaTeX - a document preparation language Shaun Cole (from an original lecture by Cedric Lacey) You can find these notes and some LaTeX examples on my web page: http://astro.dur.ac.uk/~cole/intro_latex_pg

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

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

THIS IS AN INTRODUCTION TO. LaTeX. Introduction to Latex. University of Minnesota, November 7, 2016 THIS IS AN INTRODUCTION TO LaTeX Introduction to Latex Jimmy Broomfield University of Minnesota, November 7, 2016 1 / Jimmy Broomfield Introduction to LaTeX 1/22 22 Outline Introduction Installation Getting

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

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

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

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

An Interactive Introduction to L A TEX

An Interactive Introduction to L A TEX An Interactive Introduction to L A TEX Part 1: The Basics Dr John D. Lees-Miller December 2, 2017 Why L A TEX? It makes beautiful documents Especially mathematics It was created by scientists, for scientists

More information

Typing Mathematics. Darrin Doud

Typing Mathematics. Darrin Doud Typing Mathematics in LATEX Darrin Doud Darrin Doud Department of Mathematics Brigham Young University Provo, UT 84602 doud@math.byu.edu Copyright c 2018 Version: 0.01 Date: January 31, 2018 Contents 1

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

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

Document Preparation Using L A TEX

Document Preparation Using L A TEX Document Preparation Using L A TEX 1 1 Department of Mathematics Michigan State University East Lansing, MI USA weil@math.msu.edu October 28, 2008 Before L A TEX Was TEX TEX is a professional typesetting

More information

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

Math 291: Lecture 2. Presented by Prof. James for Prof. Fagerstrom Math 291: Lecture 2 Presented by Prof. James for Prof. Fagerstrom Minnesota State University Moorhead web.mnstate.edu/fagerstrom/ fagerstrom@mnstate.edu January 18, 2018 Presented by Prof. James for Prof.

More information

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

LATEX. Leslie Lamport. Digital Equipment Corporation. Illustrations by Duane Bibby. v ADDISON-WESLEY LATEX A Document Preparation System User's Guide and Reference Manual Leslie Lamport Digital Equipment Corporation Illustrations by Duane Bibby v ADDISON-WESLEY Boston San Francisco New York Toronto Montreal

More information

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

(Yet Another) Introduction to L A TEX 2ε (V3) (Yet Another) Introduction to L A TEX 2ε (V3) Matteo Carrara August 30th, 2013 (Yet Another) Introduction to LATEX2ε (V3) 1 / 29 What is L A TEX 2ε? Typesetting system that is very suitable for producing

More information

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

An Interactive Introduction to L A TEX. Part 1: The Basics. John Lees-Miller. writel A TEX An Interactive Introduction to L A TEX Part 1: The Basics John Lees-Miller writel A TEX Why L A TEX? I It makes beautiful documents I Especially mathematics I It was created by scientists, for scientists

More information

Effective Programming Practices for Economists

Effective Programming Practices for Economists Effective Programming Practices for Economists 4. A L A T E X primer Hans-Martin von Gaudecker Department of Economics, Universität Bonn The case for plain L A T E X Version control works best with simple

More information

The Joys of L A T E X

The Joys of L A T E X The Joys of L A T E X A 45 minute lecture, with examples, introducing the world s standard typesetting language. Vadim Ponomarenko Department of Mathematics and Statistics San Diego State University June

More information

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

Getting Started with L A T E X for a Technical Document or Thesis Getting Started with L A T E X for a Technical Document or Thesis University of Waterloo Nov 2015 Outline What is LAT E X? 1 What is L A T E X? 2 3 4 5 What is L A T E X? What is LAT E X? L A T E X is

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 1 Outline 1 Introduction 2 How to Get L A T E X 3 Text Mode 4 Math Modes 5 Document Structure 6 Extra Stuff Introduction 3 4 Introduction Today is November 11, 2009 Introduction

More information

L A TEX: Eh? What is it, what isn t it, who cares? Andy Caird. LATEX: Eh? p.1/13

L A TEX: Eh? What is it, what isn t it, who cares? Andy Caird. LATEX: Eh? p.1/13 LATEX: Eh? p.1/13 L A TEX: Eh? What is it, what isn t it, who cares? Andy Caird acaird@umich.edu LATEX: Eh? p.2/13 L A TEX It is not a word-processor. LATEX: Eh? p.2/13 L A TEX It is not a word-processor.

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

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

A Brief Introduction to L A TEX

A Brief Introduction to L A TEX A Brief Introduction to L A TEX Amanda Kriesel Metropolitan Community College, Nebraska akriesel@mccneb.edu April 7, 2016 Amanda Kriesel (MCC) LaTex April 7, 2016 1 / 17 Table of Contents 1 What is L A

More information

CSCE 222 Discrete Structures for Computing. LaTeX. Dr. Hyunyoung Lee. !!!!! Based on slides by Andreas Klappenecker

CSCE 222 Discrete Structures for Computing. LaTeX. Dr. Hyunyoung Lee. !!!!! Based on slides by Andreas Klappenecker CSCE 222 Discrete Structures for Computing LaTeX Dr. Hyunyoung Lee!!!!! Based on slides by Andreas Klappenecker 1 Tripitaka Koreana Palman Daejanggyeong ( Eighty-Thousand Tripitaka ) South Korean collection

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

L A TEX Workshop. An Introduction to L A TEX. Rakesh Jana Research Scholar Department of Mathematics IIT Guwhati

L A TEX Workshop. An Introduction to L A TEX. Rakesh Jana Research Scholar Department of Mathematics IIT Guwhati L A TEX Workshop An Introduction to L A TEX Rakesh Jana j.rakesh@iitg.ernet.in Date: 2018/08/24 Research Scholar Department of Mathematics IIT Guwhati Overview 1. What is L A TEX? 2. First L A TEX document

More information

L A TEX for psychological researchers

L A TEX for psychological researchers Kahoot! L A TEX for psychological researchers Lecture 1: Introducton Sacha Epskamp University of Amsterdam Department of Psychological Methods 27-01-2015 Contact Details Workshop website: http://sachaepskamp.com/latex-workshop

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

Getting started with Latex

Getting started with Latex Getting started with Latex Robert G. Niemeyer University of New Mexico, Albuquerque October 15, 2012 What is Latex? Latex is a mathematical typesetting language. Essentially, when you are using Latex to

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

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

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