Top Banner
Presented by : Rajesh Kumar Sahu reg no. 0911017031
50

Latex ppt copy

Sep 01, 2014

Download

Documents

Rajesh Kumar

this is the slide to learn how to convert document file to pdf file. this will help beginners to understand the concepts.
Welcome message from author
This document is posted to help you gain knowledge. Please leave a comment to let me know what you think about it! Share it to your friends and learn new things together.
Transcript
Page 1: Latex ppt   copy

Presented by :

Rajesh Kumar Sahureg no. 0911017031

Page 2: Latex ppt   copy

What is LaTex

• LaTeX pronounced as “tech”• not like latex gloves!

• LaTeX is a document preparation system for producingprofessional-looking documents, it is not a word processor.

Page 3: Latex ppt   copy

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 extension of TeX–Macro packages to make TeX easier to use

Page 4: Latex ppt   copy

Latex vs. Word Processors

• High typeset quality• Easy to include math formulas• Source file format is not bounded to a particular

OS or platform• Latex implementations exists for all platforms

(DOS, Windows, Unices,..)• Latex is free

Page 5: Latex ppt   copy

Latex vs. Word Processors

• De facto standard for scientific publishing• Very few bugs• Good for large documents• Can run even on 386 PC• Not very easy to learn

Page 6: Latex ppt   copy

Getting Started

– Windows• TeXnicCenter• proTeXt

– Linux• TeXLive

– Mac• LyX & MacTeX

Page 7: Latex ppt   copy

Macro package

How LaTeX works?

• TeX is a typesetter– You write and TeX will place it on the page

Input file Tex Output driver Output

file

LaTex

Page 8: Latex ppt   copy

Output Formats

• .dvi Device Independent• .ps Post Script• .pdf PDF• .rtf Rich Text Format• .htmlHTML• .xml XML

Page 9: Latex ppt   copy

How to Install ProText on Windows

Page 10: Latex ppt   copy
Page 11: Latex ppt   copy
Page 12: Latex ppt   copy
Page 13: Latex ppt   copy
Page 14: Latex ppt   copy
Page 15: Latex ppt   copy
Page 16: Latex ppt   copy
Page 17: Latex ppt   copy
Page 18: Latex ppt   copy
Page 19: Latex ppt   copy
Page 20: Latex ppt   copy
Page 21: Latex ppt   copy
Page 22: Latex ppt   copy
Page 23: Latex ppt   copy

A Simple LaTeX Document \documentclassarticle \begindocument This is some sample text. \enddocument

Page 24: Latex ppt   copy

Output

A Simple LaTeX Document \documentclassarticle \begindocument This is some sample text. \enddocument

This is some sample text.

Page 25: Latex ppt   copy

Parts of a LaTeX Document

• First line of all LaTeX documents• Specifies the type of the document

\documentclass articlereportbookletter

Basic Classes

Page 26: Latex ppt   copy

Parts of a LaTeX Document

Start with \begin. . .End with \end. . .

\begindocument \beginequation

… \endequation\enddocument

Page 27: Latex ppt   copy

Parts of a LaTeX Document

• Everything between \documentclass and \begindocument

• Use for customizing the formatting

Page 28: Latex ppt   copy

Body of Text

• Start with \begindocument• End with \enddocument• Typesetting Text– \\ or \newline and \newpage– Bold \textbfITER or \bf – Italics \emph………… or \textit……… or \it– Underline \underline…………

Page 29: Latex ppt   copy

Various Commands in LaTex

\date\today\date27 feb 2013\titleSOA University\maketitle\usepackagecolor \textcolorcolor_nametext\tiny text\small text\large text\huge text

Page 30: Latex ppt   copy

Various Commands in LaTex Contd…

%\tableofcontents\pagenumberingroman\pagenumberingarabic

Page 31: Latex ppt   copy

Lists

• Example \documentclassarticle

\beginitemize\item Apple\item Orange\enditemize

Page 32: Latex ppt   copy

Lists

• Example \documentclassarticle

\beginitemize\item Apple\item Orange\enditemize

• Apple• Orange

Output

Page 33: Latex ppt   copy

Sections

\sectionS’O’A University

\subsectionITER

\subsubsectionCS&IT Department

Page 34: Latex ppt   copy

Reserved character in LaTexFollowing are Reserved character :-

# $ % ^ & * ~ \

Page 35: Latex ppt   copy

Reserved character in LaTexFollowing are Resrved character :-

# $ % ^ & * ~ \

\textbackslash

Page 36: Latex ppt   copy

Alignment

• Environments center, flushleft, flushright• Example

\beginflushrightRight aligned\endflushright

Page 37: Latex ppt   copy

Alignment

• Environments center, flushleft, flushright• Example

\beginflushrightRight aligned\endflushright

Right alignedOutput

Page 38: Latex ppt   copy

Example of table

\documentclassarticle\begintabular | l | r | c | \hlineDate & Price & Size \\ \hlineYesterday & 5 & big \\ \hlineToday & 3 & small \\ \hline\endtabular

Page 39: Latex ppt   copy

Example of table

\documentclassarticle\begintabular| l | r | c | \hlineDate & Price & Size \\ \hlineYesterday & 5 & big \\ \hlineToday & 3 & small \\ \hline\endtabular

Date Price Size Yesterday 5 Big Today 3 Small

Output

Page 40: Latex ppt   copy

Figures in LaTex

•Image should be in these files:-

PNG JPEGGIFPDF

Page 41: Latex ppt   copy

Figure format

\documentclassarticle\usepackagegraphicx \beginfigure[h]\centering\includegraphics[width=1\textwidth]image name\captionHere is my image\labelimage-myimage\endfigure

Page 42: Latex ppt   copy

Mathematics command

$$ for Mathematics Symbols^ used for Power_ used for Indices\fracnmueratordenomenator used for Fraction\sqrt--- for Square root\sum for Summation\int for integration$\Delta$ =∆ $\Pi$ = ∏$\Sigma$ = ∑$\Omega$ = Ω

Page 43: Latex ppt   copy

Mathematics in LaTex\documentclassarticle\begindocument$$\sqrty^2$$\begineqnarray23a & = & b + c \\& = & y - z\endeqnarray$$\sum_x=1^5 y^z$$\enddocument

Page 44: Latex ppt   copy

Mathematics in LaTex\documentclassarticle\begindocument$$\sqrty^2$$\begineqnarray23a & = & b + c \\& = & y - z\endeqnarray$$\sum_x=1^5 y^z$$\enddocument

Page 45: Latex ppt   copy

Mathematics in LaTex\documentclassarticle\begindocument$$\sqrty^2$$\begineqnarray23a & = & b + c \\& = & y - z\endeqnarray$$\sum_x=1^5 y^z$$\enddocument

Page 46: Latex ppt   copy

Mathematics in LaTex\documentclassarticle\begindocument$$\sqrty^2$$\begineqnarray23a & = & b + c \\& = & y - z\endeqnarray$$\sum_x=1^5 y^z$$\enddocument

Page 47: Latex ppt   copy

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

Page 48: Latex ppt   copy

Disadvantages of using LaTeX

• “Hard to write disorganized documents”• Learning Curve• Customizing is tedious.

Page 49: Latex ppt   copy

Conclusions

• Latex is optimal for master and phd thesis• Mathematical formulae are easy. • Consider converting Postscript files to PDF (more

widespread in Windows world) and to conserve space.

Page 50: Latex ppt   copy

Bibliography

[1] http://www.wag.caltech.edu/home/rpm/presentations/2002-02-Latex-Slides/latex_talk.pdf

[2] Introduction to Latex www.iu.hio.no/~frodes/rm/ppt/latex.ppt

[3] LaTeX -Wikipedia, the free encyclopedia en.wikipedia.org/wiki/LaTeX

[4] LaTeX – A document preparation system www.latex-project.org/