SlideShare a Scribd company logo
LaTeX
GUJARAT POWER ENGINEERING & RESEARCH INSTITUE,MEVAL
MEHSANA
JUNE 2012
Presented By:
Rajesh Patel
Assistant Professor,
Computer Engineering Department
2
Outline
1. Introduction of LaTeX
2. Comparison of Msword & LaTeX
3. Software Requirement
3. Sample document
4. Latex commands
5. Examples
What is LaTeX ?
3
LaTeX is a typesetting program and is an extension of the original program TEX
written by Donald Knuth.
Document markup language.
Latex is a computer language for Generating scientific documentation that is
camera-ready..
What is a typesetting program?
Various stages in the preparation of a document
using computers.
1. The text is entered into the computer.
2. The input text is formatted into lines, paragraphs and pages.
3. The output text is displayed on the computer screen.
4. The final output is printed.
4
LaTeX is the frequent choice in certain fields of sciences, like mathematics,
physics, or engineering.
Professionals in these fields are comfortable with the technical complexity
associated with the text file that looks like a computer program and, more
importantly, scientists and engineers frequently need to manipulate large quantities of
equations and graphics.
Desktop word processors like Microsoft Word are ill-suited for this. Furthermore,
problems with Word include:
Math equations involve a slow "select-point-click" process
Editing math equations are time-consuming
Difficult changing references to bibliography entries, footnotes, tables and
figure numbers
Resulting .doc file is huge when involving figures
Slow screen refresh when figures involved - can't enter/edit/scroll text while
figure is loading
Motivation
Comparison
5
Area Ms Word LaTeX
Open source No Yes
Speed- small docs The strength of Word is in
writing short, relatively simple
documents
Writing raw LaTeX is somewhat
slower, because you first write the
contents only and then you generate an
output file with layout in a separate
step.
Speed -big docs w
graphics
Word becomes slow when
handling either very large texts
or texts with large graphics.
Here LaTeX is faster because you write
down only the contents and software
wastes no time thinking about layout.
Ease of use Basic Word features are very easy
to use and everybody can
produce a simple document with
reasonable layout
You will have to initially invest some
hours to learn LaTeX without being
able to immediately produce text.
Contd..
6
Layout quality Word type setting quality is ok
for most purposes but its far
from professional.
LaTeX, on the other hand, provides
you with professional layout out of the
box.
Scientific
features
Here the main shortcoming is
that Word does not include a
citation utility. You will need to
purchase additional software to
fill the gap. Bibliography
programmers come with their
own price.
Since LaTeX is open source. Scientists
have written the extensions they
needed.
Contd..
7
price + availability This is obvious. You have to pay
for Word and Referencing
software
LaTeX is free of charge. So are
most text editors, like TexShop,
and citation managers, like
BiBDesK, WinEdit etc. are
available.
Compatibility MS Word developers make
almost no effort to facilitate
exchange with foreign
programmes. But even between
flavours of Word there are
compatibility problems, e.g.
WinWord vs. MacWord or
latest version to older version.
This is not the case with LaTeX.
The main output format is PDF,
which is the same over all OSs.
LaTeX editors exist for all types of
systems and are highly
compatible.
Open Source Sofwares
TEX file Creation
Latex is a Computer language - one creates and compiles files having names
with a .tex extension. If there are no syntax errors, the resulting output
filename extension is .dvi which stands for device independent. This dvi file
can be processed into a camera-ready format called a Postscript file, having a
.ps extension.
Miktex : miktex-2.0-lvl-1.zip (12.3 MB)
WinEdit: Tex editor
8
MiKTEX (pronounced mik-tech) is an up-to-date implementation of TEX and related
programs for Windows (all current variants) on x86 systems. TEX is a typesetting system
invented by D. E. Knuth.
MiKTEX’s main features include:
Easy to install: MiKTEX comes with a setup program that allows you to install the
distribution via the Internet.
Integrated package management: missing packages can be installed automatically (on-
the-fly) during run-time
Network friendly: MiKTEX can be run directly from a shared and read-only network
directory
 Complete: the MiKTEX distribution contains almost all packages that are freely
redistributable.
Enhanced TEX compiler capabilities
Enhanced previewer capabilities
Open source: MiKTEX source code is available for everyone
9
MiKTEX
10
Example.txt
documentclass{article}
begin{document}
This is my emph{first} document prepared in LaTeX.
end{document}
The first line documentclass{article} tells LATEX that what we want to produce
is an article.
The whole document we want to typeset should be included between
begin{document} and end{document}.
emph is a command to LATEX to typeset the text within the braces in italic1
Sample Example
Contd ..
11
A LaTeX document starts with the command documentclass [option] {type}. The most
common document-classes in LaTex are:
1.book
2.report
3.article
4.letter
Available document structure commands:
Book: part{}, chapter{}, section{}, subsection{}, subsubsection{}, paragraph{}, subparagraph{}.
Report: part{}, chapter{}, section{}, subsection{}, subsubsection{}, paragraph{}, subparagraph{}.
Article: part{}, section{}, subsection{}, subsubsection{}, paragraph{}, subparagraph{}.
Letter: A letter does not know the same structuring commands as other formats, but more specific
commands like signature{}, address{}, opening{} and closing{}.
Templet.txt
documentclass[11pt]{article}
usepackage{graphicx} % needed for including graphics e.g. PS
topmargin -1.5cm
oddsidemargin -0.04cm
evensidemargin -0.04cm % same as oddsidemargin but for left-hand pages
textwidth 16.59cm
textheight 21.94cm
%pagestyle{empty} % Uncomment if don't want page numbers
parskip 7.2pt % sets spacing between paragraphs
%renewcommand{baselinestretch}{1.5} % Uncomment for 1.5 spacing between lines
parindent 0pt % sets leading space for paragraphs
begin{document}
% Start your text
% Stop your text
end{document}
12
Document -latex
begin{center}
The Technical Institute[.75cm]
Certificate
end{center}
noindent This is to certify that Mr. N. O. Vice has undergone a
course at this institute and is qualified to be a Technician.
begin{flushright}
The Director
The Technical Institute
end{flushright}
Here, the commands
begin{center} ... end{center}
typesets the text between them exactly at the center of the page
13
14
begin{flushright} ... end{flushright}
typesets text flush with the right margin.
begin{flushleft} ... end{flushleft}
places the enclosed text flush with the left margin
begin{center}
{bfserieshuge The TeX nical Institute}[1cm]
{scshapeLARGE Certificate}
end{center}
noindent This is to certify that Mr. N. O. Vice has undergone a
course at this institute and is qualified to be a TeX nical Expert.
begin{flushright}
{sffamily The Director
The TeX nical Institute}
end{flushright}
16
LaTEx Packages
Package Name Description
amsmath It contains the advanced math extensions for LaTeX. Mathematics
amssymb It adds new symbols in to be used in math mode.
graphicx To manage external pictures
Cite Assists in citation management
Color It adds support for colored text. relevant section
Rotating It lets you rotate any kind of object. It is particularly useful for rotating
tables
wrapfig To insert images surrounded by text.
xypic Used to create trees, graphs, (commutative) diagrams, and similar things.
Array it extends the possibility of LaTeX to handle tables, adding new features.
Using it, you can create very complicated and customized tables
hyperref it gives LaTeX the possibility to manage links within the document or to any
URL when you compile in PDF.
17
To use a package already installed on your system, insert a usepackage command in your document
preamble with the package name in curly braces:
usepackage{package_name}
For example, to use the color package, which lets you typeset in colors, you would type:
documentclass[a4paper, oneside]{report}
usepackage{color}
begin{document}
...
end{document}
usepackage{package1,package2,package3}
How to Import Package ?
18
documentclass[a4paper,oneside]{report}
usepackage{graphicx,color}
usepackage{geometry}
begin{document}
title{color{red}Practical Typesetting}
author{color{blue}Name Work}
date{color{green}December 2005}
end{document}
Examples
19
Research paper
Presentation
 Thesis
20

More Related Content

What's hot

Introduction Latex
Introduction LatexIntroduction Latex
Introduction Latex
tran dinh
 
LaTeX Basics
LaTeX BasicsLaTeX Basics
LaTeX Basics
Kristen Sauby
 
Training basic latex
Training basic latexTraining basic latex
Training basic latex
University of Technology
 
Latex for beginner
Latex for beginnerLatex for beginner
Latex for beginner
mahindrupali
 
Editing documents with LaTeX
Editing documents with LaTeXEditing documents with LaTeX
Editing documents with LaTeX
Laura M. Castro
 
Ms word Presentation
Ms word PresentationMs word Presentation
Ms word PresentationMadhab Behera
 
Introduction to LaTeX
Introduction to LaTeXIntroduction to LaTeX
Introduction to LaTeX
sahirbhatnagar
 
Fundamental of translation
Fundamental of translationFundamental of translation
Fundamental of translation
Ajoy Singh
 
scientific writing 01 - latex
scientific writing   01 - latexscientific writing   01 - latex
scientific writing 01 - latex
Leo Chen
 
Ieee rules for paper presentation
Ieee rules for paper presentationIeee rules for paper presentation
Ieee rules for paper presentation
ffunny
 
Ieee format paper
Ieee format paperIeee format paper
Ieee format paper
Arif LP
 
Types of technical writing
Types of technical writingTypes of technical writing
Types of technical writing
sameepharvin
 
Gender system in urdu language
Gender system in urdu languageGender system in urdu language
Gender system in urdu languageMaqsood Ahmad
 
Ethical Considerations in Technical Writing and the Workplace
Ethical Considerations in Technical Writing and the WorkplaceEthical Considerations in Technical Writing and the Workplace
Ethical Considerations in Technical Writing and the Workplace
The Integral Worm
 
Scientific and Technical Translation in English - Week 3
Scientific and Technical Translation in English - Week 3Scientific and Technical Translation in English - Week 3
Scientific and Technical Translation in English - Week 3
Ron Martinez
 
Elements of technical document
Elements of technical documentElements of technical document
Elements of technical document
MohammadFaisal170
 
Technical writing
Technical writingTechnical writing
Technical writing
AnsviaLab
 
Functional english
Functional englishFunctional english
Functional english
Zaibi Gondal
 

What's hot (20)

Introduction Latex
Introduction LatexIntroduction Latex
Introduction Latex
 
LaTeX Basics
LaTeX BasicsLaTeX Basics
LaTeX Basics
 
Training basic latex
Training basic latexTraining basic latex
Training basic latex
 
Latex for beginner
Latex for beginnerLatex for beginner
Latex for beginner
 
Lecture1 (technical writing)
Lecture1 (technical writing)Lecture1 (technical writing)
Lecture1 (technical writing)
 
Editing documents with LaTeX
Editing documents with LaTeXEditing documents with LaTeX
Editing documents with LaTeX
 
Ms word Presentation
Ms word PresentationMs word Presentation
Ms word Presentation
 
Introduction to LaTeX
Introduction to LaTeXIntroduction to LaTeX
Introduction to LaTeX
 
Fundamental of translation
Fundamental of translationFundamental of translation
Fundamental of translation
 
scientific writing 01 - latex
scientific writing   01 - latexscientific writing   01 - latex
scientific writing 01 - latex
 
Ieee rules for paper presentation
Ieee rules for paper presentationIeee rules for paper presentation
Ieee rules for paper presentation
 
Technical writing
Technical writingTechnical writing
Technical writing
 
Ieee format paper
Ieee format paperIeee format paper
Ieee format paper
 
Types of technical writing
Types of technical writingTypes of technical writing
Types of technical writing
 
Gender system in urdu language
Gender system in urdu languageGender system in urdu language
Gender system in urdu language
 
Ethical Considerations in Technical Writing and the Workplace
Ethical Considerations in Technical Writing and the WorkplaceEthical Considerations in Technical Writing and the Workplace
Ethical Considerations in Technical Writing and the Workplace
 
Scientific and Technical Translation in English - Week 3
Scientific and Technical Translation in English - Week 3Scientific and Technical Translation in English - Week 3
Scientific and Technical Translation in English - Week 3
 
Elements of technical document
Elements of technical documentElements of technical document
Elements of technical document
 
Technical writing
Technical writingTechnical writing
Technical writing
 
Functional english
Functional englishFunctional english
Functional english
 

Similar to LATEX.ppt

Latex Tutorial by Dr. M. C. Hanumantharaju
Latex Tutorial by Dr. M. C. HanumantharajuLatex Tutorial by Dr. M. C. Hanumantharaju
Latex Tutorial by Dr. M. C. Hanumantharaju
BMS Institute of Technology and Management
 
latex-workshop Dr: Mohamed A. Alrshah
latex-workshop Dr: Mohamed A. Alrshahlatex-workshop Dr: Mohamed A. Alrshah
latex-workshop Dr: Mohamed A. Alrshah
Abdulazim N.Elaati
 
Introduction to LaTeX
Introduction to LaTeXIntroduction to LaTeX
Introduction to LaTeX
Ashesh Timilsina
 
latex document for IT workshop Lab . B.Tech
latex document for IT workshop Lab . B.Techlatex document for IT workshop Lab . B.Tech
latex document for IT workshop Lab . B.Tech
Sandhya Gandham
 
Inroduction to Latex
Inroduction to LatexInroduction to Latex
Inroduction to Latex
Swati Srivastava
 
documents writing with LATEX
documents writing with LATEXdocuments writing with LATEX
documents writing with LATEX
Anusha Vajrapu
 
Write effectlively in late x
Write effectlively in late xWrite effectlively in late x
Write effectlively in late x
C-CORE
 
Latex workshop installing Latex editor in windows
Latex workshop installing Latex editor in windowsLatex workshop installing Latex editor in windows
Latex workshop installing Latex editor in windowsZahra Marzook
 
Latex ppt copy
Latex ppt   copyLatex ppt   copy
Latex ppt copy
Rajesh Kumar
 
Prof. Chethan Raj C, BE, M.Tech (Ph.D) Dept. of CSE. System Software & Operat...
Prof. Chethan Raj C, BE, M.Tech (Ph.D) Dept. of CSE. System Software & Operat...Prof. Chethan Raj C, BE, M.Tech (Ph.D) Dept. of CSE. System Software & Operat...
Prof. Chethan Raj C, BE, M.Tech (Ph.D) Dept. of CSE. System Software & Operat...
Prof Chethan Raj C
 
Tutorial on LATEX: A Computer Program for Typesetting Documents
Tutorial on LATEX: A Computer Program for Typesetting DocumentsTutorial on LATEX: A Computer Program for Typesetting Documents
Tutorial on LATEX: A Computer Program for Typesetting Documents
Dr. Mehar Chand
 
Importanat
ImportanatImportanat
Importanat
Muluken Temesgen
 
Ltxprimer 1.0
Ltxprimer 1.0Ltxprimer 1.0
Ltxprimer 1.0
Denis Vet Can Clinican
 
Technical writing using LaTeX
Technical writing using LaTeXTechnical writing using LaTeX
Technical writing using LaTeX
Partha Sarathi Chakraborty
 
LaTeX로 문서 작성하자
LaTeX로 문서 작성하자LaTeX로 문서 작성하자
LaTeX로 문서 작성하자
Kangjun Heo
 
LaTex workshop
LaTex workshopLaTex workshop
LaTex workshop
Ashwan Abdulmunem
 
LaTeX Part 1
LaTeX Part 1LaTeX Part 1
LaTeX Part 1
awv7t
 

Similar to LATEX.ppt (20)

Latex Tutorial by Dr. M. C. Hanumantharaju
Latex Tutorial by Dr. M. C. HanumantharajuLatex Tutorial by Dr. M. C. Hanumantharaju
Latex Tutorial by Dr. M. C. Hanumantharaju
 
latex-workshop Dr: Mohamed A. Alrshah
latex-workshop Dr: Mohamed A. Alrshahlatex-workshop Dr: Mohamed A. Alrshah
latex-workshop Dr: Mohamed A. Alrshah
 
Introduction to LaTeX
Introduction to LaTeXIntroduction to LaTeX
Introduction to LaTeX
 
latex document for IT workshop Lab . B.Tech
latex document for IT workshop Lab . B.Techlatex document for IT workshop Lab . B.Tech
latex document for IT workshop Lab . B.Tech
 
Inroduction to Latex
Inroduction to LatexInroduction to Latex
Inroduction to Latex
 
documents writing with LATEX
documents writing with LATEXdocuments writing with LATEX
documents writing with LATEX
 
Write effectlively in late x
Write effectlively in late xWrite effectlively in late x
Write effectlively in late x
 
Latex workshop installing Latex editor in windows
Latex workshop installing Latex editor in windowsLatex workshop installing Latex editor in windows
Latex workshop installing Latex editor in windows
 
Learn Latex
Learn LatexLearn Latex
Learn Latex
 
Latex ppt copy
Latex ppt   copyLatex ppt   copy
Latex ppt copy
 
Prof. Chethan Raj C, BE, M.Tech (Ph.D) Dept. of CSE. System Software & Operat...
Prof. Chethan Raj C, BE, M.Tech (Ph.D) Dept. of CSE. System Software & Operat...Prof. Chethan Raj C, BE, M.Tech (Ph.D) Dept. of CSE. System Software & Operat...
Prof. Chethan Raj C, BE, M.Tech (Ph.D) Dept. of CSE. System Software & Operat...
 
Chap03 scr
Chap03 scrChap03 scr
Chap03 scr
 
Tutorial on LATEX: A Computer Program for Typesetting Documents
Tutorial on LATEX: A Computer Program for Typesetting DocumentsTutorial on LATEX: A Computer Program for Typesetting Documents
Tutorial on LATEX: A Computer Program for Typesetting Documents
 
Importanat
ImportanatImportanat
Importanat
 
Ltxprimer 1.0
Ltxprimer 1.0Ltxprimer 1.0
Ltxprimer 1.0
 
Technical writing using LaTeX
Technical writing using LaTeXTechnical writing using LaTeX
Technical writing using LaTeX
 
LaTeX로 문서 작성하자
LaTeX로 문서 작성하자LaTeX로 문서 작성하자
LaTeX로 문서 작성하자
 
LaTex workshop
LaTex workshopLaTex workshop
LaTex workshop
 
14 Late X
14 Late X14 Late X
14 Late X
 
LaTeX Part 1
LaTeX Part 1LaTeX Part 1
LaTeX Part 1
 

Recently uploaded

How libraries can support authors with open access requirements for UKRI fund...
How libraries can support authors with open access requirements for UKRI fund...How libraries can support authors with open access requirements for UKRI fund...
How libraries can support authors with open access requirements for UKRI fund...
Jisc
 
Embracing GenAI - A Strategic Imperative
Embracing GenAI - A Strategic ImperativeEmbracing GenAI - A Strategic Imperative
Embracing GenAI - A Strategic Imperative
Peter Windle
 
Honest Reviews of Tim Han LMA Course Program.pptx
Honest Reviews of Tim Han LMA Course Program.pptxHonest Reviews of Tim Han LMA Course Program.pptx
Honest Reviews of Tim Han LMA Course Program.pptx
timhan337
 
Biological Screening of Herbal Drugs in detailed.
Biological Screening of Herbal Drugs in detailed.Biological Screening of Herbal Drugs in detailed.
Biological Screening of Herbal Drugs in detailed.
Ashokrao Mane college of Pharmacy Peth-Vadgaon
 
Unit 2- Research Aptitude (UGC NET Paper I).pdf
Unit 2- Research Aptitude (UGC NET Paper I).pdfUnit 2- Research Aptitude (UGC NET Paper I).pdf
Unit 2- Research Aptitude (UGC NET Paper I).pdf
Thiyagu K
 
Welcome to TechSoup New Member Orientation and Q&A (May 2024).pdf
Welcome to TechSoup   New Member Orientation and Q&A (May 2024).pdfWelcome to TechSoup   New Member Orientation and Q&A (May 2024).pdf
Welcome to TechSoup New Member Orientation and Q&A (May 2024).pdf
TechSoup
 
Lapbook sobre os Regimes Totalitários.pdf
Lapbook sobre os Regimes Totalitários.pdfLapbook sobre os Regimes Totalitários.pdf
Lapbook sobre os Regimes Totalitários.pdf
Jean Carlos Nunes Paixão
 
678020731-Sumas-y-Restas-Para-Colorear.pdf
678020731-Sumas-y-Restas-Para-Colorear.pdf678020731-Sumas-y-Restas-Para-Colorear.pdf
678020731-Sumas-y-Restas-Para-Colorear.pdf
CarlosHernanMontoyab2
 
Digital Tools and AI for Teaching Learning and Research
Digital Tools and AI for Teaching Learning and ResearchDigital Tools and AI for Teaching Learning and Research
Digital Tools and AI for Teaching Learning and Research
Vikramjit Singh
 
Synthetic Fiber Construction in lab .pptx
Synthetic Fiber Construction in lab .pptxSynthetic Fiber Construction in lab .pptx
Synthetic Fiber Construction in lab .pptx
Pavel ( NSTU)
 
Operation Blue Star - Saka Neela Tara
Operation Blue Star   -  Saka Neela TaraOperation Blue Star   -  Saka Neela Tara
Operation Blue Star - Saka Neela Tara
Balvir Singh
 
Francesca Gottschalk - How can education support child empowerment.pptx
Francesca Gottschalk - How can education support child empowerment.pptxFrancesca Gottschalk - How can education support child empowerment.pptx
Francesca Gottschalk - How can education support child empowerment.pptx
EduSkills OECD
 
2024.06.01 Introducing a competency framework for languag learning materials ...
2024.06.01 Introducing a competency framework for languag learning materials ...2024.06.01 Introducing a competency framework for languag learning materials ...
2024.06.01 Introducing a competency framework for languag learning materials ...
Sandy Millin
 
The Accursed House by Émile Gaboriau.pptx
The Accursed House by Émile Gaboriau.pptxThe Accursed House by Émile Gaboriau.pptx
The Accursed House by Émile Gaboriau.pptx
DhatriParmar
 
Home assignment II on Spectroscopy 2024 Answers.pdf
Home assignment II on Spectroscopy 2024 Answers.pdfHome assignment II on Spectroscopy 2024 Answers.pdf
Home assignment II on Spectroscopy 2024 Answers.pdf
Tamralipta Mahavidyalaya
 
Palestine last event orientationfvgnh .pptx
Palestine last event orientationfvgnh .pptxPalestine last event orientationfvgnh .pptx
Palestine last event orientationfvgnh .pptx
RaedMohamed3
 
Overview on Edible Vaccine: Pros & Cons with Mechanism
Overview on Edible Vaccine: Pros & Cons with MechanismOverview on Edible Vaccine: Pros & Cons with Mechanism
Overview on Edible Vaccine: Pros & Cons with Mechanism
DeeptiGupta154
 
Sha'Carri Richardson Presentation 202345
Sha'Carri Richardson Presentation 202345Sha'Carri Richardson Presentation 202345
Sha'Carri Richardson Presentation 202345
beazzy04
 
Mule 4.6 & Java 17 Upgrade | MuleSoft Mysore Meetup #46
Mule 4.6 & Java 17 Upgrade | MuleSoft Mysore Meetup #46Mule 4.6 & Java 17 Upgrade | MuleSoft Mysore Meetup #46
Mule 4.6 & Java 17 Upgrade | MuleSoft Mysore Meetup #46
MysoreMuleSoftMeetup
 
Model Attribute Check Company Auto Property
Model Attribute  Check Company Auto PropertyModel Attribute  Check Company Auto Property
Model Attribute Check Company Auto Property
Celine George
 

Recently uploaded (20)

How libraries can support authors with open access requirements for UKRI fund...
How libraries can support authors with open access requirements for UKRI fund...How libraries can support authors with open access requirements for UKRI fund...
How libraries can support authors with open access requirements for UKRI fund...
 
Embracing GenAI - A Strategic Imperative
Embracing GenAI - A Strategic ImperativeEmbracing GenAI - A Strategic Imperative
Embracing GenAI - A Strategic Imperative
 
Honest Reviews of Tim Han LMA Course Program.pptx
Honest Reviews of Tim Han LMA Course Program.pptxHonest Reviews of Tim Han LMA Course Program.pptx
Honest Reviews of Tim Han LMA Course Program.pptx
 
Biological Screening of Herbal Drugs in detailed.
Biological Screening of Herbal Drugs in detailed.Biological Screening of Herbal Drugs in detailed.
Biological Screening of Herbal Drugs in detailed.
 
Unit 2- Research Aptitude (UGC NET Paper I).pdf
Unit 2- Research Aptitude (UGC NET Paper I).pdfUnit 2- Research Aptitude (UGC NET Paper I).pdf
Unit 2- Research Aptitude (UGC NET Paper I).pdf
 
Welcome to TechSoup New Member Orientation and Q&A (May 2024).pdf
Welcome to TechSoup   New Member Orientation and Q&A (May 2024).pdfWelcome to TechSoup   New Member Orientation and Q&A (May 2024).pdf
Welcome to TechSoup New Member Orientation and Q&A (May 2024).pdf
 
Lapbook sobre os Regimes Totalitários.pdf
Lapbook sobre os Regimes Totalitários.pdfLapbook sobre os Regimes Totalitários.pdf
Lapbook sobre os Regimes Totalitários.pdf
 
678020731-Sumas-y-Restas-Para-Colorear.pdf
678020731-Sumas-y-Restas-Para-Colorear.pdf678020731-Sumas-y-Restas-Para-Colorear.pdf
678020731-Sumas-y-Restas-Para-Colorear.pdf
 
Digital Tools and AI for Teaching Learning and Research
Digital Tools and AI for Teaching Learning and ResearchDigital Tools and AI for Teaching Learning and Research
Digital Tools and AI for Teaching Learning and Research
 
Synthetic Fiber Construction in lab .pptx
Synthetic Fiber Construction in lab .pptxSynthetic Fiber Construction in lab .pptx
Synthetic Fiber Construction in lab .pptx
 
Operation Blue Star - Saka Neela Tara
Operation Blue Star   -  Saka Neela TaraOperation Blue Star   -  Saka Neela Tara
Operation Blue Star - Saka Neela Tara
 
Francesca Gottschalk - How can education support child empowerment.pptx
Francesca Gottschalk - How can education support child empowerment.pptxFrancesca Gottschalk - How can education support child empowerment.pptx
Francesca Gottschalk - How can education support child empowerment.pptx
 
2024.06.01 Introducing a competency framework for languag learning materials ...
2024.06.01 Introducing a competency framework for languag learning materials ...2024.06.01 Introducing a competency framework for languag learning materials ...
2024.06.01 Introducing a competency framework for languag learning materials ...
 
The Accursed House by Émile Gaboriau.pptx
The Accursed House by Émile Gaboriau.pptxThe Accursed House by Émile Gaboriau.pptx
The Accursed House by Émile Gaboriau.pptx
 
Home assignment II on Spectroscopy 2024 Answers.pdf
Home assignment II on Spectroscopy 2024 Answers.pdfHome assignment II on Spectroscopy 2024 Answers.pdf
Home assignment II on Spectroscopy 2024 Answers.pdf
 
Palestine last event orientationfvgnh .pptx
Palestine last event orientationfvgnh .pptxPalestine last event orientationfvgnh .pptx
Palestine last event orientationfvgnh .pptx
 
Overview on Edible Vaccine: Pros & Cons with Mechanism
Overview on Edible Vaccine: Pros & Cons with MechanismOverview on Edible Vaccine: Pros & Cons with Mechanism
Overview on Edible Vaccine: Pros & Cons with Mechanism
 
Sha'Carri Richardson Presentation 202345
Sha'Carri Richardson Presentation 202345Sha'Carri Richardson Presentation 202345
Sha'Carri Richardson Presentation 202345
 
Mule 4.6 & Java 17 Upgrade | MuleSoft Mysore Meetup #46
Mule 4.6 & Java 17 Upgrade | MuleSoft Mysore Meetup #46Mule 4.6 & Java 17 Upgrade | MuleSoft Mysore Meetup #46
Mule 4.6 & Java 17 Upgrade | MuleSoft Mysore Meetup #46
 
Model Attribute Check Company Auto Property
Model Attribute  Check Company Auto PropertyModel Attribute  Check Company Auto Property
Model Attribute Check Company Auto Property
 

LATEX.ppt

  • 1. LaTeX GUJARAT POWER ENGINEERING & RESEARCH INSTITUE,MEVAL MEHSANA JUNE 2012 Presented By: Rajesh Patel Assistant Professor, Computer Engineering Department
  • 2. 2 Outline 1. Introduction of LaTeX 2. Comparison of Msword & LaTeX 3. Software Requirement 3. Sample document 4. Latex commands 5. Examples
  • 3. What is LaTeX ? 3 LaTeX is a typesetting program and is an extension of the original program TEX written by Donald Knuth. Document markup language. Latex is a computer language for Generating scientific documentation that is camera-ready.. What is a typesetting program? Various stages in the preparation of a document using computers. 1. The text is entered into the computer. 2. The input text is formatted into lines, paragraphs and pages. 3. The output text is displayed on the computer screen. 4. The final output is printed.
  • 4. 4 LaTeX is the frequent choice in certain fields of sciences, like mathematics, physics, or engineering. Professionals in these fields are comfortable with the technical complexity associated with the text file that looks like a computer program and, more importantly, scientists and engineers frequently need to manipulate large quantities of equations and graphics. Desktop word processors like Microsoft Word are ill-suited for this. Furthermore, problems with Word include: Math equations involve a slow "select-point-click" process Editing math equations are time-consuming Difficult changing references to bibliography entries, footnotes, tables and figure numbers Resulting .doc file is huge when involving figures Slow screen refresh when figures involved - can't enter/edit/scroll text while figure is loading Motivation
  • 5. Comparison 5 Area Ms Word LaTeX Open source No Yes Speed- small docs The strength of Word is in writing short, relatively simple documents Writing raw LaTeX is somewhat slower, because you first write the contents only and then you generate an output file with layout in a separate step. Speed -big docs w graphics Word becomes slow when handling either very large texts or texts with large graphics. Here LaTeX is faster because you write down only the contents and software wastes no time thinking about layout. Ease of use Basic Word features are very easy to use and everybody can produce a simple document with reasonable layout You will have to initially invest some hours to learn LaTeX without being able to immediately produce text.
  • 6. Contd.. 6 Layout quality Word type setting quality is ok for most purposes but its far from professional. LaTeX, on the other hand, provides you with professional layout out of the box. Scientific features Here the main shortcoming is that Word does not include a citation utility. You will need to purchase additional software to fill the gap. Bibliography programmers come with their own price. Since LaTeX is open source. Scientists have written the extensions they needed.
  • 7. Contd.. 7 price + availability This is obvious. You have to pay for Word and Referencing software LaTeX is free of charge. So are most text editors, like TexShop, and citation managers, like BiBDesK, WinEdit etc. are available. Compatibility MS Word developers make almost no effort to facilitate exchange with foreign programmes. But even between flavours of Word there are compatibility problems, e.g. WinWord vs. MacWord or latest version to older version. This is not the case with LaTeX. The main output format is PDF, which is the same over all OSs. LaTeX editors exist for all types of systems and are highly compatible.
  • 8. Open Source Sofwares TEX file Creation Latex is a Computer language - one creates and compiles files having names with a .tex extension. If there are no syntax errors, the resulting output filename extension is .dvi which stands for device independent. This dvi file can be processed into a camera-ready format called a Postscript file, having a .ps extension. Miktex : miktex-2.0-lvl-1.zip (12.3 MB) WinEdit: Tex editor 8
  • 9. MiKTEX (pronounced mik-tech) is an up-to-date implementation of TEX and related programs for Windows (all current variants) on x86 systems. TEX is a typesetting system invented by D. E. Knuth. MiKTEX’s main features include: Easy to install: MiKTEX comes with a setup program that allows you to install the distribution via the Internet. Integrated package management: missing packages can be installed automatically (on- the-fly) during run-time Network friendly: MiKTEX can be run directly from a shared and read-only network directory  Complete: the MiKTEX distribution contains almost all packages that are freely redistributable. Enhanced TEX compiler capabilities Enhanced previewer capabilities Open source: MiKTEX source code is available for everyone 9 MiKTEX
  • 10. 10 Example.txt documentclass{article} begin{document} This is my emph{first} document prepared in LaTeX. end{document} The first line documentclass{article} tells LATEX that what we want to produce is an article. The whole document we want to typeset should be included between begin{document} and end{document}. emph is a command to LATEX to typeset the text within the braces in italic1 Sample Example
  • 11. Contd .. 11 A LaTeX document starts with the command documentclass [option] {type}. The most common document-classes in LaTex are: 1.book 2.report 3.article 4.letter Available document structure commands: Book: part{}, chapter{}, section{}, subsection{}, subsubsection{}, paragraph{}, subparagraph{}. Report: part{}, chapter{}, section{}, subsection{}, subsubsection{}, paragraph{}, subparagraph{}. Article: part{}, section{}, subsection{}, subsubsection{}, paragraph{}, subparagraph{}. Letter: A letter does not know the same structuring commands as other formats, but more specific commands like signature{}, address{}, opening{} and closing{}.
  • 12. Templet.txt documentclass[11pt]{article} usepackage{graphicx} % needed for including graphics e.g. PS topmargin -1.5cm oddsidemargin -0.04cm evensidemargin -0.04cm % same as oddsidemargin but for left-hand pages textwidth 16.59cm textheight 21.94cm %pagestyle{empty} % Uncomment if don't want page numbers parskip 7.2pt % sets spacing between paragraphs %renewcommand{baselinestretch}{1.5} % Uncomment for 1.5 spacing between lines parindent 0pt % sets leading space for paragraphs begin{document} % Start your text % Stop your text end{document} 12
  • 13. Document -latex begin{center} The Technical Institute[.75cm] Certificate end{center} noindent This is to certify that Mr. N. O. Vice has undergone a course at this institute and is qualified to be a Technician. begin{flushright} The Director The Technical Institute end{flushright} Here, the commands begin{center} ... end{center} typesets the text between them exactly at the center of the page 13
  • 14. 14 begin{flushright} ... end{flushright} typesets text flush with the right margin. begin{flushleft} ... end{flushleft} places the enclosed text flush with the left margin
  • 15. begin{center} {bfserieshuge The TeX nical Institute}[1cm] {scshapeLARGE Certificate} end{center} noindent This is to certify that Mr. N. O. Vice has undergone a course at this institute and is qualified to be a TeX nical Expert. begin{flushright} {sffamily The Director The TeX nical Institute} end{flushright}
  • 16. 16 LaTEx Packages Package Name Description amsmath It contains the advanced math extensions for LaTeX. Mathematics amssymb It adds new symbols in to be used in math mode. graphicx To manage external pictures Cite Assists in citation management Color It adds support for colored text. relevant section Rotating It lets you rotate any kind of object. It is particularly useful for rotating tables wrapfig To insert images surrounded by text. xypic Used to create trees, graphs, (commutative) diagrams, and similar things. Array it extends the possibility of LaTeX to handle tables, adding new features. Using it, you can create very complicated and customized tables hyperref it gives LaTeX the possibility to manage links within the document or to any URL when you compile in PDF.
  • 17. 17 To use a package already installed on your system, insert a usepackage command in your document preamble with the package name in curly braces: usepackage{package_name} For example, to use the color package, which lets you typeset in colors, you would type: documentclass[a4paper, oneside]{report} usepackage{color} begin{document} ... end{document} usepackage{package1,package2,package3} How to Import Package ?
  • 20. 20