LaTex -Computer scientist named Donald Knuth developed the program called Tex, in 1978.(mainly focused on formulae) -Later a mathematician and computer.

Slides:



Advertisements
Similar presentations
Internet Services and Web Authoring (CSET 226) Lecture # 5 HyperText Markup Language (HTML) 1.
Advertisements

Lecture 8 Introduction to Latex. Introduction TeX is essentially a Markup Language (like HTML, XML and RTF) TeX written by Donald Knuth in 70´s –A revolution.
LaTeX tutorial Eileen Kraemer CSCI 6950 September 30 th, 2011.
LaTeX How to setup and write a lab in LaTeX. What is it and how is it different? Latex is a scripting language used for writing documents. It differs.
Introduction to LaTeX CPS470 Software Engineering Fall 1998.
LaTeX 2e Basics CSE470 Spring 2000 Software Engineering B.J. Czerny Updated by Prasad.
School of Aeronautics and Astronautics Introduction to by Arun K. Subramaniyan
CS 173 Fall Introduction to LaTeX David and Lucas CS 173 Fall 2009 Written with significant references to Oetiker et al. “The Not So Short Introduction.
Chapter 12: Network Programming Desktop Publishing Translator models Latex Documentation Preparation Postscript programming language WYSIWIG Editors.
LaTeX Tutorial. What is LaTeX? TeX is a typesetting system designed in 1978 to automate the production of high quality print using any type of computer.
Using Cascading Style Sheets (CSS) Dept. of Computer Science and Computer Information CSCI N-100.
Latex A document preparation system All academic staff in Computer Science publish their work using Latex – NOT Microsoft Word. Why? Note to self – press.
1 LaTeX Introduction Wenguang Wang Department of Computer Science University of Saskatchewan February 28, 2000.
For AMS 200, 2009 Dept. of Applied Math & Statistics School of Engineering University of California Santa Cruz, CA A Very Short Introduction to LaTeX.
Welcome to the 3-day Workshop on > Presented by Saeid Abolfazli Faculty of Computer Science and IT University Malaya 23,24, and.
Adopted from: PRISM Brownbag Series June 9 th, 2009 Byungwon Woo.
LaTeX tutorial Syed Shazli. Most of the material taken from Monash University Online material available from Googling…
Research Tools: LaTex A high quality document preparation system by Karthikeyan Umapathy.
Introduction to LaTeX PRISM Brownbag Series June 9 th, 2009 Byungwon Woo.
Introduction to… About Tex & LaTeX What is TeX? What is LaTeX? Advantages - Disadvantages.
Introduction to LaTeX NetWorkShop by Daniel Göhl.
HTML (HyperText Markup Language)
Introduction to LaTeX CS157b John Eagle. TeX TeX is a computer program created by Donald E. Knuth. It is aimed at typesetting text and mathematical formulae.
Introduction to Unix – CS 21 Lecture 16. Lecture Overview LaTeX History Running and creating LaTeX documents Documents and Articles Tables Lists Fonts.
Introduction to LaTeX Thomas Gorry. What is Latex?  A typesetting system used to produce professional looking documents.  Particularly good at handling.
LaTeX Tutorial Fiona Shearer May 11th, 2004 Disclaimer added
LATEXLATEX IPA – batch. LATEXLATEX  A document preparation system - pronounced as lay-tek  It is a markup and programming language created by.
LaTeX A Short Intro to Marco D. Santambrogio Politecnico di Milano Sala DEIB 2 Sept 2015 Ver. 2/9/15.
LaTeX (+ BibTeX) Tutorial
1 Lecture 4 A Brief Introduction to LaTeX Introduction to Information Technology Dr. Ken Tsang 曾镜涛
June LaTeX " A typesetting package for formatting and creating documents. Created by L. Lamport based on TeX designed by D. Knuth. " Alphanumeric.
1 LaTeX For Dummies Mulugeta Gebregziabher Division of Biostatistics and Epidemiology MUSC April 4, 2011.
Text, not Word Processing Gordon J. Pace March 2006 First steps.
Academic Writing Using LaTeX
Sukree Sinthupinyo Department of Computer Engineering Chulalongkorn University 13 June 2008.
SIGNewGrad: Intro to LaTeX
LaTex By Wen Ying Gao.
LATEX B. R. Chandavarkar, Wireless Information Networking Group (WiNG), CSE Dept., NITK, Surathkal.
Text, not Word Processing Gordon J. Pace March 2006 Logical Organisation.
Seminar Sam Panzer. Good Evening, and Welcome First, an overview of what these seminars will cover Topics: – What you need to get started – What LaTeX.
An introduction to LaTeX a document preparation language Richard Bower (from an original lecture by Shaun Cole and Cedric Lacey)
C151 Multiuser Operating Systems Introduction to LaTeX.
CSE470 Software Engineering Fall Tools - Overview LaTeX – Tool to create documents RCS – Revision Control System, to maintain multiple versions.
Chapter 5 More About LaTex. Packages A package, which takes the form of a file with a sty extension, can be used to alter formatting parameters, create.
Information SKL for Graduate Students Instructors: Sina Mater 3 December 2010.
R 賴威昇 Introduction 2. Why using LaTeX ? 3. LaTeX usage: ◦ Backbone ◦ Equation ◦ Figure ◦ Table ◦ BibTex 4. Compile 5. Conclusion.
Sébastien Le Roux. not What I am not going to talk about The explanations are in my HowTo ! Check my web IPCMS Basic tutorial to programming.
Vereniging voor Technische Physica workshop 2016.
Department of Mathematics, Jazan University, Jazan.
LaTeX Tutorial. What is LaTeX? TeX is a typesetting system designed in 1978 to automate the production of high quality print using any type of computer.
LATEX By GerardoVela 3/27/2015.
Sébastien Le Roux.
Vereniging voor Technische Physica workshop 2016.
Agenda Introduction Installation Document Structure
RMarkdown, LaTeX and Lyx
By Rajyalakshmi Divi IIT Bombay
Introduction to LaTeX David and Lucas CS 173 Fall 2009
LaTeX Tutorial.
Introduction to LaTeX By Dan Burke.
LaTeX is not... rubber a Bill Gates product WYSIWYG (see) VooDoo
Basic usage and packages of TEX
A Very Short Introduction to LaTeX
Engineering Librarian
A high quality document preparation system
Making Math Look Pretty – or How to Use LaTeX
LaTeX A typesetting package for formatting and creating documents. Created by L. Lamport based on TeX designed by D. Knuth. Alphanumeric source files are.
The LaTeX Tutorial.
Latex Yaser Khamayseh.
The LaTeX Tutorial.
Presentation transcript:

LaTex -Computer scientist named Donald Knuth developed the program called Tex, in 1978.(mainly focused on formulae) -Later a mathematician and computer scientist by the name Leslie Lamport wrote a variant of Tex called LaTex that focuses on document structure.

- Typesetting program -LaTex is a family of programs designed to produce publication-quality typeset documents. -It is particularly strong when working with mathematical symbols.

Unique Advantages of LaTeX Professional typesetting Best output It is the standard for scientific documents Processing Mathematical (& other) symbols Meaning based structuring (rather than appearance) Knowledgeable and helpful user group Its FREE Platform independent

A Simple LaTeX Document \documentclass{article} \begin{document} HELLO. \end{document}

Parts of a LaTeX Document: \documentclass \documentclass {article} {report} {book} {letter} Basic Classes  First line of all LaTeX documents  Specifies the type of the document \documentclass[font size]{puthesis}

\ documentclass{article}. \begin{document} HELLO. \end{document} -The default font size is 10 points or pt. for ex: \documentclass[12pt]{article} - In LaTex the required information is included in curl braces({}) and optional information in square brackets([ ]). Includes commands that effect the document structure Called as body of the document

Sections \section{Section Title} \subsection{Title} \subsubsection{Title}

Mathematics Greek Symbols \alpha, \beta, \gamma Superscript, Subscript x^y x_y \int_0^\infty\int{\int} \frac{\partial u}{\partial x} x_y^z Calculus

1)Fonts: you can have bold font, italics font, etc as follows: {\bf This is in bold} and {\it this is in italics} default roman {\rm as is this}. 2 ) There are kinds of lists. Here is one: \begin{enumerate} \item First item... \item Second item \end{enumerate} or Instead of the "enumeration" list above, you can use a "description" list instead: \begin{description} \item[(a)] First item... \item[(b)] Second item... \end{description}

3)TO typeset math, you need to enclose your math typography within special brackets: either $...math typography... $ or \begin{equation}...math typography... \end{equation}

EXAMPLE PROGRAM 1 CODE \documentclass{article} \title{Cartesian closed categories and the price of eggs} \author{Jane Doe} \date{September 1994} \begin{document} \maketitle Hello world! \end{document} OUTPUT Cartesian closed categories and the price of eggs Jane Doe September 1994 Hello world!

EXAMPLE PROGRAM 2 \documentclass[12pt]{article} % options include 12pt or 11pt or 10pt % classes include article, report, book, letter, thesis \title{This is the title} \author{Author One \\ Author Two} \date{29 February 2004} \begin{document} \maketitle This is the content of this document. This is the 2nd paragraph. Here is an inline formula: $ V = \frac{4 \pi r^3}{3}$. And appearing immediately below is a displayed formula: $$ V = \frac{4 \pi r^3}{3} $$ \end{document}

Example program 3 \documentclass[12pt]{article} \usepackage{amsmath} \title{\LaTeX} \date{} \begin{document} \maketitle \LaTeX{} is a document preparation system for the \TeX{} typesetting program. It offers programmable desktop publishing features and extensive facilities for automating most aspects of typesetting and desktop publishing, including numbering and cross-referencing, tables and figures, page layout, bibliographies, and much more. \LaTeX{} was originally written in 1984 by Leslie Lamport and has become the dominant method for using \TeX; few people write in plain \TeX{} anymore. The current version is \LaTeX2e. % This is a comment, not shown in final output. % The following shows typesetting power of LaTeX: \begin{align} E_0 &= mc^2 \\ E &= \frac{mc^2}{\sqrt{1-\frac{v^2}{c^2}}} \end{align} \end{document}

\documentclass{article} \usepackage{graphicx} \begin{document} \title{Introduction to \LaTeX{}} \author{Author's Name} \maketitle \begin{abstract} The abstract text goes here. \end{abstract} \section{Introduction} Here is the text of your introduction. \begin{equation} \label{simple_equation} \alpha = \sqrt{ \beta } \end{equation} \subsection{Subsection Heading Here} Write your subsection text here. \begin{figure} \centering \includegraphics[width=3.0in]{myfigure} \caption{Simulation Results} \label{simulationfigure} \end{figure} \section{Conclusion} Write your conclusion here. \end{document} Program 4

% This is a comment line \documentclass{article} \begin{document} % Note to self: % I must change this title later! \title{Hello World} \author{Your Name\\ Department of Computer Science\\ Courant Institute, NYU} \maketitle \begin{abstract}..put your abstract here... \end{abstract} \section{First Section}...text... \subsection{First subsection}...text... \subsection{Second subsection}...text... \subsubsection{Second Section}...text......and so on... \end{document} Program 5

insert a table \documentclass{article} \begin{document} \begin{table} \begin{tabular}{|c|c|c|} \hline h1&h2&h3\\ \hline a&b&c\\ \hline \end{tabular} \end{table} \end{document}

Inserting an image \documentclass{article} \usepackage{graphicx} \begin{document} \begin{figure} \includegraphics[width=\linewidth]{boat.jpg} \caption{A boat.} \label{fig:boat1} \end{figure} Figure \ref{fig:boat1} shows a boat. \end{document}

\documentclass{article} Specifies that we want to format our paper using a basic article style. \usepackage{graphicx} This is needed if we want to include figures. Packages are extensions of a basic LaTeX system and provide additional functionality. Packages are loaded using the \usepackage command. \begin{document}... \end{document} The whole document is enclosed between these. \title{Introduction to \LaTeX{}} Here you write the title of the document. (The \LaTeX{} command prints the fancy logo.) \author{Author's Name} Name of the author. \maketitle Tell LaTeX to print the title, author name, etc. here. \begin{abstract}... \end{abstract} Write the abstract between these commands. \section{Heading of the First Section} Every section begins with this command. Write the heading of the section between the curly braces. Then after this command you can write the text of the section. When you want to start a new paragraph of text, write an empty line in the LaTeX source file. \begin{equation} \label{simple_equation} \alpha = \sqrt{ \beta } \end{equation} These commands insert an equation. Greek symbols are simply called with their name by inserting a backslash in front of them. \sqrt creates a square root function. The \label command gives a logical name for the equation. It can be used when creating cross references. \subsection{Subsection Heading Here} Every subsection begins with this command. You can also create subsubsections. If the selected document style uses numbering for headings, sections will be automatically numbered in a hierarchical way. That is, sections get a number like "1", subsections "1.2", and subsubsections "1.2.4".cross references

\begin{figure} \centering \includegraphics[width=3.0in]{myfigure} \caption{Simulation Results} \label{simulationfigure} \end{figure} These lines insert an image file into the document. More about images can be found here. Anyway, the most important command is \includegraphics, which now inserts an image named myfigure.eps (LaTeX appends.eps extension by default) or myfigure.pdf (PdfLaTeX appends.pdf). Additionally the figure gets a caption "Simulation Results" using the \caption command. here