3. AGENDA
How to download LATEX.
Learn about LATEX and how it works.
Deepak Kumar Sharma (GNDEC) LATEX July 9, 2013 2 / 16
4. AGENDA
How to download LATEX.
Learn about LATEX and how it works.
Why LATEX?
Deepak Kumar Sharma (GNDEC) LATEX July 9, 2013 2 / 16
5. Q: WHAT IS LATEX?
Deepak Kumar Sharma (GNDEC) LATEX July 9, 2013 3 / 16
6. LATEX
LATEX is a software system that produces the
professional typeset documents. LATEX was
originally written in the early 1980s by Leslie
Lamport.
Deepak Kumar Sharma (GNDEC) LATEX July 9, 2013 4 / 16
9. Learning Part
Basic Syntax Of LATEX
documentclass[]{}
usepackage[]{}
.
.
begin{document}
.
.
.
.
end{document}
Deepak Kumar Sharma (GNDEC) LATEX July 9, 2013 6 / 16
10. Learning Part
Basic Syntax Of LATEX
documentclass[12pt]{article}
usepackage{amsmath}
title{LaTeX{}}
date{today}
begin{document}
maketitle
begin{align}
E &=mc^2
m &= frac{m_0}{sqrt{1-frac{v^2}{c^2}}}
end{document}
Deepak Kumar Sharma (GNDEC) LATEX July 9, 2013 7 / 16
11. How to get an output
Save file as ”.tex”
Deepak Kumar Sharma (GNDEC) LATEX July 9, 2013 8 / 16
12. How to get an output
Save file as ”.tex”
Compile code by typing ”pdflatex abc.tex”
Deepak Kumar Sharma (GNDEC) LATEX July 9, 2013 8 / 16
13. How to get an output
Save file as ”.tex”
Compile code by typing ”pdflatex abc.tex”
Get output by typing ”evince abc.pdf”
Deepak Kumar Sharma (GNDEC) LATEX July 9, 2013 8 / 16
20. LATEX isn’t for everyone but it could be for you
Anyone who has used M − shWord for a reasonable
amount of time will recognise my very own Anonymous
Laws on Word:
Likelihood of a crash is directly proportional to the
importance of a document.
Deepak Kumar Sharma (GNDEC) LATEX July 9, 2013 12 / 16
21. LATEX isn’t for everyone but it could be for you
Anyone who has used M − shWord for a reasonable
amount of time will recognise my very own Anonymous
Laws on Word:
Likelihood of a crash is directly proportional to the
importance of a document.
Likelihood of a crash is directly proportional to the
duration since you last saved.
Deepak Kumar Sharma (GNDEC) LATEX July 9, 2013 12 / 16
22. LATEX isn’t for everyone but it could be for you
Anyone who has used M − shWord for a reasonable
amount of time will recognise my very own Anonymous
Laws on Word:
Likelihood of a crash is directly proportional to the
importance of a document.
Likelihood of a crash is directly proportional to the
duration since you last saved.
Likelihood of you throwing your computer out of the
window is directly proportional to the number of times
Clippy pops up.
Deepak Kumar Sharma (GNDEC) LATEX July 9, 2013 12 / 16
23. LATEX isn’t for everyone but it could be for you
Anyone who has used M − shWord for a reasonable
amount of time will recognise my very own Anonymous
Laws on Word:
Likelihood of a crash is directly proportional to the
importance of a document.
Likelihood of a crash is directly proportional to the
duration since you last saved.
Likelihood of you throwing your computer out of the
window is directly proportional to the number of times
Clippy pops up.
That’s enough laws for now...
Deepak Kumar Sharma (GNDEC) LATEX July 9, 2013 12 / 16
24. PLEASE USE ME. I AM YOUR WORD
Deepak Kumar Sharma (GNDEC) LATEX July 9, 2013 13 / 16
29. LATEX Advantages
Free
Faster
Available for many machines
The typesetting’s better, especially the maths
You can use the editor of your choice
Deepak Kumar Sharma (GNDEC) LATEX July 9, 2013 13 / 16
31. LATEX Dis-advantages
Font selection is difficult compared to selection in Word
Without a WYSIWYG front end, it’s not always easy to find out how
to do things
Deepak Kumar Sharma (GNDEC) LATEX July 9, 2013 14 / 16