How to get started in LATEX. Florence Bouvet

Size: px
Start display at page:

Download "How to get started in LATEX. Florence Bouvet"

Transcription

1 1 How to get started in LATEX Florence Bouvet

2 2 Introduction L A TEX is a document preparation system for high-quality typesetting. L A TEX is not a word processor! Instead, L A TEX encourages authors not to worry too much about the appearance of their documents, but to concentrate on getting the right content.

3 3 Disadvantages One can t see the final result straight away. One needs to know the necessary commands for LaTeX markup. It can sometimes be difficult to obtain a certain look.

4 4 Advantages On the other hand, there are certain advantages to the markup language approach: The document looks professional. The layout, fonts, tables, etc. is consistent throughout. Mathematical formulae can be easily typeset. Indexes, footnotes, references, etc., are generated easily. It encourages correctly structured documents. It is available (and transportable) across many platforms (Windows, Mac, Unix and Linux are all supported).

5 5 Typesetting journal articles, technical reports, books, and slide presentations. Control over large documents containing sectioning, cross-references, tables and figures. Typesetting of complex mathematical formulae. Advanced typesetting of mathematics with AMS-L A TEX. Automatic generation of bibliographies and indexes. Multi-lingual typesetting. Inclusion of artwork, and process or spot color. Using PostScript or Metafont fonts.

6 6 Some very Basics What you need to get started: MikTex ( an Editor, such as WinEdt. (

7 Document Structure Latex practically forces you to declare structure within your documents. Let s take the example of the structure of an article. Preamble This is everything from the start of the Latex file to the \begin{document} command. It contains commands and packages that affect the entire document. Here is for example what I wrote to start this introduction to L A TEX. 7 \documentclass[12pt, letterpaper]{article} \setlength{\topmargin}{-0.8in} \setlength{\textwidth}{6.6in} \usepackage{hyperref} \usepackage{indentfirst} \renewcommand{\baselinestretch}{1.24}

8 The class is given by the \documentclass{...} command. Valid LaTeX document classes include: article report letter book slides Top Matter At the beginning of most documents will be information about the document itself, such as the title and date, and also information about the authors, such as name, address, etc. \title {How to get started in L A TEX} \author {Florence Bouvet, based on A TEX} \date{today } \maketitle 8

9 9 Abstract Here is what the command looks like: \begin {abstract} blablabla... \end {abstract }

10 10 Main body and Sectioning Commands The commands for inserting sections are quite intuitive. Command Level \part{a title without number} -1 \chapter{a title without number} 0 \section{a title without number} 1 \subsection{a title without number} 2 \subsubsection{a title without number} 3 \paragraph{a title without number} 4 \subparagraph{a title without number} 5 Numbering will be done automatically. L A TEX has a command that makes it easy to manage references (for sections, tables, figures). To allow cross-referencing, you should assign a key to the element you want to refer to and then use that key to refer to that element.

11 11 For example, at the end of the introduction: \section{literature Review} \label{litreview} Then in the introduction you would write: Section \ref{litreview} summarizes the recent literature on European integration...

12 12 Bibliography Bibtex allows you to store all your references in an external, flat-file database. A Bibtex database is stored as a.bib file. The structure of the file is also quite simple. An example of a Bibtex author = George D. Greenwade, title = The Comprehensive Tex Archive Network (CTAN), year = 1993, journal = TUGBoat, volume = 14, number = 3, pages = }

13 13 If there are several author = Michel Goossens and Frank Mittlebach and Alexander Samarin, title = The Latex Companion, year = 1993, publisher = Addison-Wesley, address = Reading, Massachusetts }

14 14 Getting current Latex document to use your.bib file. At the end of your Latex file (that is, after the content, but before \end{document}), you need to place the following commands: \bibliographystyle{plain} \bibliography {sample} If you want your citation to have a different style, you should use the Natbib package. In fact, it can supersede Latex s own citation commands, as Natbib allows the user to easily switch between Harvard or numeric. The first job is to add the following to your preamble in order to get Latex to use the Natbib package: \usepackage{natbib}

15 15 Also, you need to change the bibliography style file to be used. Let s say we want to use AER style. We need to edit the appropriate line at the bottom of the file so that it reads: \bibliographystyle{aer}. Once done, it is basically a matter of altering the existing \cite commands to display the type of citation you want: Citation command Natbib output \citet{goossens93} Goossens et al. (1993) \citep{goossens93} (Goossens et al., 1993) \citet*{goossens93} Goossens, Mittlebach, and Samarin (1993) \citep*{goossens93} (Goossens, Mittlebach, and Samarin, 1993)

16 Formatting Text FormattingIf you use an editor such as WinEdt, it s quite easy to find accents (in the international tool folder), maths symbols, Greek letters, etc... Getting the right font size is also quite easy: 16 Command \tiny \scriptsize \footnotesize \small \normalsize \large \Large \LARGE \huge \HUGE Output Size Size Size Size Size Size Size Size Size Size

17 17 Paragraph Formatting Here are the commands: Alignment Environment Command Left justified flushleft \raggedright Right justified flushright \raggedleft Center center \centering

18 18 There are two ways to change the line spacing: Add \usepackage{setspace} to the document preamble. This then provides the following environments to use within your document: doublespace - all lines are double spaced. onehalfspace - line spacing set to one-and-half spacing. singlespace - normal linespacing. Add \renewcommand{\baselinestretch}{number} to the document preamble. Spacing 10pt 11pt 12pt one and one-half double

19 19 List Structure Lists often appear in documents, especially academic, as their purpose is often to present information in a clear and concise fashion. List structures in Latex are simply environments which essentially come in three flavors: itemize, enumerate and description. All lists follow the basic format: \begin {list type} \item The first item \item The second item \item The third item, etc... \end {list type}

20 Footnotes The footnote facility is easy to use. The command you need is: \footnote{text}. Do not leave a space between the command the word where you wish the footnote marker to appear, otherwise Latex will process that space and will leave the output not looking as intended. 20

21 21 Page Layout Geometrical Dimension of the Layout Here are some parameters controlling the page layout that I use for this document. They should be put in the preamble of the document: \setlength{\topmargin}{-0.8in} \setlength{\textwidth}{6.6in} \setlength{\textheight}{9.35in} extra vertical space added at the top of the header width of the text body height of the text body

22 22 Pages Styles There are two commands at your disposal for changing the page style. \pagestyle{style} will apply the specified style to the current and all subsequent pages. \thispagestyle{style} will only affect the current page. The possible styles are: empty plain headings myheadings Both header and footer are clear Header is clear, but the footer contains the page number Header displays page number and other information which the document class deems important, e.g., section headers Similar to above, however, is possible to control the information in the header

23 An issue to look out for is that the major sectioning commands (\part, \chapter or \maketitle) specify a \thispagestyle{plain}. So, if you wish to suppress all styles by inserting a \pagestyle{empty} at the beginning of your document, then the style command at each section will override your initial rule, for those pages only. To achieve your intended result, you will have to follow the offending commands with \thispagestyle{empty}. 23

24 Customizing with fancyhdr To begin, add the following lines to your preamble: \usepackage{fancyhdr} \pagestyle{fancy} Both the header and footer are comprised of three elements each according to its horizontal position (left, center or right). To set their values, the following commands are available: \lhead[lh-even]lh-odd \foot[lf-even]lf-odd \chead[ch-even]ch-odd \cfoot[cf-even]cf-odd \rhead[rh-even]rh-odd \rfoot[rf-even]rf-odd Here is an example of what I used in my dissertation 24 \thispagestyle{plain} \chead{} \lfoot{} \cfoot{} \rfoot{} \rhead[\ fancyplain{}{}]{\fancyplain{\thepage}{\thepage}} \lhead[]{\em Chapter \thechapter: Introduction}

25 25 Manual Page Formatting Latex offers the following: \newline \linebreak \newpage \pagebreak \nopagebreak \clearpage Breaks the line at the point of the command. Breaks the line at the point of the command, but also stretches the line to the margin. Ends the current page Breaks the current page at the point of the command. Stops the page being broken at the point of the command. Ends the current page and causes any floats encountered in the input, but yet to appear, to be printed.

26 26 Tables The tabular is an environment, designed for formatting your data into nicely arranged tables. The following symbols are available to describe the table columns: l left-justified column c centered column r right-justified column pwidth paragraph column with text vertically aligned at the top mwidth paragraph column with text vertically aligned in the middle bwidth paragraph column with text vertically aligned at the bottom vertical line double vertical line Once in the environment & column separator \\ start new row \hline horizontal line

27 OLS OLS OLS 2SLS ERDF per capita ** ** ** (0.0002) (0.0002) (0.0003) (0.0012) Interaction Poor*ERDF (0.0005) Initial GVA per capita *** *** *** in each period (0.004) (0.004) (0.024) (0.036) Lagged GVA per capita 0.01*** (0.003) Lagged Unemployment rate 0.009** (0.004) Lagged Share of agriculture *** in employment (0.003) regions dummies yes yes yes yes First Stage R-squared R-squared Obs

28 28 Here is the code to make this table \begin{tabular}{ lcccc } \hline & OLS & OLS & OLS & 2SLS \\ ERDF per capita & ** & & ** & **\\ & (0.0002) & (0.0002) & (0.0003) & (0.0012) \\ Interaction Poor*ERDF & & & & \\ & & (0.0005) & & \\ Initial GVA per capita & *** & *** & *** & \\ in each period & (0.004) & (0.004) & (0.024) & (0.036)\\ Lagged GVA per capita & & & 0.01*** & \\ & & & (0.003) & \\ Lagged Unemployment rate & & & 0.009** &\\ & & & (0.004) & \\ Lagged Share of agriculture & & & *** &\\ in employment & & & (0.003) &\\ regions dummies & yes & yes & yes & yes\\ First Stage R-squared & & & & 0.671\\ R-squared & & & & \\ Obs. & 323 & 323 & 217 & 156 \\ \hline \end{tabular} Use the macro Excel2Latex in Excel to convert your Excel table into L A TEX.

29 29 Importing Images and creating Figures In many respects, importing images is easy, once you have the right format. The most common format is Encapsulated Postscript (EPS). Once the pictures are in EPS, you need to put \usepackage{graphicx} in the preamble of your document. The syntax for using graphicx is: \begin{figure}[h] \centerline{\includegraphics[scale=0.5]{latexkopka.eps}} \caption{a Guide to LATEX}\label{kopka} \end{figure} This is what I wrote to add Figure 3. Need for to DVI the file and then DVI to PDF.

30 30 One can also use PDF files for figures. Then, in the preamble, you need to replace the command \usepackage{graphicx} by \usepackage[pdftex]{graphicx}. You can specify where in the text you want the figure to be. Specifier Permission h Place the float here, i.e., at the same point it occurs in the source text. t Position at the top of the page. b Position at the bottom of the page. p Put on a special page for floats only.! Override internal parameters Latex uses for determining good float positions.

31 Use \listoffigures to add a list of the figures in the beginning of the document. When a label is declared within a float environment (table or figure), the \ref will return the respective fig/table number (although, it must occur after the caption). When declared outside, it will give the section number. 31

32 32 Mathematics Latex needs to know beforehand that the subsequent text does in fact contain mathematical elements. This is because Latex typesets maths notation differently than normal text. Environment Latex shorthand Tex shorthand Text \begin{math}...\end{math} \(...\) $...$

33 33 To create a fraction, you must use the \frac{numerator}{denominator} command. Here is an example: \frac{6xˆ{3}+36xˆ{2}}{(x+4)ˆ{2}} 6x 3 +36x 2 (x+4) 2

34 34 Powers and indices are mathematically equivalent to superscripts and subscripts in normal text mode. The carat (ˆ) character is used to raise something, and the underscore ( ) is for lowering. How to use them is best shown by example: xˆ{2n} n {i, j, t} xˆ{2i} {3j} x 2n n i,j,t x3j 2i

35 35 You might need to use another type of brackets with maths: \frac{d}{dx}[\frac{f(x)}{g(x)}] \bigg(\frac{y}{l}\bigg)\frac{l}{pop} \left(\frac{2x}{5y}\right) d dx [ f (x) ( g(x) ) ] Y L L pop ( ) 2x 5y

36 36 If you have an equation that fits on one line: this is the code you should use: d dx [f (x)n ] = n(f (x) n 1 )f (x) (1) \begin {equation} \label{...} \frac{d}{dx}[f (x)ˆ{n}] = n(f (x)ˆ{n 1})f (x) \end {equation}

37 37 If you have an equation that does not fit on one line, you should use \multline instead of the \equation command: ln ERDF i,t = β o + β 1 lngva i,t 1 + β 2 ln Unemployment i,t 1 + β 3 ln Agriculture i,t 1 + µ t + ε i,t (2)

38 38 this is the code you should use: \begin {multline} \label{erdf} \ln ERDF {i,t} =\beta {0} + \beta {1}\ln GVA {i,t-1} + \beta {2}\ln Unemployment {i,t-1}+ \\ \beta {3}\ln Agriculture {i,t-1} + \mu {t}+ \varepsilon {i,t} \end {multline}

39 Some References A Guide to LATEX: Document Preparation for Beginners and Advanced Users, Helmut Kopka. This book is exactly what it says - geared for both beginners and advanced users; it is especially helpful for bibtex. ISBN Figure: A Guide to LATEX

40 40 The Latex Companion by Michel Goossens, Frank Mittelbach and Alexander Samarin. This one is also very good, but I found that it made more sense after I had been using Latex for a while. ISBN Figure: Latex Companion Book

41 41 The Not So Short Introduction to L A TEX2: Or L A TEX2 in 90 minutes by Tobias Oetiker Hubert Partl, Irene Hyna and Elisabeth Schlegl: this PDF file is available on my website. It s a great reference, easy to read. this website gives you very basic stuff, but it s quite useful for true beginners if you are looking for a package, a command, a bibliography style, this website provides you access to the Comprehensive TEX Archive Network.

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

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

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

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

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

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

CS 189 L A TEX and Linux: Document Layout and Organization CS 189 L A TEX and Linux: Document Layout and Organization (1) Robert S. Laramee Computer Science Department School of Physical Sciences Swansea University February 14, 2008 (1) Robert S. Laramee CS 189

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-cursus 5th e session: thesis in L A TEX

L A TEX-cursus 5th e session: thesis in L A TEX L A TEX-cursus 5th e session: thesis in L A TEX TEXniCie A Eskwadraat 17 november 2014 Previous week Last week, we talked about: Importing vector images (.pdf instead of.jpg) Making presentation with the

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

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

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

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

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

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

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

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

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

Using LaTex and BibTex to Write Academic Documents. Ligang He Department of Computer Science University of Warwick Using LaTex and BibTex to Write Academic Documents Ligang He Department of Computer Science University of Warwick Introduction In LaTex, a markup language is used to describe document structure and format,

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

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

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

Introduction to LaTex 2ε. Based on The Not So Short Introduction to LaTeX 2ε by Tobias Oetiker et al., April 2001 Introduction to LaTex 2ε Based on The Not So Short Introduction to LaTeX 2ε by Tobias Oetiker et al., April 2001 Contents Things you need to know Typesetting text Typesetting Mathematical Formulae Specialties

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

David Helmbold, October 2005, Revised October 2007

David Helmbold, October 2005, Revised October 2007 Short Intro to LATEX David Helmbold, October 2005, Revised October 2007 Goals: Introduce L A TEX... so you can read/edit L A TEX source... and use manual as reference rather than reading it Outline: 1.

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

CSCM10 Research Methodology A Taster of L A TEX

CSCM10 Research Methodology A Taster of L A TEX CSCM10 Research Methodology A Taster of L A TEX Anton Setzer http://www.cs.swan.ac.uk/ csetzer/lectures/ computerscienceprojectresearchmethods/current/index.html October 22, 2017 WYSIWYG Systems WYSIWYG

More information

WYSIWYG Systems. CSCM10 Research Methodology A Taster of L A TEX WYSIWYM. Advantages/Disadvantages of WYSIWYG Systems.

WYSIWYG Systems. CSCM10 Research Methodology A Taster of L A TEX WYSIWYM. Advantages/Disadvantages of WYSIWYG Systems. WYSIWYG Systems CSCM10 Research Methodology A Taster of L A TEX Anton Setzer http://www.cs.swan.ac.uk/ csetzer/lectures/ computerscienceprojectresearchmethods/current/index.html WYSIWYG = What You See

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

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

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 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

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

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

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

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

Introduction to LATEX Introduction to L A TEX Department of Statistics, UC Berkeley January 28, 2011 1 Why L A TEX? 2 Basics 3 Typing Math 4 BibTeX 5 More Why L A TEX? Professional typesetting tool offering great control Why

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

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

Outline. Installing LaTeX. Opening TeXShop. Intro to LaTeX. Intro to LaTeX interface Working with text Tabbing and tables Figures Math and equations Outline UCLA Department of Statistics Statistical Consulting Center interface Working with text Tabbing and tables Figures Math and equations April 23, 2009 Installation Installing LaTeX Opening TeXShop

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

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

A Demonstration of the L A TEX 2ε Class File for the Oxford University Press Ltd Journal. First Author 1 and Second Author 2.

A Demonstration of the L A TEX 2ε Class File for the Oxford University Press Ltd Journal. First Author 1 and Second Author 2. Author, F, and S Author (2009) A Demonstration of the LATEX 2ε Class File for the Oxford University Press Ltd Journal, International Mathematics Research Notices, Vol 2009, Article ID rnn999, 6 pages doi:101093/imrn/rnn999

More information

Introduction to Scientific Typesetting Lesson 5: The Structure of a Document

Introduction to Scientific Typesetting Lesson 5: The Structure of a Document Introduction to Scientific Typesetting Lesson 5: The Structure of a Document Ryan Higginbottom January 11, 2012 1 2 Page of Page 3 Page Page of Page L A T E X provides several standard page styles. In

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

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

Introduction to L A TEX

Introduction to L A TEX Introduction to L A TEX Aravind Ranganathan Graduate Assistant Engineering Library University of Cincinnati r.aravind@gmail.com Workshop Objectives Introduction to L A TEX Hands-on Hello World! Basic Document

More information

A demonstration of the L A TEX2ε class file for the International Journal of Network Management

A demonstration of the L A TEX2ε class file for the International Journal of Network Management INTERNATIONAL JOURNAL OF NETWORK MANAGEMENT Int J Network Mgmt 2010; 00:1 5 Published online in Wiley InterScience (wwwintersciencewileycom) DOI: 101002/nem A demonstration of the L A TEX2ε class file

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

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

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

Introduction to LaTeX. M&S Talk Series August 16 th, 2016 AH Sheikh

Introduction to LaTeX. M&S Talk Series August 16 th, 2016 AH Sheikh Introduction to LaTeX M&S Talk Series August 16 th, 2016 AH Sheikh What is LaTeX? LaTeX is pronounced lay-tech or lah-tech, not la-teks. LaTeX is a document preparation system for high-quality typesetting.

More information

Introduction to L A TEX

Introduction to L A TEX Introduction to L A TEX D. Broline, A. Mertz & W. Slough Mathematics and Computer Science Department Eastern Illinois University February 8, 2007 The Logo L A TEX Overview What is L A TEX? Typesetting

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

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

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

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

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

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

(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 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 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

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

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

LATEX Seminar Week 2 Jonathan Blair & Evan Ott. Document classes, basic math formatting, basic pictures, tables and matrices LATEX Seminar Week 2 Jonathan Blair & Evan Ott Document classes, basic math formatting, basic pictures, tables and matrices 1 Document Classes Used \documentclass before, here are more options: \documentclass{

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

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

L A T E X FOSSEE. Department of Aerospace Engineering IIT Bombay. FOSSEE (IIT Bombay) LAT E X 1 / 58 L A T E X FOSSEE Department of Aerospace Engineering IIT Bombay FOSSEE (IIT Bombay) LAT E X 1 / 58 Outline Introduction 1 Introduction 2 Adding Structure 3 Typesetting Text 4 Figures, Tables & Floats 5

More information

Getting Started with L A TEX

Getting Started with L A TEX Getting Started with L A TEX 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.

More information

Outline. A Sneak Peek

Outline. A Sneak Peek Outline L A TEX Primer Things you need to know as a starter Jialin He Department of Electrical Engineering Southern Methodist University 05/31/2011 1 Introduction How LATEX works? Document structure 2

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

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

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 demonstration of the L A TEX2ε class file for Earthquake Engineering and Structural Dynamics

A demonstration of the L A TEX2ε class file for Earthquake Engineering and Structural Dynamics EARTHQUAKE ENGINEERING AND STRUCTURAL DYNAMICS Earthquake Engng Struct Dyn 2010; 00:1 5 Published online in Wiley InterScience (wwwintersciencewileycom) DOI: 101002/eqe A demonstration of the L A TEX2ε

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

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

My LaTeX Document. July 7, Introduction 2

My LaTeX Document. July 7, Introduction 2 My LaTeX Document Me July 7, 2017 Contents 1 Introduction 2 2 Exercises 2 2.1 Piecewise defined function...................... 2 2.2 Greek letters............................. 2 2.3 Limits.................................

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

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

PoS author manual. PoS author manual. PoS Editorial Office S.I.S.S.A. - Via Beirut 2/4 Trieste, Italy

PoS author manual. PoS author manual. PoS Editorial Office S.I.S.S.A. - Via Beirut 2/4 Trieste, Italy PoS Editorial Office S.I.S.S.A. - Via Beirut 2/4 Trieste, Italy E-mail: pos-eo@pos.sissa.it This manual explains the use of the PoS LATEX class and of the MS Word template file for authors submitting their

More information

CS 189 L A TEX and Linux: Text in Boxes

CS 189 L A TEX and Linux: Text in Boxes CS 189 L A TEX and Linux: Text in Boxes (1) Robert S. Laramee Computer Science Department School of Physical Sciences Swansea University March 4, 2008 (1) Robert S. Laramee CS 189 LATEX and Linux: Text

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

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

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

L A TEXcourse. Carmen Alonso Montes. 30th May-2nd June, 2016 L A TEXcourse Basque Center for Applied Mathematics -5pt 30th May-2nd June, 2016 Outline 1 2 3 4 5 6 7 8 In the previous lesson, we have a small introduction of the basics for LATEX Learnt basic document

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

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

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

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

Explanatory note on the LaTeX thesis template. Basic knowledge of using LaTeX

Explanatory note on the LaTeX thesis template. Basic knowledge of using LaTeX Explanatory note on the LaTeX thesis template Before using the template you are assumed to have: Basic knowledge of using LaTeX This template may help you to: Make Table of contents Insert figures Write

More information

Note di Matematica instructions for authors

Note di Matematica instructions for authors Note di Matematica, manuscript, pages 1 8. Note di Matematica instructions for authors Author One i Department of..., University of... one@xxx.xxx.xx Author Two ii Department of..., University of... two@yyy.yyy.yy

More information

Word-to-L A TEX specification

Word-to-L A TEX specification Word-to-L A TEX specification Michal Kebrt April 19, 2005 Contents 1 Introduction 1 1.1 Text processors................................... 2 1.2 TEX and L A TEX................................... 2 1.3

More information

Creating Tables and Figures with L A T E X

Creating Tables and Figures with L A T E X Creating and with L A T E X Ricky Patterson bit.ly/latex 5 Oct 2016 Ricky Patterson and in LAT E X 5 Oct 2016 1 / 23 Outline Introduction picture environment Importing Graphics Ricky Patterson and in LAT

More information

LaTex Exercise Introduction : 9.2 LATEX Working IT WORKSHOP LAB MANUAL

LaTex Exercise Introduction : 9.2 LATEX Working IT WORKSHOP LAB MANUAL LaTex Exercise - 9 AIM: Introduction LaTeX Tool. Create a document using the features: formatting fonts, applying text effects, insert pictures and images, using date and time option. 9.1 Introduction

More information

Introduction to L A TEX

Introduction to L A TEX Introduction to L A TEX Evan Parker-Stephen September 21, 2006 1 Download and Installation http://www.miktex.org (L A TEX for Windows) http://www.winedt.com (Text Editor) http://www.tug.org (TEX User Group)

More information

Using L A T E X for scientific writing

Using L A T E X for scientific writing Using L A T E X for scientific writing (part 1) www.dcs.bbk.ac.uk/~roman/latex Roman Kontchakov roman@dcs.bbk.ac.uk T E X and L A T E X T E X is a computer program created by Donald E. Knuth. It is aimed

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

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

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

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

Aalborg October 2014

Aalborg October 2014 Aalborg October 2014 Presentation Background for the course Why I am qualified 2 parts Format Slides pay attention Demonstration Exercises Questions Homepage and installation Page 2 of 69 Content part

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

Typesetting with TEX

Typesetting with TEX Typesetting with TEX Scientific typesetting made easy TEX (rhymes with blecchhh! ) is a technical typesetting system created by Donald Knuth of Stanford University. It is currently used by most physicists,

More information

LATEX Primer. 1 Introduction (Read Me)

LATEX Primer. 1 Introduction (Read Me) LATEX Primer 1 Introduction (Read Me) This document is intended to be used as a primer. You are welcome to remove the body of the document and use the headers only. If you actually read this document,

More information

Manuscript Title. with Forced Linebreak. Ann Author a) and Second Author b) Authors institution and/or address This line break forced with \\

Manuscript Title. with Forced Linebreak. Ann Author a) and Second Author b) Authors institution and/or address This line break forced with \\ Manuscript Title: with Forced Linebreak Ann Author a) and Second Author b) Authors institution and/or address This line break forced with \\ Charlie Authoring c) Second institution and/or address This

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