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

Size: px
Start display at page:

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

Transcription

1 Workshop on LaTeX Muhammad Mostafa Monowar Outline Part-1: Basics Part-2: How to Typeset a document? Part-3: Thesis Fundamentals Part-4: Creating Presentation 1

2 Part-1: Basics Why do I need LaTeX? Free Software Mathematical typesetting is easier No worries about setting the font size and styles again and again Because I am tired of figures and tables jumping from here and there Because I want my sections and subsections auto-numbered Because I am tired of fixing my References Because my fingers are tired with a click-find-click approach Latex allows you to clearly separate the content from the format of your document And many more 2

3 What all I have to do? Remember the basic structure of a document Remember a few macros What if I wanted to type this in my document or Maybe a schematic Or a Lemma 3

4 Background Part of LaTeX is the program TEX, which came first in 1978, developed by Donald Knuth Leslie Lamport extended the software to LaTeX TEX is pronounced Tech as the final X is the Greek letter chi LaTeX stands for Lamport TEX and is pronounced as Lay-Tech A LaTeX document starts as a file which has special markup characters (similar to HTML) Drawbacks of LaTeX a) More moving parts b) Difficult to remember commands c) Preview delay d) Syntax errors e) Adding new font 4

5 What do I need? Latex Compiler MiKTex is a free compiler for windows. Download the package from: Latex Editor LED ( We will use this editor) TexWorks WinEdt Preliminaries The LaTeX code is written in a.tex file LaTeX package compiles the file to produce PDF, DVI or PS files LaTeX document is a plain text file with required commands and environments. All commands start with a \. E.g.., \section, \label, etc. LaTeX command names are case-sensitive. A command may be followed by zero, one, or more arguments. These arguments may be either required or optional. Required arguments are contained in curly braces, {...}. Optional arguments are contained in square brackets, [...]. % Quick comment - anything after % doesn t show-up in final document 5

6 Part-2: How to Typeset a document? The main parts of a LateX Document The Preamble Style or class of a document Packages to be used Macro definitions The Body Sections and subsections Tables and figures Body text 6

7 The Preamble Some basics in the Preamble Commonly used Document Classes documentclass for layout and sectioning Article: Ideal for a short paper (divided into sections, subsections, etc, also for miscellaneous general use. Book: Full-length books, including chapters and possibly including front matter, such as a preface, and back matter, such as an appendix Report: For documents of length between an article and a book, such as technical reports or theses, which may contain several chapters. Other classes include letter, slides, beamer, etc. 7

8 The Preamble We shall use the base class article \documentclass{article} Want A4 paper size? Two-sided document? Add OPTIONS \documentclass[a4paper,twoside]{article} Some options: landscape, onecolumn, twocolumn. Order of options is unimportant Packages Packages are included to support different functionalities: To get mathematical symbols, functions, etc., to include a figure in the document, to change a default font, and so on... a set of LaTex commands stored in a file with extension.sty Command : \usepackage{package} Example: Geometry Package->for page layout \usepackage[top=2cm,bottom=4cm,left=1.5cm, right=3cm]{geometry} \usepackage{amsmath,amssymb,amsfonts} \usepackage{times, graphicx} To automatically update the package go to the MikTex2.9- >Maintenance->MikTex Package Manager. From the Repository menu choose Change Package Repository and choose a repository from which the package will be installed automatically. 8

9 The Body Start with \begin{document} The matter to type set are typed (The content) End with \end{document} Output Files Two output files:.dvi - Produces DeVice Independent file with extension.dvi while invoked with system command LaTeX. It is not human-readable, consists of binary data not reliant on specific image format, display hardware or printer. You can view it through a DVI viewer, convert it into Postscript or PDF..pdf While invoked via system command pdflatex, the main output is a Portable Document Format (PDF) file. Two additional files:.log Contains summary information such as list of loaded packages, includes diagnostic messages etc..aux - Auxiliary information is used by LaTeX for things such as cross references. 9

10 Let s write the first LaTeX document Start Editor Type Save RUN View \documentclass[a4paper,twosi de]{article} \usepackage[top=2cm,bottom =4cm,left=1.5cm,right=3cm]{ge ometry} \begin{document} This is my first \LaTeX document \end{document} Exercise-01 Create your first LaTeX document. Compile it using LaTeX command and view the.dvi file using Yap viewer. Convert the file into PDF and open it. Compile the doc using PDFLaTeX command and open the pdf file. 10

11 Title Page Option Top Matter \documentclass[titlepage]{article} \begin{document} \title{how to Start a Latex File or whatever you want to call you paper} \author{your Name\\ Faculty of Computing and Information Technology\\ King AbdulAziz University, KSA\\} \date{\today} [titlepage] option creates a separate page for the title The \\ double backslashes indicate a new line \date{you can put anything here} \maketitle, to create the title \maketitle this is a test \end{document} Exercise-02 Add the title, author and date in your created document. Compile the document and see the changes. 11

12 Adding the Abstract: \begin{abstract} This abstract is just 6 words long \end{abstract} Exercise-03 Prepare an abstract in your document 12

13 Sectioning Sectioning commands provide the means to structure your text into units: \part \chapter (report and book class only) \section \subsection \subsubsection \paragraph \subparagraph All sectioning commands take the same general form, e.g.,\section[optional]{title}. You may not want the same text in (table-of-content, running header) as in the main text. An optional argument when given, specifies the text for these other places. All sectioning commands have *-forms that print title as usual, but do not include a number and do not make an entry in the table of contents. For instance: \section*{preamble} Exercise-04 Add to your document three sections, a few subsections, and a subsubsection. Change your document class as book and add three chapters. In every chapter add 2 section and one subsection in each section. Add two paragraphs and one subparagraph in any of the paragraph. 13

14 Cross-Referencing It may be required to refer a section or subsection or any sectional unit such as figures, chapters, equations, tables etc. in the body of the text. Use \label{section-label} to define a label to a sectional unit. To cross refer a section or subsection having label section-label Use \ref{section-label} at the appropriate place. It does not produce any text, such as the word Section or Figure, just the bare number itself. Although the name can be more or less anything, a common convention is to use labels consisting of a prefix and a suffix separated by a colon or period. Some commonly-used prefixes: ch- for chapters sec- for lower-level sectioning commands fig- for figures tab- for tables eq- for equations Example: \section{methods} \label{sec:meth} The detailed descriptions are provided in Section \ref{sec:meth}. Exercise-05 Label one of the chapters, one of the sections and one of the subsections you created and cross refer to it in the body in some other section. 14

15 \begin{document} This is a sample to illustrates how \LaTeX\ treats space. \end{document} I Want Some Space! What happens? Basically, all the spacing is ignored, except new paragraph indent I \hspace{2in} like \hspace{1in} space. In every direction. \vspace{.5in} \hspace horizontal spacing of your choice \vspace vertical spacing of your choice, need line space after command This line will be in a paragraph. And this line will be in the same paragraph. This line is in a new paragraph.. LaTeX will put lines which are next to each other into the same paragraph. To start a new paragraph, enter a blank line. \\ \newline \pagebreak Using \\ forces a line beak \\ Using \pagebreak to force a page break There are more space options I Want Some Space! Line spacing can be set to single line, one and a half line, double line spacings, and any other customized spacings. In the preamble, use \usepackage{setspace}... and in the body write any one: \singlespacing \onehalfspacing \doublspacing \setstretch{1.1} 15

16 Exercise-06 Type some text in any of the sections you created and see the effect of both horizontal and vertical spacing, line break, paragraph break and page break. Observe the effect of different line spacing in the whole document. Color your Text In your preamble, add the following line \usepackage{color} %this gives about 16 colour options Therefore, we can have red coloured text, and a blue coloured text, and back to the black colour, by [Therefore, we can have {\color{red}red coloured text}, and a {\color{blue}blue coloured text}, and back to the black colour.] 16

17 Exercise-07 Observe the effect of different color of your text. Different font size Font Size and Style When I was born, I was {\tiny tiny}. When I got older, I thought some day I would be {\Huge huge}. But instead, {\small I'm still small.} From smallest to largest \tiny \scriptsize \footnotesize \small \normalsize \large \Large \LARGE \huge \Huge Styles \emph{text} italicizes the text \textbf{text} bold face \underline{text} - underline - And on and on Different font style: When something is \emph{really}, \textbf{really} important, you can \underline{underline it}. If you \underline{\textbf{\emph{must do all three}}}, then you can nest them. 17

18 Exercise-08 Change the size of different text. Experiment with different font styles. Justification - Centering, etc. We can center text using - \begin{center} I m Well Balanced \end{center} We can justify it left or right with - \begin{flushleft} I feel skewed \end{flushleft} \begin{flushright} I feel off center \end{flushright} 18

19 Exercise-09 Arrange the text with left justified, centered and right justified. Itemize list If I want a list with bullets \begin{itemize} \item This is first item \item This is second item \end{itemize} If I want a list with numbers \begin{enumerate} \item This is first item \item This is second item \end{enumerate} If I want a list with titles of my choice \begin{description} \item[1st option] This is first item \item[2nd option] This is second item \end{description} The items can be nested up to four levels deep 19

20 Exercise-10 Create the following list. Footnote The footnote can be given using the following command: \footnote[number]{text} The optional argument number allows you to specify the footnote number. If you use this option then the footnote number counter is not incremented, and if you do not use it then the counter is incremented. Ex: There are over a thousand footnotes in Gibbon s \textit{decline and Fall of the Roman Empire}.\footnote{After reading an early version with endnotes David Hume complained, One is also plagued with his Notes, according to the present Method of printing the Book and suggested that they only to be printed at the Margin or the Bottom of the Page. } 20

21 Exercise-10 Create some footnotes Let s Play with mathematics typesetting There are two kinds of math used in LATEX. Inline math Inline formulae are surrounded by dollar signs, $, Display math display formulae use \[ and \] or $$. A formula may be typeset \emph{inline}, such as $x$ is a real variable, and $f(z) = e^z$ is an analytic function. More complex formula can be typeset in \emph{display style}: \[ H(a, r) = \sum_{n = 0}^\infty ar^n = \frac{a}{1-r}. \] 21

22 Let s Play with mathematics typesetting Math formulae use carets, ^, for superscripts and underscores,, for subscripts. Other math notation use commands, such as \frac{..}{..} for fractions, \sum for the summation symbol. You can get Greek letters using $\alpha, \beta, \gamma, \ldots$, to give α, β, γ, Simply Math Formulas 2 x Let s Play with mathematics typesetting $x^2$ x $\sqrt{x}$ x 2 n 2 x x n 2 x n 2 n 2 $x_2$ $x^{n+2}$ $x_{n+2}$ $x_{n+2}^{n+2}$ 6 n 3 x 2 y t 0 xdx $\sqrt[6]{n+3}$ $\frac{x^2}{y}$ $\int^t_0 xdx$ 0 n n $ \sum_{n=0}^\infty n$ xdx $\int xdx$ 22

23 Spacing in Math Mode as well as regular mode \, a small space \: a medium space ~ A medium space \; a large space \quad a really large space \qquad a huge space \! a negative space (moves things back to the left) $$ \begin{aligned} x+y \\ x+\,y \\ x+~ y \\ x+\:y \\ x+\;y\\ x+\quad y\\ x+\qquad y \\ x+\!y \\ \end{aligned} $$ Numbered Equations Let s Play with mathematics typesetting Numbered equations can be typeset by using \begin{equation} \label{eq:1} R(x,y) = \frac{ax^3+bx^2+cx+d}{ey^3 + Fy + G} \end{equation} Equation \ref{eq:1} can be used to find out.. It will assign a number to the equation. Assign a label to the equation and refer it anywhere. Equation 1 can be used to find out.. 23

24 Let s Play with mathematics typesetting Equation Array Numbered equations can be typeset by using \begin{eqnarray} \varphi=\sqrt[10]{\frac{a}{b}} \label {eq1}\\ \lim {x \rightarrow 0} \frac{\sin x}{x} = 1 \label{eq3} \end{eqnarray} Using amsmath package Let s Play with mathematics typesetting provides various features for displayed equations and other mathematical constructs. Some example: 24

25 Let s Play with mathematics typesetting Array Arrays are created using \begin{array}{justification} and \end{array} {justification} possible for array elements are: {l}:- for left aligned column {c}:- for centre aligned column {r}:- for right aligned column This environment can only be used in math mode Array Let s Play with mathematics typesetting \[ \left( \begin{array}{ r c l} \Gamma \alpha_i & \beta & \gamma\\ a&ab&abcd \\ 1&123&3 \\ \end{array} \right) \] 25

26 Some useful links regarding Math typesetting Exercise-11 Typeset the following mathematical terms: 26

27 Creating Tables Tables are created using \begin{table}[position] and \caption{table caption } \label{table-label} \end{table} Creating Tables Table is a class of floats. Because they cannot be split across pages, they are not typeset in sequence with the normal text but instead are floated to a convenient place, such as the top of a following page. [position] possible for tables are: [h]:- for position exactly at this place (here) [t]:- for top of the page in which the table comes [b]:- for bottom of the page in which the table comes Usually \tabular environment is used to define the column alignments 27

28 Creating Tables Will Produce \begin{table} \begin{tabular}{ r l c } \hline Roll No. & Name & Grade \\ \hline 0123 & Muhammad & AA \\ \hline 0124 & Ahmed & AB \\ \hline \end{tabular} \caption{first Table}\label{first-table} \end{table} Creating Tables Will Produce \begin{table} \centering % Works line a center Environment \begin{tabular}{ r l c }\hline Roll No. & Name & Grade \\ \hline 0123 & Sazid & AA \\ \hline 0124 & Ali & AB \\ \hline \end{tabular}\caption{second Table}\label{Second-table}\end{table} 28

29 Exercise-12 Create the following tables: Let s Play with Figures First Create the Graphic using a software package. If you are using LaTeX plus dvips to produce your final output, you should save the graphic as encapsulated PostScript (eps), the only acceptable format. If you are using pdflatex (which produces a pdf file directly), acceptable formats are pdf, jpeg, or png, but not eps. Two packages for importing graphics: graphics and graphicx. Recommended is graphicx as it is an extended package and provides more convenient method of supplying parameters. First step is to put in your preamble the command: \usepackage{graphicx} 29

30 Let s Play with Figures Figures are included by \begin{figure}[position] \centering \includegrapics[size]{figure file name} \caption{figure caption} \label{figure-label} \end{figure} Or \begin{figure*}[position] \centering \includegrapics[size]{figure file name} \caption{figure caption} \label{figure-label} \end{figure*} The starred form figure* is used when a document is in doublecolumn mode. It produces a figure that spans both columns, at the top of the page. Let s Play with Figures \includegraphics, which allows you to specify the name of the graphic file as well as supply optional arguments for scaling or rotating. The most commonly used arguments are: width: scale graphic to the specified width (aspect ratio preserved) height: scale graphic to the specified height (aspect ratio preserved) scale: scale graphic by scale factor. (scale=2 makes the graphic twice as large as its natural size; scale=.5 makes it half as large.) angle: rotate graphic by specified number of degrees. A positive number indicates the counter-clockwise direction. (angle=90 rotates 90 degrees counter-clockwise.) 30

31 Let s Play with Figures Example: \begin{figure}[b] \centering \includegraphics[width=3in]{figures/figure1.eps} \caption{a pie chart} \label{fig:piechart} \end{figure} \begin{figure}[b] \centering \includegraphics[angle=90,width=\textwidth]{figures/figure1.eps} \caption{a pie chart} \label{fig:piechart} \end{figure} Let s Play with Figures Subfigures: If you want to divide a figure into many smaller parts, use the \subfigure command. First you add the following package in the preamble: \usepacakge{subfigure} \begin{figure} \centering \subfigure[first caption] { \includegraphics[width=1.0in]{figures/figure1.eps} \label{fig_firstsub} } \\ \subfigure[second caption] { \includegraphics[width=1.0in]{i Figures/figure2.eps} \label{fig_secondsub} } \subfigure[third caption] { \includegraphics[width=1.0in]{figures/figure3eps} \label{fig_thirdsub} } \caption{common figure caption.} \label{fig_subfigures} \end{figure} 31

32 Exercise-13 Add an figure of any kind to your document. Again add a caption and reference. Try to include the graphics with both LaTeX+DVIPS and PDFLATEX. Change the size of the figure and see the effect. Add four subfigures in a Figure. Writing Algorithm Typesetting using algorithmic package Provides two environments: algorithmic and algorithm The general structure: \begin{algorithm} \caption{<your caption for this algorithm>} \label{<your label for references later in your document>} \begin{algorithmic} <algorithmic environment> \end{algorithmic} \end{algorithm} 32

33 Writing Algorithm The simple statement takes the form \STATE <text> Ex: Produces: \begin{algorithmic}[1] \STATE $S \leftarrow 0$ \end{algorithmic} Writing Algorithm The if-then-else construct takes the forms: \IF{<condition>} <text> \ENDIF \IF{<condition>} <text1> \ELSE <text2> \ENDIF \IF{<condition1>} <text1> \ELSIF{<condition2>} <text2> \ELSE <text3> \ENDIF Ex: Produces: \begin{algorithmic} \IF{some condition is true} \STATE do some processing \ELSIF{some other condition is true} \STATE do some different processing \ELSIF{some even more bizarre condition is met} \STATE do something else \ELSE \STATE do the default actions \ENDIF \end{algorithmic} 33

34 Writing Algorithm The for loop takes two forms. Namely: \FOR{<condition>} <text> \ENDFOR \FORALL{<condition>} <text> \ENDFOR Ex: Produces: \begin{algorithmic} \FOR{$i=0$ to $10$} \STATE carry out some processing \ENDFOR \end{algorithmic} Writing Algorithm The for loop takes two forms. Namely: \FOR{<condition>} <text> \ENDFOR \FORALL{<condition>} <text> \ENDFOR Ex: Produces: \begin{algorithmic}[1] \FORALL{$i$ such that $0\leq i\leq 10$} \STATE carry out some processing \ENDFOR \end{algorithmic} 34

35 Writing Algorithm The repeat-until loop takes the form. \REPEAT <text> \UNTIL{<condition>} Ex: Produces: \begin{algorithmic} \REPEAT \STATE carry out some processing \UNTIL{some condition is met} \end{algorithmic} Writing Algorithm The algorithmic environment offers a special statement for explicitly returning values in algorithms. It has the syntax: \RETURN <text> Ex: Produces: \begin{algorithmic} \RETURN $(x+y)/2$ \end{algorithmic} 35

36 Writing Algorithm The algorithmic environment offers a standard way printing values. \PRINT <text> Ex: Produces: \begin{algorithmic} \PRINT \texttt{ Hello, World! } \end{algorithmic} Writing Algorithm Comments may be inserted at most points in an algorithm using the form: \COMMENT{<text>} Ex: Produces: \begin{algorithmic} \STATE do something \COMMENT{this is a comment} \end{algorithmic} 36

37 Exercise-14 Write the following algorithm: Theorem, Corollary, Lemma Numbered environments in LaTeX can be defined by means of the command \newtheorem Three ways of definition: \newtheorem{theorem}{theorem}[section] \newtheorem{corollary}{corollary}[theorem] \newtheorem{lemma}[theorem]{lemma} 37

38 Theorem, Corollary, Lemma Ex: \begin{theorem}[pythagorean theorem] \label{pythagorean} This is a theorema about right triangles and can be summarised in the next equation \[ x^2 + y^2 = z^2 \] \end{theorem} And a consequence of theorem \ref{pythagorean} is the statement in the next corollary. \begin{corollary} There's no right rectangle whose sides measure 3cm, 4cm, and 6cm. \end{corollary} You can reference theorems such as \ref{pythagorean} when a label is assigned. \begin{lemma} Given two line segments whose lengths are $a$ and $b$ respectively there is a real number $r$ such that $b=ra$. \end{lemma} Theorem, Corollary, Lemma Produces 38

39 Referencing and citation A bibliographic style file (a.bst file) - usually provided by the Journal. The common one ieee.bst file. A bibliographic file (a.bib file) to be created by the LaTeX user. Use and search for the paper you want to cite Click on the cite and then click on BibTeX Copy the whole text. Open the LED and from the file menu choose new- >bibliography file in BibTeX format. Give a file name, choose the location and then save it. Paste the copied bibtex into the.bib file. To cite in the text use the following command: \cite{articleid} Exercise-15 Randomly collect at least five reference of technical papers in any field of Computer Science and IT. Create the bibliography and cite in anywhere in the document 39

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

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

More information

L A TEX 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

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

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

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

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

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

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

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

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

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

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

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

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 minicourse. dstowell, mag, sar, scannell,... September Typeset by FoilTEX

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

More information

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

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

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

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

عمادة البحث العلمي جامعة الملك سعود عمادة البحث العلمي جامعة الملك سعود 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

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

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

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

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

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

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

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

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

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

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

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

LaTeX Seminar III: Environments and More Advanced Mathematical Typesetting

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

More information

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

MATLAB for the Sciences

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

More information

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

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

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

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

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

Basics. Options. Commands

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

More information

Introduction to L A TEX

Introduction to L A TEX Introduction to L A TEX Yuval Carmel Ben-Gurion University June 30, 2009 Yuval Carmel (Ben-Gurion University) Introduction to LATEX June 30, 2009 1 / 40 Introduction L A TEX is not a word processor! Word,

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

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

Useful L A TEX Commands

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

More information

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

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

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

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

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

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

A Short Introduction to L A TEX

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

More information

L A TEX 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

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

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

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

More information

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

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

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

An Introduction to L A TEX

An Introduction to L A TEX An Introduction to L A TEX Ryan C. Trinity University Math Majors Seminar September 12, 2017 What is L A TEX? L A TEX is a typesetting system/language used for the production of technical (mathematical)

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

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

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

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

LATEX Workshop. Yi Liu Chen SUNY Geneseo PRISM Math Club. February 6, Wordmark Reversed Geneseo Wordmark Style Guide 4 Yi Liu Chen SUNY Geneseo PRISM Math Club February 6, 2019 Outline L A TEX Environment The Basics Mathematics SUNY Geneseo PRISM Math Club 2 BDA/MBS and Math/Physics People People taking BDA (BIOL250) or

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

Algorithms. Rogério Brito July 5, 2005

Algorithms. Rogério Brito July 5, 2005 Algorithms Rogério Brito rbrito@ime.usp.br July 5, 2005 Contents 1 Introduction 2 2 The algorithmic Environment 2 2.1 The Simple Statement........................ 2 2.2 The if-then-else Construct......................

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

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

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

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

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

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

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

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

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

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

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

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

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 Grasshopper s Approach to L A TEX

A Grasshopper s Approach to L A TEX A Grasshopper s Approach to L A TEX JHB Deane and S Reich Updated by PJ Aston February 1, 2011 Contents 1 Introduction 2 2 Winshell 2 2.1 Editor Commands..................................... 2 2.2 Processing

More information

Intro to LaTeX Workshop

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

More information

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

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

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

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

What is L A T E X? Dan Yasaki. June 4, 2018 REU at Elon University. UNC Greensboro. Dan Yasaki What is LAT E X? 1 / 22

What is L A T E X? Dan Yasaki. June 4, 2018 REU at Elon University. UNC Greensboro. Dan Yasaki What is LAT E X? 1 / 22 What is L A T E X? Dan Yasaki UNC Greensboro June 4, 2018 REU at Elon University Dan Yasaki What is LAT E X? 1 / 22 What is L A T E X? L A T E X is a document preparation system by Leslie Lamport built

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

Algorithms. Rogério Brito 16 March 2005

Algorithms. Rogério Brito 16 March 2005 Algorithms Rogério Brito rbrito@ime.usp.br 16 March 2005 Contents 1 Introduction 2 2 The algorithmic Environment 2 2.1 The Simple Statement........................ 2 2.2 The if-then-else Construct......................

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

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

Course A, Part 1 Basic Formatting in L A TEX

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

More information

Introduction to LaTeX. Christoph Pickl

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

More information

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

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

A L A TEX-Package for IEEE PES Transactions

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

More information

L A TEX 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

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

Introduction to L A TEX

Introduction to L A TEX Introduction to L A TEX 2. Document structure Markus Harju Mathematical Sciences 2. Document structure Johdatus LaTeXiin (2/12) a Document classes The basic document classes in L A TEX are article, report

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

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