2. What is LaTex
• LaTeX pronounced as “tech”
• not like latex gloves!
• LaTeX is a document preparation system for producing
professional-looking documents, it is not a word processor.
3. 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
4. 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
5. 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
23. A Simple LaTeX Document
documentclass{article}
begin{document}
This is some sample text.
end{document}
24. A Simple LaTeX Document
documentclass{article}
begin{document}
This is some sample text.
end{document}
This is some sample text.
25. Parts of a LaTeX Document
• First line of all LaTeX documents
• Specifies the type of the document
documentclass
{article}
{report}
{book}
{letter}
Basic Classes
26. Parts of a LaTeX Document
Start with begin{. . .}
End with end{. . .}
begin{document}
begin{equation}
…
end{equation}
end{document}
27. Parts of a LaTeX Document
• Everything between documentclass and
begin{document}
• Use for customizing the formatting
28. Body of Text
• Start with begin{document}
• End with end{document}
• Typesetting Text
– or newline and newpage
– Bold textbf{ITER} or bf
– Italics emph{…………} or textit{………} or it
– Underline underline{…………}
29. Various Commands in LaTex
date{today}
date{27 feb 2013}
title{SOA University}
maketitle
usepackage{color}
textcolor{color_name}{text}
{tiny text}
{small text}
{large text}
{huge text}
30. Various Commands in LaTex Contd…
%
tableofcontents
pagenumbering{roman}
pagenumbering{arabic}
42. Mathematics command
$$ for Mathematics Symbols
^ used for Power
_ used for Indices
frac{nmuerator}{denomenator} used for Fraction
sqrt{---} for Square root
sum for Summation
int for integration
$Delta$ =∆
$Pi$ = ∏
$Sigma$ = ∑
$Omega$ = Ω
47. 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
48. Disadvantages of using LaTeX
• “Hard to write disorganized documents”
• Learning Curve
• Customizing is tedious.
49. 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.