SlideShare a Scribd company logo
LaTeX tutorial
How to setup and write in LaTeX
1
Hossein Babashah
November 22th, 2015
2
1 minute break
Compiling &
Output Files
51
Introduction
&
History
Accessing
LaTex
2
Basic
Rules
3
1 sample
4
Your
Questions
6
Agenda
3
What is LaTeX?
 LaTeX
 a document markup language and document preparation system for the TeX
typesetting program
 to create a document in LaTeX, a .tex file must be created using some form of
text editor.
 is widely used in academia, because of the high quality of typesetting
achievable by TeX
 The version numbers of TeX are converging toward pi, with a current version
number of 3.1415926
 e for pen size
History: TeX and LaTeX
 Donald Knuth created TeX in the late 70s
so he could typeset his famous Art of Computer Programming
books
 TeX produced great output and was very powerful (and
programmable) but also very obscure
 Leslie Lamport of SRI produced LaTeX in the ealry 80s as a
macro package making TeX easy to use
 They both have won Turing Award
 I’ve never know anyone who used TeX directly
4
Why not MS Word?
[8]http://www.jaftalks.com/wp/index.php/latex-or-
microsoft-word-in-it-organization/
5
6
Why LaTeX
 It’s good for complex documents
like a dissertation
 It’s the standard for Computer Science, Mathematics and many other STEM fields
 Many conferences have their own LaTex document
 Elsevier uses LaTeX to typeset all their journals
 LaTeX’s bibliography system, BibTex, is the best
 LaTex is programmable!
 LaTeX is open source software, has a large community of users and developers
and a good infrastructure (e.g., CTAN.org , latex-projgect.org)
[1] Leslie Lamport. LATEX: A Document Preparation System.
7
Accessing LaTeX
 Latex and associated tools are typically pre-installed on Linux and Mac OS X
 Use TeXlive or TeXstudio for Windows
 ParsiLatex,Tex Farsi and xepersian
8
LaTeX Files
 The input for LaTeX is a plain ASCII text file.
 You can create it with any text editor.
 It contains
 the text of the document
 commands which tell LaTeX how to typeset the text.
 Spaces
 Special Characters
 LaTeX Commands
 Comments
 Files containing structure and layout definitions (.sty)
 Tex formatted output file (.dvi)
 Others:
lof (list of figures), .lot (list of tables), .bib (bibliography)
Special Characters
 The following symbols are reserved characters, that
 have a special meaning in LaTeX
$ & % # _ { } ~ ^ 
 Some of these characters can be used in your documents by adding a
prefix backslash (escape character):
$ & % # _ { } $ & % # _ { }
 The other symbols (and many more!) can be printed with special
commands in mathematical formulae.
LaTeX Commands
 LaTeX commands are case sensitive and take one of two formats:
 They start with a backslash  and have a name
consisting only of letters.
 They consist of a backslash and exactly one special
character.
9
Input File Structure (1)
 When LaTeX2e processes an input file it expects it
to follow a certain structure. Every input file starts
with the command:
documentclass[options]{class}
 documentclass[11pt,twoside,a4paper]{article}
 This specifies what sort of document you intend to write
(article, letter, book,thesis, etc.)
 After that, you can include global style commands
or you can load packages which add new features
to the LaTeX system. To load a package you use the
command:
usepackage[options]{package}
10
Input File Structure (2)
 When all the setup work is done, you start the body of the text with the
command:
begin{document}
 Now you enter the text mixed with some useful LaTeX commands.
 At the end of the document you use the
end{document}
command, which tells LaTeX to finish. Anything which follows this command
will be ignored by LaTeX
sample.tex
documentclass[12pt]{article}
usepackage{ifthen}
begin{document}
title{Hello World in LaTeX}
author{My Name Goes Here}
maketitle
Hello, world!
{em Hello, world!}
{bf Hello, world!}
{Large bf Hello, world!!!}
end{document}
Start by declaring the document class (article)
and use the 12pt option setting the font size
Loads required packages defining commands
or setting parameters
LaTex uses begin|end commands for
blocks. Every document must have a
document block
The title and author command set
document variables and the maketitle
command generates the output text
Latex comands start with a backslash,
required args are in {}, options in []s
Paragraphs are separated by blank lines
{}s introduce un-named blocks and
control scope. em for italics, bf for
bold, Large to increase font size
Document Classes
article
For articles in scientific journals,
presentations, short reports, program
documentation, invitations, ...
IEEEtran
For articles with the IEEE
Transactions format.
proc
A class for proceedings based on the
article class.
report
For longer reports containing several
chapters, small books, thesis, ...
book For real books.
slides
For slides. The class uses big sans
serif letters.
memoir
For changing sensibly the output of
the document. It is based on
the book class, but you can create
any kind of document with it
13
Document Class Options
10pt, 11pt, 12pt
Sets the size of the main font in the document. If no option is specified,
10pt is assumed.
a4paper,
letterpaper,...
Defines the paper size. The default size is letterpaper; However, many
European distributions of TeX now come pre-set for A4, not Letter, and this
is also true of all distributions of pdfLaTeX. Besides that, a5paper,
b5paper, executivepaper, and legalpaper can be specified.
leqno Places the numbering of formulas on the left hand side instead of the right.
titlepage,
notitlepage
Specifies whether a new page should be started after the document title or
not. The article class does not start a new page by default, while report
and book do.
twocolumn Instructs LaTeX to typeset the document in two columns instead of one.
twoside, oneside
Specifies whether double or single sided output should be generated. The
classes article and report are single sided and the book class is double
sided by default. Note that this option concerns the style of the document
only. The option twoside does not tell the printer you use that it should
actually make a two-sided printout.
landscape Changes the layout of the document to print in landscape mode.
14
Sections
section{Section Title}
subsection{Title}
subsubsection{Title}
15
Font size
tiny scriptsize footnotesize
small normalsize
large Large
LARGE huge
Huge
16
Comments
 When LaTeX encounters a % character while processing an input file, it
ignores the rest of the present line.
 This is useful for adding notes to the input file, which will not show up in
the printed version.
This text is
processed.
This text is processed. % A comment isn’t
17
To find the square of
the hypotenuse, add a
squared to b squared
to find c squared,
e.g. .
It’s as easy as that!
Typesetting Mathematics
 LaTeX has a special mode for typesetting mathematics, called “math
mode”.
 Within a paragraph, math mode is entered between $ characters, or by
using the begin{math} and end{math} commands
To find the square of
the hypotenuse, add a
squared to b squared to
find c squared, e.g.
$a^2 + b^2 = c^2$. It’s
as easy as that!
222
cba 
18
Typesetting Mathematics
Greek Symbols
alpha, beta, gamma
Superscript, Subscript
x^y x_y x_y^z
Calculus
int_0^infty int{int}
frac{partial u}{partial x}
x = frac{-b pm sqrt{b^2-4ac} } {2a}
19
Cross-referencing
label{marker}
ref{marker}
pageref{marker}
 Example:
section{Introduction}
label{intro}
…
As mentioned in section ref{intro} in page pageref{intro}
20
Typesetting Mathematics
 In a research paper or thesis, you will often want to number
equations and refer to them in the text
 This is done using the equation environment, and the
commands label and ref
 (note that label and ref are used with figures and tables too)
… it is clear that
e > 0. (1)
From Equation 1 it follows that
...
ldots it is clear
that
begin{equation}
epsilon > 0.
label{eq:eps}
end{equation}
From
Equation~ref{eq:eps}
it follows that
ldots
21
Typesetting Mathematics
 Matrices are produced using the textbf{array}
environment. Example:
The emph{characteristic polynomial} $chi(lambda)$ of the
$3 times 3$ matrix
[ left( begin{array}{ccc}
a & b & c 
d & e & f 
g & h & i end{array} right)]
is given by the formula
[ chi(lambda) = left| begin{array}{ccc}
lambda - a & -b & -c 
-d & lambda - e & -f 
-g & -h & lambda - i end{array} right|.] 22
TeXForm[
𝑎11 𝑎12 𝑎13
𝑎21 𝑎22 𝑎23
𝑎31 𝑎32 𝑎33
Including Graphics
 LaTeX2e includes a standard package for including PostScript graphics in
your document. Load it using
usepackage{graphics}
 A figure can be included using, for example,
begin{figure}[h]
centering
includegraphics[width=0.6linewidth]{"mypic"}
caption{Friends for $2.1<T_{c}<2.6$}
label{fig:magnetforsometc}
end{figure}
23
begin{figure}[placement specifier]
usepackage{caption}
raggedleft
Figures and Tables
 Figures & Tables cannot be broken between pages
 They are “floated”
begin{figure}
includegraphics[option]{sample}
caption{A sample figure.}
end{figure}
24
usepackage{caption}
 Columns
 begin{tabular}{|…|…|}
 end{tabular}
 Rows
 & - Split text into columns
  - End a row
 hline - Draw line under row
 e.g. 123123 & 34.00 hline
Two Columns
l = automatically adjust
size, left justify
r = automatically adjust
size, right justify
p = set size
e.g p{4.7cm}
c = centre text
Tabular
25
Example of table
begin{tabular}{|l|r|c|} hline
Date & Price & Size  hline
Yesterday & 5 & Big  hline
Today & 3 & Small  hline
end{tabular}
Date Price Size
Yesterday 5 Big
Today 3 Small
26
Bibliographies
 Articles can be referred to in the text using the cite command
 The details of the cited articles are stored in BibTeX format, in a “.bib”
file.
 BibTeX resolves the citations in the LaTeX file and generates the required
bibliography
27
f.aux
Compiling with pdflatex
> pdflatex sample
This is pdfTeX, Version 3.1415926-1.40.10 (TeX Live 2009)
entering extended mode
(./sample.tex
LaTeX2e <2009/09/24> ...
(/usr/local/texlive/2009/texmf-dist/tex/latex/base/article.cls
Document Class: article 2007/10/19 v1.4h Standard LaTeX
document class
(/usr/local/texlive/2009/texmf-dist/tex/latex/base/size12.clo))
...
Output written on sample.pdf (1 page, 29675 bytes).
Transcript written on sample.log.
f.tex
pdflate
x
f.pdf
28
Compiling, old school
> latex sample
This is pdfTeX, Version 3.1415926-1.40.10 (TeX Live 2009)
...
Output written on sample.dvi (1 page, 652 bytes).
Transcript written on sample.log.
> dvips sample -o sample.ps
This is dvips(k) 5.98 Copyright 2009 Radical Eye Software
(www.radicaleye.com)
' TeX output 2011.01.31:0857' -> sample.ps
...
> ps2pdf sample.ps
>
f.tex
latex
dvips
f.dvi
f.ps
ps2pd
f
f.pdf
29
Output Formats
 .dvi Device Independent
 .ps Post Script
 .pdf PDF
 .rtf Rich Text Format
 .html HTML
 .xmlXML
1
30
References
31
[1] Leslie Lamport. LATEX: A Document Preparation System. Addison-Wesley,
Reading, Massachuse s, second edition, 1994, ISBN 0-201-52983-1.
[2] Donald E. Knuth. e TEXbook, Volume A of Computers and Typese ing,
Addison-Wesley, Reading, Massachuse s, second edition, 1984, ISBN 0-201-
13448-9.
[3] Frank Mi elbach, Michel Goossens, Johannes Braams, David Carlisle, Chris
Rowley. e LATEX Companion, (2nd Edition). Addison-Wesley, Reading, Mas-
sachuse s, 2004, ISBN 0-201-36299-6.
[4] Michel Goossens, Sebastian Rahtz and Frank Mi elbach. e LATEX Graphics
Companion. Addison-Wesley, Reading, Massachuse s, 1997, ISBN 0-201-
85469-4.
[5] Each LATEX installation should provide a so-called LATEX Local Guide, which
explains the things that are special to the local system. It should be contained
in a file called local.tex. Unfortunately, some lazy sysops do not provide
such a document. In this case, go and ask your local LATEX guru for help.
[6] LATEX3 Project Team. LATEX 2ε for authors. Comes with the LATEX 2ε distribu-
tion as usrguide.tex.
[7] www.wikipedia.com
[8]http://www.jaftalks.com/wp/index.php/latex-or-microsoft-word-in-it-
organization/
32
?
Your Questions

More Related Content

What's hot

Latex workshop
Latex workshopLatex workshop
Latex workshop
Aisha Abdullahi
 
LaTex Tutorial
LaTex TutorialLaTex Tutorial
LaTex Tutorial
Jhoirene Clemente
 
scientific writing 01 - latex
scientific writing   01 - latexscientific writing   01 - latex
scientific writing 01 - latex
Leo Chen
 
Lexical analyzer
Lexical analyzerLexical analyzer
Lexical analyzer
Ashwini Sonawane
 
Basic Latex Typesetting - Session 1
Basic Latex Typesetting - Session 1Basic Latex Typesetting - Session 1
Basic Latex Typesetting - Session 1Kiel Granada
 
Linear dependence(ld) &amp;linear independence(li)
Linear dependence(ld)  &amp;linear independence(li)Linear dependence(ld)  &amp;linear independence(li)
Linear dependence(ld) &amp;linear independence(li)
Digvijaysinh Gohil
 
Latex Notes
Latex NotesLatex Notes
Latex Notes
Sudhanshu Janwadkar
 
LATEX and BEAMER for Beginners
LATEX and BEAMER for Beginners LATEX and BEAMER for Beginners
LATEX and BEAMER for Beginners
Tilak Devaraj
 
LaTeX Basics
LaTeX BasicsLaTeX Basics
LaTeX Basics
Kristen Sauby
 
Ordinary Differential Equations: Variable separation method
Ordinary Differential Equations: Variable separation method  Ordinary Differential Equations: Variable separation method
Ordinary Differential Equations: Variable separation method
AMINULISLAM439
 
Pure virtual function and abstract class
Pure virtual function and abstract classPure virtual function and abstract class
Pure virtual function and abstract class
Amit Trivedi
 
Yacc lex
Yacc lexYacc lex
Yacc lex
915086731
 
Data structures using c
Data structures using cData structures using c
Data structures using c
Prof. Dr. K. Adisesha
 
Types of Matrics
Types of MatricsTypes of Matrics
Types of Matrics
Narmatha Devi N
 
Infix to Postfix Conversion Using Stack
Infix to Postfix Conversion Using StackInfix to Postfix Conversion Using Stack
Infix to Postfix Conversion Using Stack
Soumen Santra
 
Lexical analysis-using-lex
Lexical analysis-using-lexLexical analysis-using-lex
Lexical analysis-using-lex
Dattatray Gandhmal
 
Compiler unit 2&3
Compiler unit 2&3Compiler unit 2&3
Compiler unit 2&3
BBDITM LUCKNOW
 

What's hot (20)

Latex workshop
Latex workshopLatex workshop
Latex workshop
 
LaTex Tutorial
LaTex TutorialLaTex Tutorial
LaTex Tutorial
 
Functions in python
Functions in python Functions in python
Functions in python
 
scientific writing 01 - latex
scientific writing   01 - latexscientific writing   01 - latex
scientific writing 01 - latex
 
Lexical analyzer
Lexical analyzerLexical analyzer
Lexical analyzer
 
Basic Latex Typesetting - Session 1
Basic Latex Typesetting - Session 1Basic Latex Typesetting - Session 1
Basic Latex Typesetting - Session 1
 
Linear dependence(ld) &amp;linear independence(li)
Linear dependence(ld)  &amp;linear independence(li)Linear dependence(ld)  &amp;linear independence(li)
Linear dependence(ld) &amp;linear independence(li)
 
Latex Notes
Latex NotesLatex Notes
Latex Notes
 
LATEX and BEAMER for Beginners
LATEX and BEAMER for Beginners LATEX and BEAMER for Beginners
LATEX and BEAMER for Beginners
 
LaTeX Basics
LaTeX BasicsLaTeX Basics
LaTeX Basics
 
Learn Latex
Learn LatexLearn Latex
Learn Latex
 
Ordinary Differential Equations: Variable separation method
Ordinary Differential Equations: Variable separation method  Ordinary Differential Equations: Variable separation method
Ordinary Differential Equations: Variable separation method
 
Pure virtual function and abstract class
Pure virtual function and abstract classPure virtual function and abstract class
Pure virtual function and abstract class
 
Yacc lex
Yacc lexYacc lex
Yacc lex
 
Data structures using c
Data structures using cData structures using c
Data structures using c
 
Types of Matrics
Types of MatricsTypes of Matrics
Types of Matrics
 
Infix to Postfix Conversion Using Stack
Infix to Postfix Conversion Using StackInfix to Postfix Conversion Using Stack
Infix to Postfix Conversion Using Stack
 
Lexical analysis-using-lex
Lexical analysis-using-lexLexical analysis-using-lex
Lexical analysis-using-lex
 
File handling in c
File handling in cFile handling in c
File handling in c
 
Compiler unit 2&3
Compiler unit 2&3Compiler unit 2&3
Compiler unit 2&3
 

Similar to LaTex tutorial with Texstudio

LaTeX_tutorial_Syed_Jan09.ppt
LaTeX_tutorial_Syed_Jan09.pptLaTeX_tutorial_Syed_Jan09.ppt
LaTeX_tutorial_Syed_Jan09.ppt
Michalis33
 
Latex Introduction for Beginners
Latex Introduction for BeginnersLatex Introduction for Beginners
Latex Introduction for Beginners
ssuser9e8fa4
 
Latex Tutorial
Latex TutorialLatex Tutorial
Latex Tutorial
Mamoon R Malik
 
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
 
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
 
La tex basics
La tex basicsLa tex basics
La tex basics
awverret
 
Introduction Latex
Introduction LatexIntroduction Latex
Introduction Latex
tran dinh
 
Latex ppt copy
Latex ppt   copyLatex ppt   copy
Latex ppt copy
Rajesh Kumar
 
Latex Tuitorial
Latex TuitorialLatex Tuitorial
Latex Tuitorial
ankitsinghaniya
 
A Hitchhiker S Guide To LaTex (Or How I Learned To Stop Worrying And Love Wri...
A Hitchhiker S Guide To LaTex (Or How I Learned To Stop Worrying And Love Wri...A Hitchhiker S Guide To LaTex (Or How I Learned To Stop Worrying And Love Wri...
A Hitchhiker S Guide To LaTex (Or How I Learned To Stop Worrying And Love Wri...
Jim Webb
 
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
 
LaTeX Survival Guide
LaTeX Survival Guide LaTeX Survival Guide
LaTeX Survival Guide
Dylan Seychell
 
latex.pptx
latex.pptxlatex.pptx
latex.pptx
muhammadzeeshan607
 
Latex for beginners
Latex for beginnersLatex for beginners
Latex for beginners
Kaushik Naik
 
Introduction to LaTeX
Introduction to LaTeXIntroduction to LaTeX
Introduction to LaTeX
sahirbhatnagar
 
Latex intro
Latex introLatex intro
Latex intro
NEERAJ BAGHEL
 
Latex intro s_dutta_v2
Latex intro s_dutta_v2Latex intro s_dutta_v2
Latex intro s_dutta_v2SoumyoDutta
 
Chap16 scr
Chap16 scrChap16 scr
Chap16 scr
Hirwanto Iwan
 
Introduction to LaTeX
Introduction to LaTeXIntroduction to LaTeX
Introduction to LaTeX
Ashesh Timilsina
 

Similar to LaTex tutorial with Texstudio (20)

LaTeX_tutorial_Syed_Jan09.ppt
LaTeX_tutorial_Syed_Jan09.pptLaTeX_tutorial_Syed_Jan09.ppt
LaTeX_tutorial_Syed_Jan09.ppt
 
Latex Introduction for Beginners
Latex Introduction for BeginnersLatex Introduction for Beginners
Latex Introduction for Beginners
 
Latex Tutorial
Latex TutorialLatex Tutorial
Latex Tutorial
 
latex-workshop Dr: Mohamed A. Alrshah
latex-workshop Dr: Mohamed A. Alrshahlatex-workshop Dr: Mohamed A. Alrshah
latex-workshop Dr: Mohamed A. Alrshah
 
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
 
La tex basics
La tex basicsLa tex basics
La tex basics
 
Introduction Latex
Introduction LatexIntroduction Latex
Introduction Latex
 
Latex ppt copy
Latex ppt   copyLatex ppt   copy
Latex ppt copy
 
Chap03 scr
Chap03 scrChap03 scr
Chap03 scr
 
Latex Tuitorial
Latex TuitorialLatex Tuitorial
Latex Tuitorial
 
A Hitchhiker S Guide To LaTex (Or How I Learned To Stop Worrying And Love Wri...
A Hitchhiker S Guide To LaTex (Or How I Learned To Stop Worrying And Love Wri...A Hitchhiker S Guide To LaTex (Or How I Learned To Stop Worrying And Love Wri...
A Hitchhiker S Guide To LaTex (Or How I Learned To Stop Worrying And Love Wri...
 
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
 
LaTeX Survival Guide
LaTeX Survival Guide LaTeX Survival Guide
LaTeX Survival Guide
 
latex.pptx
latex.pptxlatex.pptx
latex.pptx
 
Latex for beginners
Latex for beginnersLatex for beginners
Latex for beginners
 
Introduction to LaTeX
Introduction to LaTeXIntroduction to LaTeX
Introduction to LaTeX
 
Latex intro
Latex introLatex intro
Latex intro
 
Latex intro s_dutta_v2
Latex intro s_dutta_v2Latex intro s_dutta_v2
Latex intro s_dutta_v2
 
Chap16 scr
Chap16 scrChap16 scr
Chap16 scr
 
Introduction to LaTeX
Introduction to LaTeXIntroduction to LaTeX
Introduction to LaTeX
 

More from Hossein Babashah

Ultrafast Optical signal processing
Ultrafast Optical signal processingUltrafast Optical signal processing
Ultrafast Optical signal processing
Hossein Babashah
 
Space time relations
Space time relationsSpace time relations
Space time relations
Hossein Babashah
 
How to simulate Metamaterials using lumerical and Some literature Review
How to simulate Metamaterials using lumerical and Some literature ReviewHow to simulate Metamaterials using lumerical and Some literature Review
How to simulate Metamaterials using lumerical and Some literature Review
Hossein Babashah
 
Time lens
Time lensTime lens
Time lens
Hossein Babashah
 
AKAZE and ORB Planar Tracking Comparisson
AKAZE and ORB Planar Tracking ComparissonAKAZE and ORB Planar Tracking Comparisson
AKAZE and ORB Planar Tracking Comparisson
Hossein Babashah
 
Robust 3D Tracking with Descriptor Fields
Robust 3D Tracking with Descriptor FieldsRobust 3D Tracking with Descriptor Fields
Robust 3D Tracking with Descriptor Fields
Hossein Babashah
 
Acoustic Deep-Subwavelength Imaging
Acoustic Deep-Subwavelength ImagingAcoustic Deep-Subwavelength Imaging
Acoustic Deep-Subwavelength Imaging
Hossein Babashah
 
Electrically pumped continuous wave iii–v quantum dot lasers on silicon.
Electrically pumped continuous wave iii–v quantum dot lasers on silicon.Electrically pumped continuous wave iii–v quantum dot lasers on silicon.
Electrically pumped continuous wave iii–v quantum dot lasers on silicon.
Hossein Babashah
 
Heterogeneous Silicon/III–V Semiconductor Optical Amplifiers
Heterogeneous Silicon/III–V Semiconductor Optical AmplifiersHeterogeneous Silicon/III–V Semiconductor Optical Amplifiers
Heterogeneous Silicon/III–V Semiconductor Optical Amplifiers
Hossein Babashah
 
Plasmonic nanoantennas
Plasmonic nanoantennasPlasmonic nanoantennas
Plasmonic nanoantennas
Hossein Babashah
 
Microresonator based optical frequency combs
Microresonator based optical frequency combsMicroresonator based optical frequency combs
Microresonator based optical frequency combs
Hossein Babashah
 
Optical Nanoantennas for Multiband Surface-Enhanced Infrared and Raman Spectr...
Optical Nanoantennas for Multiband Surface-Enhanced Infrared and Raman Spectr...Optical Nanoantennas for Multiband Surface-Enhanced Infrared and Raman Spectr...
Optical Nanoantennas for Multiband Surface-Enhanced Infrared and Raman Spectr...
Hossein Babashah
 
Optical volume holograms and their applications
Optical volume holograms and their applicationsOptical volume holograms and their applications
Optical volume holograms and their applications
Hossein Babashah
 
Design and Analysis of DNA String Matching by Optical Parallel Processing
Design and Analysis of DNA String Matching by Optical Parallel ProcessingDesign and Analysis of DNA String Matching by Optical Parallel Processing
Design and Analysis of DNA String Matching by Optical Parallel Processing
Hossein Babashah
 

More from Hossein Babashah (14)

Ultrafast Optical signal processing
Ultrafast Optical signal processingUltrafast Optical signal processing
Ultrafast Optical signal processing
 
Space time relations
Space time relationsSpace time relations
Space time relations
 
How to simulate Metamaterials using lumerical and Some literature Review
How to simulate Metamaterials using lumerical and Some literature ReviewHow to simulate Metamaterials using lumerical and Some literature Review
How to simulate Metamaterials using lumerical and Some literature Review
 
Time lens
Time lensTime lens
Time lens
 
AKAZE and ORB Planar Tracking Comparisson
AKAZE and ORB Planar Tracking ComparissonAKAZE and ORB Planar Tracking Comparisson
AKAZE and ORB Planar Tracking Comparisson
 
Robust 3D Tracking with Descriptor Fields
Robust 3D Tracking with Descriptor FieldsRobust 3D Tracking with Descriptor Fields
Robust 3D Tracking with Descriptor Fields
 
Acoustic Deep-Subwavelength Imaging
Acoustic Deep-Subwavelength ImagingAcoustic Deep-Subwavelength Imaging
Acoustic Deep-Subwavelength Imaging
 
Electrically pumped continuous wave iii–v quantum dot lasers on silicon.
Electrically pumped continuous wave iii–v quantum dot lasers on silicon.Electrically pumped continuous wave iii–v quantum dot lasers on silicon.
Electrically pumped continuous wave iii–v quantum dot lasers on silicon.
 
Heterogeneous Silicon/III–V Semiconductor Optical Amplifiers
Heterogeneous Silicon/III–V Semiconductor Optical AmplifiersHeterogeneous Silicon/III–V Semiconductor Optical Amplifiers
Heterogeneous Silicon/III–V Semiconductor Optical Amplifiers
 
Plasmonic nanoantennas
Plasmonic nanoantennasPlasmonic nanoantennas
Plasmonic nanoantennas
 
Microresonator based optical frequency combs
Microresonator based optical frequency combsMicroresonator based optical frequency combs
Microresonator based optical frequency combs
 
Optical Nanoantennas for Multiband Surface-Enhanced Infrared and Raman Spectr...
Optical Nanoantennas for Multiband Surface-Enhanced Infrared and Raman Spectr...Optical Nanoantennas for Multiband Surface-Enhanced Infrared and Raman Spectr...
Optical Nanoantennas for Multiband Surface-Enhanced Infrared and Raman Spectr...
 
Optical volume holograms and their applications
Optical volume holograms and their applicationsOptical volume holograms and their applications
Optical volume holograms and their applications
 
Design and Analysis of DNA String Matching by Optical Parallel Processing
Design and Analysis of DNA String Matching by Optical Parallel ProcessingDesign and Analysis of DNA String Matching by Optical Parallel Processing
Design and Analysis of DNA String Matching by Optical Parallel Processing
 

Recently uploaded

Digital Artifact 2 - Investigating Pavilion Designs
Digital Artifact 2 - Investigating Pavilion DesignsDigital Artifact 2 - Investigating Pavilion Designs
Digital Artifact 2 - Investigating Pavilion Designs
chanes7
 
Best Digital Marketing Institute In NOIDA
Best Digital Marketing Institute In NOIDABest Digital Marketing Institute In NOIDA
Best Digital Marketing Institute In NOIDA
deeptiverma2406
 
June 3, 2024 Anti-Semitism Letter Sent to MIT President Kornbluth and MIT Cor...
June 3, 2024 Anti-Semitism Letter Sent to MIT President Kornbluth and MIT Cor...June 3, 2024 Anti-Semitism Letter Sent to MIT President Kornbluth and MIT Cor...
June 3, 2024 Anti-Semitism Letter Sent to MIT President Kornbluth and MIT Cor...
Levi Shapiro
 
STRAND 3 HYGIENIC PRACTICES.pptx GRADE 7 CBC
STRAND 3 HYGIENIC PRACTICES.pptx GRADE 7 CBCSTRAND 3 HYGIENIC PRACTICES.pptx GRADE 7 CBC
STRAND 3 HYGIENIC PRACTICES.pptx GRADE 7 CBC
kimdan468
 
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
 
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
 
Marketing internship report file for MBA
Marketing internship report file for MBAMarketing internship report file for MBA
Marketing internship report file for MBA
gb193092
 
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
 
BÀI TẬP BỔ TRỢ TIẾNG ANH GLOBAL SUCCESS LỚP 3 - CẢ NĂM (CÓ FILE NGHE VÀ ĐÁP Á...
BÀI TẬP BỔ TRỢ TIẾNG ANH GLOBAL SUCCESS LỚP 3 - CẢ NĂM (CÓ FILE NGHE VÀ ĐÁP Á...BÀI TẬP BỔ TRỢ TIẾNG ANH GLOBAL SUCCESS LỚP 3 - CẢ NĂM (CÓ FILE NGHE VÀ ĐÁP Á...
BÀI TẬP BỔ TRỢ TIẾNG ANH GLOBAL SUCCESS LỚP 3 - CẢ NĂM (CÓ FILE NGHE VÀ ĐÁP Á...
Nguyen Thanh Tu Collection
 
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
 
A Survey of Techniques for Maximizing LLM Performance.pptx
A Survey of Techniques for Maximizing LLM Performance.pptxA Survey of Techniques for Maximizing LLM Performance.pptx
A Survey of Techniques for Maximizing LLM Performance.pptx
thanhdowork
 
"Protectable subject matters, Protection in biotechnology, Protection of othe...
"Protectable subject matters, Protection in biotechnology, Protection of othe..."Protectable subject matters, Protection in biotechnology, Protection of othe...
"Protectable subject matters, Protection in biotechnology, Protection of othe...
SACHIN R KONDAGURI
 
1.4 modern child centered education - mahatma gandhi-2.pptx
1.4 modern child centered education - mahatma gandhi-2.pptx1.4 modern child centered education - mahatma gandhi-2.pptx
1.4 modern child centered education - mahatma gandhi-2.pptx
JosvitaDsouza2
 
Acetabularia Information For Class 9 .docx
Acetabularia Information For Class 9  .docxAcetabularia Information For Class 9  .docx
Acetabularia Information For Class 9 .docx
vaibhavrinwa19
 
The approach at University of Liverpool.pptx
The approach at University of Liverpool.pptxThe approach at University of Liverpool.pptx
The approach at University of Liverpool.pptx
Jisc
 
Chapter 3 - Islamic Banking Products and Services.pptx
Chapter 3 - Islamic Banking Products and Services.pptxChapter 3 - Islamic Banking Products and Services.pptx
Chapter 3 - Islamic Banking Products and Services.pptx
Mohd Adib Abd Muin, Senior Lecturer at Universiti Utara Malaysia
 
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
 
CACJapan - GROUP Presentation 1- Wk 4.pdf
CACJapan - GROUP Presentation 1- Wk 4.pdfCACJapan - GROUP Presentation 1- Wk 4.pdf
CACJapan - GROUP Presentation 1- Wk 4.pdf
camakaiclarkmusic
 
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
 
Unit 8 - Information and Communication Technology (Paper I).pdf
Unit 8 - Information and Communication Technology (Paper I).pdfUnit 8 - Information and Communication Technology (Paper I).pdf
Unit 8 - Information and Communication Technology (Paper I).pdf
Thiyagu K
 

Recently uploaded (20)

Digital Artifact 2 - Investigating Pavilion Designs
Digital Artifact 2 - Investigating Pavilion DesignsDigital Artifact 2 - Investigating Pavilion Designs
Digital Artifact 2 - Investigating Pavilion Designs
 
Best Digital Marketing Institute In NOIDA
Best Digital Marketing Institute In NOIDABest Digital Marketing Institute In NOIDA
Best Digital Marketing Institute In NOIDA
 
June 3, 2024 Anti-Semitism Letter Sent to MIT President Kornbluth and MIT Cor...
June 3, 2024 Anti-Semitism Letter Sent to MIT President Kornbluth and MIT Cor...June 3, 2024 Anti-Semitism Letter Sent to MIT President Kornbluth and MIT Cor...
June 3, 2024 Anti-Semitism Letter Sent to MIT President Kornbluth and MIT Cor...
 
STRAND 3 HYGIENIC PRACTICES.pptx GRADE 7 CBC
STRAND 3 HYGIENIC PRACTICES.pptx GRADE 7 CBCSTRAND 3 HYGIENIC PRACTICES.pptx GRADE 7 CBC
STRAND 3 HYGIENIC PRACTICES.pptx GRADE 7 CBC
 
Model Attribute Check Company Auto Property
Model Attribute  Check Company Auto PropertyModel Attribute  Check Company Auto Property
Model Attribute Check Company Auto Property
 
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
 
Marketing internship report file for MBA
Marketing internship report file for MBAMarketing internship report file for MBA
Marketing internship report file for MBA
 
Operation Blue Star - Saka Neela Tara
Operation Blue Star   -  Saka Neela TaraOperation Blue Star   -  Saka Neela Tara
Operation Blue Star - Saka Neela Tara
 
BÀI TẬP BỔ TRỢ TIẾNG ANH GLOBAL SUCCESS LỚP 3 - CẢ NĂM (CÓ FILE NGHE VÀ ĐÁP Á...
BÀI TẬP BỔ TRỢ TIẾNG ANH GLOBAL SUCCESS LỚP 3 - CẢ NĂM (CÓ FILE NGHE VÀ ĐÁP Á...BÀI TẬP BỔ TRỢ TIẾNG ANH GLOBAL SUCCESS LỚP 3 - CẢ NĂM (CÓ FILE NGHE VÀ ĐÁP Á...
BÀI TẬP BỔ TRỢ TIẾNG ANH GLOBAL SUCCESS LỚP 3 - CẢ NĂM (CÓ FILE NGHE VÀ ĐÁP Á...
 
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...
 
A Survey of Techniques for Maximizing LLM Performance.pptx
A Survey of Techniques for Maximizing LLM Performance.pptxA Survey of Techniques for Maximizing LLM Performance.pptx
A Survey of Techniques for Maximizing LLM Performance.pptx
 
"Protectable subject matters, Protection in biotechnology, Protection of othe...
"Protectable subject matters, Protection in biotechnology, Protection of othe..."Protectable subject matters, Protection in biotechnology, Protection of othe...
"Protectable subject matters, Protection in biotechnology, Protection of othe...
 
1.4 modern child centered education - mahatma gandhi-2.pptx
1.4 modern child centered education - mahatma gandhi-2.pptx1.4 modern child centered education - mahatma gandhi-2.pptx
1.4 modern child centered education - mahatma gandhi-2.pptx
 
Acetabularia Information For Class 9 .docx
Acetabularia Information For Class 9  .docxAcetabularia Information For Class 9  .docx
Acetabularia Information For Class 9 .docx
 
The approach at University of Liverpool.pptx
The approach at University of Liverpool.pptxThe approach at University of Liverpool.pptx
The approach at University of Liverpool.pptx
 
Chapter 3 - Islamic Banking Products and Services.pptx
Chapter 3 - Islamic Banking Products and Services.pptxChapter 3 - Islamic Banking Products and Services.pptx
Chapter 3 - Islamic Banking Products and Services.pptx
 
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
 
CACJapan - GROUP Presentation 1- Wk 4.pdf
CACJapan - GROUP Presentation 1- Wk 4.pdfCACJapan - GROUP Presentation 1- Wk 4.pdf
CACJapan - GROUP Presentation 1- Wk 4.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
 
Unit 8 - Information and Communication Technology (Paper I).pdf
Unit 8 - Information and Communication Technology (Paper I).pdfUnit 8 - Information and Communication Technology (Paper I).pdf
Unit 8 - Information and Communication Technology (Paper I).pdf
 

LaTex tutorial with Texstudio

  • 1. LaTeX tutorial How to setup and write in LaTeX 1 Hossein Babashah November 22th, 2015
  • 2. 2 1 minute break Compiling & Output Files 51 Introduction & History Accessing LaTex 2 Basic Rules 3 1 sample 4 Your Questions 6 Agenda
  • 3. 3 What is LaTeX?  LaTeX  a document markup language and document preparation system for the TeX typesetting program  to create a document in LaTeX, a .tex file must be created using some form of text editor.  is widely used in academia, because of the high quality of typesetting achievable by TeX  The version numbers of TeX are converging toward pi, with a current version number of 3.1415926  e for pen size
  • 4. History: TeX and LaTeX  Donald Knuth created TeX in the late 70s so he could typeset his famous Art of Computer Programming books  TeX produced great output and was very powerful (and programmable) but also very obscure  Leslie Lamport of SRI produced LaTeX in the ealry 80s as a macro package making TeX easy to use  They both have won Turing Award  I’ve never know anyone who used TeX directly 4
  • 5. Why not MS Word? [8]http://www.jaftalks.com/wp/index.php/latex-or- microsoft-word-in-it-organization/ 5
  • 6. 6 Why LaTeX  It’s good for complex documents like a dissertation  It’s the standard for Computer Science, Mathematics and many other STEM fields  Many conferences have their own LaTex document  Elsevier uses LaTeX to typeset all their journals  LaTeX’s bibliography system, BibTex, is the best  LaTex is programmable!  LaTeX is open source software, has a large community of users and developers and a good infrastructure (e.g., CTAN.org , latex-projgect.org) [1] Leslie Lamport. LATEX: A Document Preparation System.
  • 7. 7 Accessing LaTeX  Latex and associated tools are typically pre-installed on Linux and Mac OS X  Use TeXlive or TeXstudio for Windows  ParsiLatex,Tex Farsi and xepersian
  • 8. 8 LaTeX Files  The input for LaTeX is a plain ASCII text file.  You can create it with any text editor.  It contains  the text of the document  commands which tell LaTeX how to typeset the text.  Spaces  Special Characters  LaTeX Commands  Comments  Files containing structure and layout definitions (.sty)  Tex formatted output file (.dvi)  Others: lof (list of figures), .lot (list of tables), .bib (bibliography)
  • 9. Special Characters  The following symbols are reserved characters, that  have a special meaning in LaTeX $ & % # _ { } ~ ^  Some of these characters can be used in your documents by adding a prefix backslash (escape character): $ & % # _ { } $ & % # _ { }  The other symbols (and many more!) can be printed with special commands in mathematical formulae. LaTeX Commands  LaTeX commands are case sensitive and take one of two formats:  They start with a backslash and have a name consisting only of letters.  They consist of a backslash and exactly one special character. 9
  • 10. Input File Structure (1)  When LaTeX2e processes an input file it expects it to follow a certain structure. Every input file starts with the command: documentclass[options]{class}  documentclass[11pt,twoside,a4paper]{article}  This specifies what sort of document you intend to write (article, letter, book,thesis, etc.)  After that, you can include global style commands or you can load packages which add new features to the LaTeX system. To load a package you use the command: usepackage[options]{package} 10
  • 11. Input File Structure (2)  When all the setup work is done, you start the body of the text with the command: begin{document}  Now you enter the text mixed with some useful LaTeX commands.  At the end of the document you use the end{document} command, which tells LaTeX to finish. Anything which follows this command will be ignored by LaTeX
  • 12. sample.tex documentclass[12pt]{article} usepackage{ifthen} begin{document} title{Hello World in LaTeX} author{My Name Goes Here} maketitle Hello, world! {em Hello, world!} {bf Hello, world!} {Large bf Hello, world!!!} end{document} Start by declaring the document class (article) and use the 12pt option setting the font size Loads required packages defining commands or setting parameters LaTex uses begin|end commands for blocks. Every document must have a document block The title and author command set document variables and the maketitle command generates the output text Latex comands start with a backslash, required args are in {}, options in []s Paragraphs are separated by blank lines {}s introduce un-named blocks and control scope. em for italics, bf for bold, Large to increase font size
  • 13. Document Classes article For articles in scientific journals, presentations, short reports, program documentation, invitations, ... IEEEtran For articles with the IEEE Transactions format. proc A class for proceedings based on the article class. report For longer reports containing several chapters, small books, thesis, ... book For real books. slides For slides. The class uses big sans serif letters. memoir For changing sensibly the output of the document. It is based on the book class, but you can create any kind of document with it 13
  • 14. Document Class Options 10pt, 11pt, 12pt Sets the size of the main font in the document. If no option is specified, 10pt is assumed. a4paper, letterpaper,... Defines the paper size. The default size is letterpaper; However, many European distributions of TeX now come pre-set for A4, not Letter, and this is also true of all distributions of pdfLaTeX. Besides that, a5paper, b5paper, executivepaper, and legalpaper can be specified. leqno Places the numbering of formulas on the left hand side instead of the right. titlepage, notitlepage Specifies whether a new page should be started after the document title or not. The article class does not start a new page by default, while report and book do. twocolumn Instructs LaTeX to typeset the document in two columns instead of one. twoside, oneside Specifies whether double or single sided output should be generated. The classes article and report are single sided and the book class is double sided by default. Note that this option concerns the style of the document only. The option twoside does not tell the printer you use that it should actually make a two-sided printout. landscape Changes the layout of the document to print in landscape mode. 14
  • 16. Font size tiny scriptsize footnotesize small normalsize large Large LARGE huge Huge 16
  • 17. Comments  When LaTeX encounters a % character while processing an input file, it ignores the rest of the present line.  This is useful for adding notes to the input file, which will not show up in the printed version. This text is processed. This text is processed. % A comment isn’t 17
  • 18. To find the square of the hypotenuse, add a squared to b squared to find c squared, e.g. . It’s as easy as that! Typesetting Mathematics  LaTeX has a special mode for typesetting mathematics, called “math mode”.  Within a paragraph, math mode is entered between $ characters, or by using the begin{math} and end{math} commands To find the square of the hypotenuse, add a squared to b squared to find c squared, e.g. $a^2 + b^2 = c^2$. It’s as easy as that! 222 cba  18
  • 19. Typesetting Mathematics Greek Symbols alpha, beta, gamma Superscript, Subscript x^y x_y x_y^z Calculus int_0^infty int{int} frac{partial u}{partial x} x = frac{-b pm sqrt{b^2-4ac} } {2a} 19
  • 21. Typesetting Mathematics  In a research paper or thesis, you will often want to number equations and refer to them in the text  This is done using the equation environment, and the commands label and ref  (note that label and ref are used with figures and tables too) … it is clear that e > 0. (1) From Equation 1 it follows that ... ldots it is clear that begin{equation} epsilon > 0. label{eq:eps} end{equation} From Equation~ref{eq:eps} it follows that ldots 21
  • 22. Typesetting Mathematics  Matrices are produced using the textbf{array} environment. Example: The emph{characteristic polynomial} $chi(lambda)$ of the $3 times 3$ matrix [ left( begin{array}{ccc} a & b & c d & e & f g & h & i end{array} right)] is given by the formula [ chi(lambda) = left| begin{array}{ccc} lambda - a & -b & -c -d & lambda - e & -f -g & -h & lambda - i end{array} right|.] 22 TeXForm[ 𝑎11 𝑎12 𝑎13 𝑎21 𝑎22 𝑎23 𝑎31 𝑎32 𝑎33
  • 23. Including Graphics  LaTeX2e includes a standard package for including PostScript graphics in your document. Load it using usepackage{graphics}  A figure can be included using, for example, begin{figure}[h] centering includegraphics[width=0.6linewidth]{"mypic"} caption{Friends for $2.1<T_{c}<2.6$} label{fig:magnetforsometc} end{figure} 23 begin{figure}[placement specifier] usepackage{caption} raggedleft
  • 24. Figures and Tables  Figures & Tables cannot be broken between pages  They are “floated” begin{figure} includegraphics[option]{sample} caption{A sample figure.} end{figure} 24 usepackage{caption}
  • 25.  Columns  begin{tabular}{|…|…|}  end{tabular}  Rows  & - Split text into columns  - End a row  hline - Draw line under row  e.g. 123123 & 34.00 hline Two Columns l = automatically adjust size, left justify r = automatically adjust size, right justify p = set size e.g p{4.7cm} c = centre text Tabular 25
  • 26. Example of table begin{tabular}{|l|r|c|} hline Date & Price & Size hline Yesterday & 5 & Big hline Today & 3 & Small hline end{tabular} Date Price Size Yesterday 5 Big Today 3 Small 26
  • 27. Bibliographies  Articles can be referred to in the text using the cite command  The details of the cited articles are stored in BibTeX format, in a “.bib” file.  BibTeX resolves the citations in the LaTeX file and generates the required bibliography 27
  • 28. f.aux Compiling with pdflatex > pdflatex sample This is pdfTeX, Version 3.1415926-1.40.10 (TeX Live 2009) entering extended mode (./sample.tex LaTeX2e <2009/09/24> ... (/usr/local/texlive/2009/texmf-dist/tex/latex/base/article.cls Document Class: article 2007/10/19 v1.4h Standard LaTeX document class (/usr/local/texlive/2009/texmf-dist/tex/latex/base/size12.clo)) ... Output written on sample.pdf (1 page, 29675 bytes). Transcript written on sample.log. f.tex pdflate x f.pdf 28
  • 29. Compiling, old school > latex sample This is pdfTeX, Version 3.1415926-1.40.10 (TeX Live 2009) ... Output written on sample.dvi (1 page, 652 bytes). Transcript written on sample.log. > dvips sample -o sample.ps This is dvips(k) 5.98 Copyright 2009 Radical Eye Software (www.radicaleye.com) ' TeX output 2011.01.31:0857' -> sample.ps ... > ps2pdf sample.ps > f.tex latex dvips f.dvi f.ps ps2pd f f.pdf 29
  • 30. Output Formats  .dvi Device Independent  .ps Post Script  .pdf PDF  .rtf Rich Text Format  .html HTML  .xmlXML 1 30
  • 31. References 31 [1] Leslie Lamport. LATEX: A Document Preparation System. Addison-Wesley, Reading, Massachuse s, second edition, 1994, ISBN 0-201-52983-1. [2] Donald E. Knuth. e TEXbook, Volume A of Computers and Typese ing, Addison-Wesley, Reading, Massachuse s, second edition, 1984, ISBN 0-201- 13448-9. [3] Frank Mi elbach, Michel Goossens, Johannes Braams, David Carlisle, Chris Rowley. e LATEX Companion, (2nd Edition). Addison-Wesley, Reading, Mas- sachuse s, 2004, ISBN 0-201-36299-6. [4] Michel Goossens, Sebastian Rahtz and Frank Mi elbach. e LATEX Graphics Companion. Addison-Wesley, Reading, Massachuse s, 1997, ISBN 0-201- 85469-4. [5] Each LATEX installation should provide a so-called LATEX Local Guide, which explains the things that are special to the local system. It should be contained in a file called local.tex. Unfortunately, some lazy sysops do not provide such a document. In this case, go and ask your local LATEX guru for help. [6] LATEX3 Project Team. LATEX 2ε for authors. Comes with the LATEX 2ε distribu- tion as usrguide.tex. [7] www.wikipedia.com [8]http://www.jaftalks.com/wp/index.php/latex-or-microsoft-word-in-it- organization/