SlideShare a Scribd company logo
Introduction to Latex
CE Dep, IAUSDJ.ac.ir
25-9-95(14 Dec, 2016)
 high typographical quality of the documents
 LaTex is de facto standard and is installed at
many universities
 Can be run on most operating systems
 Equations, citations, figures, tables, etc., can
be labeled so that cross referencing is
automated
 LaTex is free!
 LaTex is notWYSIWYG(WhatYou See IsWhatYou Get)
 First consider what type of paper you are writing
so that you know whose packages to install.
 Physics usesThe Physical Review Packages
 Math usesThe AMS packages, which is also useful for
writing just a general document or a Logic report.
 Chemistry even uses some specialized packages, but
much of its writing can be achieved through AMS. If
you are interested in exploring chemistry packages
further follow the link to get started. Click Here.
 Most can just be searched on Google, or found using
the MikTex package manager.
 Keep all of the associated files in a single
directory.
 Latex was probably originally made for linux, so
it is a little picky about path names.
 Path names should have not special symbols or
spaces. In fact the folder that you place the files
in should be kept in the root directory on a
windows machine.
 Also if you use any specialized style files they
should also be kept with the projects files.These
are .sty files.
 Download and run the Basic MiKTeX installer from
https://miktex.org/download
 IEEE ManuscriptTemplates for Conference
Proceedings
 https://
www.ieee.org/conferences_events/conferences/publishing/tem
 IEEE ArticleTemplates and Instructions
 https
://www.ieee.org/conferences_events/conferences/publishing/te
 TeX is essentially a Markup Language (like
HTML, XML and RTF)
 LaTex is an extension ofTeX
 Macro packages to makeTeX easier to use
Presentaion is based on
Troy D. Milner and Simon Cuce slides
 Late 1970s -> 1989: TeX by Don Knuth
 Decent typesetting by the authors!
 Same output now as in the future
 Low level, but powerful
 Frozen development
 Starting early 1980s: LaTeX by Leslie Lamport
 High level language (macros, really) forTeX
 Easy to use!
 Current version is Latex2e
 Some say LAY-teck
 Some say LAH-teck
 Some say LAY-tech (as in “Bach”)
 Some say LAY-tex
…
 According toWikipedia: Knuth says /tex/ (as in
Bach)
 Lamport says “whatever…”
 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,..)
 De facto standard for scientific publishing
 Very few bugs
 Good for large documents
 Can run even on 386 PC
 Not very easy to learn!
 documentclass{article}
 title{Simple Example}
 author{Rouhollah Nabati}
 date{December 2016}
 begin{document}
 maketitle
 Hello world, Salam!
 end{document}
Your Latex File Your Bibtex File
Latex compile x3
Bibtex compile x2
Latex compile x3
Your Postscript File
dvips compile x1
Device independent
output .dvi
(a text file)
 Document Class
▪ There are 4 main predefined classes: article, letter,
report, book, and slides.
 Packages used
▪ Added Functionality (graphics, reference style,...).
 Main Body
▪ Text and Bibliography References.
 Document Class
▪ documentclass[options]{class}
▪ options = a4paper, 11pt, 12pt, 10pt, twocolumn,
landscape,...
▪ class = article, report, book,...
 Packages
▪ usepackage{package name}
▪ epsfig = insert PS pictures into the document
▪ fancyhdr = easy definition of footer and header
 Start with begin{document}
 End with end{document}
 TypesettingText
  or newline and newpage
 % comments
 Bold textbf{……………} or bf
 Italics emph{…………} or textit{………} or it
 Underline underline{…………} or ul
 Including Multiple Files
 input{filename.tex}
 The Physical Review package ads something
new to the title. It ads the Abstract section.
 begin{abstract}
Abstract text
 end{abstract}
 After this section you can put the make title
command.
 Sections
 section{…} = 1. Latex is Great
 subsection{…} = 1.1Why Latex is Great
 subsubsection{…} = 1.1.1 Reason One
 appendix - changes numbering scheme
 chapter{…} -To be used with book and report
document classes
 Titles, Authors and others
 title{…} author{…}
 footnote{…}
 maketitle - DisplayTitle and Author
 tableofcontents - generatesTOC
 listoftables - generates LOT
 listoffigures - generates LOF
 Labels
 label{marker} - Marker in document.
 pageref{marker} - Displays page no. of marker.
 ref{marker} - Displays section location of marker.
 Itemize
 Use either enumerate, itemize or description.
 see handout for example.
 Source
 begin{itemize}
 item Apple
 item Orange
 end{itemize}
 Result
 Apple
 Orange
 Enumerate instead of itemize gives a
numbered list
 Lists can be recursive
 Something between
 begin{name}
 end{name}
 Many command, for example bf affect the
text until the end of environment
 Environments can be recursive
 Examples:
 itemize, center, abstract
 Group is some text between { and }
 Many commands work until the end of the
group
 Code
 put {one word bf in bold} here
 Result
 put one word in bold here
 Environments center, flushleft, flushright
 Example
 begin{flushright}
 Right aligned
 end{flushright}
 Result
 Right aligned

tiny scriptsize footnotesize
 small normalsize
large Large LARGE
huge Huge
 documentclass{article}
 title{Simple Example}
 author{Rouhollah Nabati}
 date{December 2016}
 begin{document}
 maketitle
 Hello world!
 end{document}
 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
 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
 Floating objects can stop splitting of tables
and images over pages.
 begin{figure}[options]
 end{figure}
 begin{table}[options]
 end{table}
 They will now appear in the
 List of Figures (LOF) and
 List ofTables (LOT).
Options (recommendations)
h = place table here
t = place at top of page
b = place at bottom of page
 begin{figure}[ht]
 centeringepsfig{file=uni.ps, width=5cm}
 caption{Azad University of Sanandaj}
 label{uni}
 end{figure} Figure~ref{uni}
shows...
 Use epsfig package
 usepackage{epsfig}
 Including images in main body
 epsfig{file=filename.eps, width=10cm,
height=9cm, angle=90}
 Creating EPS - Use xv and/or xfig.
 MS Power Point, save as GIF and convert to
EPS.
 usepackage{graphicx}
 begin{figure}[h]
 centering
 captionsetup{justification=centering}
 includegraphics[width=85mm]{img-1}
 caption{Illustration of the iteration process
of building a full tree.The firts 5 iteration of
DURT.}
 label{fig-DURT}
 end{figure}
 Put simple equation between two $
 $t=0$
 $E=mc^2$
 $n^{n-1}$
 You need an equation by itself.That is also
numbered.You do this with
 begin{equation}
frac{1}{N} sum_{i=1}^{n} frac{2N_i}{k_i*(k_i-1)}
 end{equation}
 If you wish to leave it unnumbered simply put
an asterisk at the end of the word equation.
begin{equation*} equation end{equation}
 usepackage{algorithm}
 begin{algorithm}
 caption{EDSS Algorithm}
 begin{algorithmic}[1]
 Procedure{EDSS}{$T$}Comment{$T$ is the number of
iterations}
 While{$tnot=T$}
 State $tgetsT$
 Statetextbf{Step 0:} Node "0" generated.
 EndWhilelabel{euclidendwhile}
 EndProcedure
 end{algorithmic}
 end{algorithm}
 usepackage{algorithm}
 begin{algorithm}
 caption{EDSS Algorithm}
 begin{algorithmic}[1]
 Procedure{EDSS}{$T$}Comment{$T$ is the number of
iterations}
 While{$tnot=T$}
 State $tgetsT$
 Statetextbf{Step 0:} Node "0" generated.
 EndWhilelabel{euclidendwhile}
 EndProcedure
 end{algorithmic}
 end{algorithm}
 begin{figure}[h]
 begin{tikzpicture}
 begin{axis}[
 %title={Clustering coefficient distribution in proposed model for N=15
andT=4},
 xlabel={Clustering coefficient},
 ylabel={Count},
 xmin=0, xmax=1.2,
 ytick={1,2,3,4,5},
 ….
 ]
 addplot[
 label{plot:CC-distribution}
 end{figure}
 Ref {Label} -> Reference to Figure, Section,
Equation and etc.
 Ref{sec:introduction}
 Cite{Label} -> Cite an article listed in
Bibliographgy
 cite{newman-2000}
 begin{thebibliography}{}
 bibitem[Come95]{Come95} Comer,
 D. E., {it Internetworking withTCP/IP:
 Principles, Protocols and Architecture},
 volume 1, 3rd edition. Prentice-Hall,
 1995.
 end{thebibliography}
 Bibliography information is stored in a *.bib
file, in Bibtex format.
 Include chicago package
 usepackage{chicago}
 Set referencing style
 bibliographystyle{chicago}
 Create reference section by
 bibliography{bibfile with no extension}
 @book{Come95,
 author=“D. E. Comer”,
 title={Internetworking withTCP/IP:
Principles, Protocols and Architecture},
 publisher=“Prentice-Hall”,
 year=1995,
 volume=1,
 edition=“Third”}
 Citing references in text
 cite{cuc98} = (Cuce 1998)
 citeN{cru98} = Crud (1998)
 shortcite{tom98} = (Tom, et. al. 1998)
 Creating Bibtex Files
 Use Emacs with extensions.
 or copy Bibtex entries from bibliography
database.
 begin{center}
 {large
 $$ y=frac{a^3+2c_{x}}
{1+sqrt{b_{x}}} $$ 
 vspace{0.2in}
 $$
Q=sum_{i=1}^{j}int_{mu}^{i
nfty}f(x_{j})dx $$ 
 vspace{0.2in}
 $$ Psi = oint_{-
infty}^{infty}f_{xy}
({frac{partial
 Qx}{partial
Qy}})^{Im_{pi}^ prime} $$  }
 UNIX based systems
 xdvi, ghostview, fixps, emacs with latex/bibtex
support.
 Windows 98/NT
 Ghostview, Acrobat Distiller, Acrobat Reader,
ScientificWorkplace (not the best), the Bibtex
viewer is good. Paint Shop Pro, Latex and Emacs
 Download XeTeX from
 https://sourceforge.net/projects/xetex/
 Or farsixetex
 Beamer
 Beamer is a LaTeX document class for creating
slides for presentations.
 Beamer provides the ability to make "handouts“
 Powerdot
 Powerdot is a LaTeX class for making
professional-looking presentation slides.
 Latex is optimal for master and phd thesis?
 Mathematical formulae are easy.
 Use bibtex search engines
 Consider converting Postscript files to PDF
(more widespread inWindows world) and to
conserve space.
 http://www.miktex.org/
 http://www.toolscenter.org/
 http://www.ocf.berkeley.edu/~jjlin/latex/
 http://en.wikibooks.org/wiki/LaTeX
 Latex math symbols
 http://
web.ift.uib.no/Fysisk/Teori/KURS/WRK/TeX/symALL.h
 LaTex project page
 http://www.latex-project.org/
 Google is your friend…
 http://www.miktex.org/
 http://www.toolscenter.org/
 http://www.ocf.berkeley.edu/~jjlin/latex/
 http://en.wikibooks.org/wiki/LaTeX
 Latex math symbols
 http://
web.ift.uib.no/Fysisk/Teori/KURS/WRK/TeX/symALL.h
 LaTex project page
 http://www.latex-project.org/
 Google is your friend…
amsmath
It contains the advanced math extensions for LaTeX. The complete documentation should
be in your LaTeX distribution; the file is called amsdoc, and can be dvi or pdf. For more
information, see the chapter about Mathetics.
amssymb It adds new symbols in to be used in math mode.
amsthm
It introduces the proof environment and the theoremstyle command. For more information see
the Theoremssection.
array
It extends the possibility of LaTeX to handle tables, fixing some bugs and adding new features.
Using it, you can create very complicated and customized tables. For more information, see
the Tables section.
babel
It provides the internationalization of LaTeX. It has to be loaded in any document, and you have
to give as an option the main language you are going to use in the document. For more
information see the Internationalization section.
biblatex Advanced bibliography handling. It is the package to use for writing a thesis.
bm
Allows use of bold greek letters in math mode using the bm{...} command. This supersedes
the amsbsy package.
booktabs
provides ex-tra com-mands as well as be-hind-the-scenes op-ti-mi-sa-tion for producing tables.
Guide-lines are given as to what con-sti-tutes a good ta-ble in the package documentation.
caption Allows customization of appearance and placement of captions for figures, tables, etc.
cancel
Provides commands for striking out mathematical expressions. The syntax is
cancel{x} or cancelto{0}{x}
chemmacros Part of a bundle to typeset chemistry easily and consistent.
changepage To easily change the margins of pages. The syntax is
enumitem Adds support for arbitrarily-deep nested lists (useful for outlines). See List Structures.
He who learns,
teaches.
Thank you for
your attention.

More Related Content

What's hot

Latex workshop: Essentials and Practices
Latex workshop: Essentials and PracticesLatex workshop: Essentials and Practices
Latex workshop: Essentials and Practices
Mohamed Alrshah
 
LaTeX Introduction for Word Users
LaTeX Introduction for Word UsersLaTeX Introduction for Word Users
LaTeX Introduction for Word Users
Guy K. Kloss
 
Latex for beginner
Latex for beginnerLatex for beginner
Latex for beginner
mahindrupali
 
Introduction to Latex
Introduction to LatexIntroduction to Latex
Introduction to Latex
Mohamed Alrshah
 
Latex
LatexLatex
Basic Latex Typesetting - Session 1
Basic Latex Typesetting - Session 1Basic Latex Typesetting - Session 1
Basic Latex Typesetting - Session 1
Kiel Granada
 
Introduction to LaTeX (For Word users)
 Introduction to LaTeX (For Word users) Introduction to LaTeX (For Word users)
Introduction to LaTeX (For Word users)
Guy K. Kloss
 
LaTeX-Presentation
LaTeX-PresentationLaTeX-Presentation
LaTeX-Presentation
Komala Anamalamudi
 
Latex Tuitorial
Latex TuitorialLatex Tuitorial
Latex Tuitorial
ankitsinghaniya
 
Academic writing in LaTeX
Academic writing in LaTeX Academic writing in LaTeX
Academic writing in LaTeX
Daniele Di Mitri
 
HTML
HTMLHTML
LaTeX Cheat Sheet
LaTeX Cheat Sheet LaTeX Cheat Sheet
LaTeX Cheat Sheet
Hirwanto Iwan
 
Editing documents with LaTeX
Editing documents with LaTeXEditing documents with LaTeX
Editing documents with LaTeX
Laura M. Castro
 
CSS Basics
CSS BasicsCSS Basics
CSS Basics
WordPress Memphis
 
documents writing with LATEX
documents writing with LATEXdocuments writing with LATEX
documents writing with LATEX
Anusha Vajrapu
 
Training basic latex
Training basic latexTraining basic latex
Training basic latex
University of Technology
 
Installation guide for Latex and MOODLE
Installation guide for Latex and MOODLEInstallation guide for Latex and MOODLE
Installation guide for Latex and MOODLE
abigail4894
 
LaTeX for beginners
LaTeX for beginnersLaTeX for beginners
LaTeX for beginners
Stéphane Péchard
 
Css Ppt
Css PptCss Ppt
Css Ppt
Hema Prasanth
 
Basic html structure
Basic html structureBasic html structure
Basic html structure
Jhaun Paul Enriquez
 

What's hot (20)

Latex workshop: Essentials and Practices
Latex workshop: Essentials and PracticesLatex workshop: Essentials and Practices
Latex workshop: Essentials and Practices
 
LaTeX Introduction for Word Users
LaTeX Introduction for Word UsersLaTeX Introduction for Word Users
LaTeX Introduction for Word Users
 
Latex for beginner
Latex for beginnerLatex for beginner
Latex for beginner
 
Introduction to Latex
Introduction to LatexIntroduction to Latex
Introduction to Latex
 
Latex
LatexLatex
Latex
 
Basic Latex Typesetting - Session 1
Basic Latex Typesetting - Session 1Basic Latex Typesetting - Session 1
Basic Latex Typesetting - Session 1
 
Introduction to LaTeX (For Word users)
 Introduction to LaTeX (For Word users) Introduction to LaTeX (For Word users)
Introduction to LaTeX (For Word users)
 
LaTeX-Presentation
LaTeX-PresentationLaTeX-Presentation
LaTeX-Presentation
 
Latex Tuitorial
Latex TuitorialLatex Tuitorial
Latex Tuitorial
 
Academic writing in LaTeX
Academic writing in LaTeX Academic writing in LaTeX
Academic writing in LaTeX
 
HTML
HTMLHTML
HTML
 
LaTeX Cheat Sheet
LaTeX Cheat Sheet LaTeX Cheat Sheet
LaTeX Cheat Sheet
 
Editing documents with LaTeX
Editing documents with LaTeXEditing documents with LaTeX
Editing documents with LaTeX
 
CSS Basics
CSS BasicsCSS Basics
CSS Basics
 
documents writing with LATEX
documents writing with LATEXdocuments writing with LATEX
documents writing with LATEX
 
Training basic latex
Training basic latexTraining basic latex
Training basic latex
 
Installation guide for Latex and MOODLE
Installation guide for Latex and MOODLEInstallation guide for Latex and MOODLE
Installation guide for Latex and MOODLE
 
LaTeX for beginners
LaTeX for beginnersLaTeX for beginners
LaTeX for beginners
 
Css Ppt
Css PptCss Ppt
Css Ppt
 
Basic html structure
Basic html structureBasic html structure
Basic html structure
 

Viewers also liked

La tex
La texLa tex
How to choose the best mattress for yourself
How to choose the best mattress for yourselfHow to choose the best mattress for yourself
How to choose the best mattress for yourself
Wakefit
 
2014 AICPA CFO Conference - Accounting Trends and Update
2014 AICPA CFO Conference - Accounting Trends and Update 2014 AICPA CFO Conference - Accounting Trends and Update
2014 AICPA CFO Conference - Accounting Trends and Update
Brian Marshall
 
Don't Risk Your Business - Know when you are bound by a contract and when you...
Don't Risk Your Business - Know when you are bound by a contract and when you...Don't Risk Your Business - Know when you are bound by a contract and when you...
Don't Risk Your Business - Know when you are bound by a contract and when you...
Etienne Lawyers
 
Which Assets Can Be Dealt With In Your Will
Which Assets Can Be Dealt With In Your WillWhich Assets Can Be Dealt With In Your Will
Which Assets Can Be Dealt With In Your Will
Etienne Lawyers
 
AICPA webcast presented by McGladrey (July 30, 2013) - Joint revenue recognit...
AICPA webcast presented by McGladrey (July 30, 2013) - Joint revenue recognit...AICPA webcast presented by McGladrey (July 30, 2013) - Joint revenue recognit...
AICPA webcast presented by McGladrey (July 30, 2013) - Joint revenue recognit...
Brian Marshall
 
Natural rubber latex
Natural rubber latexNatural rubber latex
Natural rubber latex
Jannah Zainon
 
Due Diligence When Buying A Business
Due Diligence When Buying A BusinessDue Diligence When Buying A Business
Due Diligence When Buying A Business
Etienne Lawyers
 
How to make boxed text with LaTeX
How to make boxed text with LaTeXHow to make boxed text with LaTeX
How to make boxed text with LaTeX
Vesa Linja-aho
 
NATURAL RUBBER
NATURAL RUBBERNATURAL RUBBER
NATURAL RUBBER
Arjun K Gopi
 
Internet of things (IoT) and big data- r.nabati
Internet of things (IoT) and big data- r.nabatiInternet of things (IoT) and big data- r.nabati
Internet of things (IoT) and big data- r.nabati
nabati
 
Data Structures and Algorithms
Data Structures and AlgorithmsData Structures and Algorithms
Data Structures and Algorithms
Pierre Vigneras
 
Matlab Introduction
Matlab IntroductionMatlab Introduction
Matlab Introduction
ideas2ignite
 
Getting started with image processing using Matlab
Getting started with image processing using MatlabGetting started with image processing using Matlab
Getting started with image processing using Matlab
Pantech ProLabs India Pvt Ltd
 
Data Structure
Data StructureData Structure
Data Structure
Karthikeyan A K
 
Congratulations Graduate! Eleven Reasons Why I Will Never Hire You.
Congratulations Graduate! Eleven Reasons Why I Will Never Hire You.Congratulations Graduate! Eleven Reasons Why I Will Never Hire You.
Congratulations Graduate! Eleven Reasons Why I Will Never Hire You.
Mark O'Toole
 

Viewers also liked (17)

La tex
La texLa tex
La tex
 
How to choose the best mattress for yourself
How to choose the best mattress for yourselfHow to choose the best mattress for yourself
How to choose the best mattress for yourself
 
ECORISMO Canada_présentation
ECORISMO Canada_présentationECORISMO Canada_présentation
ECORISMO Canada_présentation
 
2014 AICPA CFO Conference - Accounting Trends and Update
2014 AICPA CFO Conference - Accounting Trends and Update 2014 AICPA CFO Conference - Accounting Trends and Update
2014 AICPA CFO Conference - Accounting Trends and Update
 
Don't Risk Your Business - Know when you are bound by a contract and when you...
Don't Risk Your Business - Know when you are bound by a contract and when you...Don't Risk Your Business - Know when you are bound by a contract and when you...
Don't Risk Your Business - Know when you are bound by a contract and when you...
 
Which Assets Can Be Dealt With In Your Will
Which Assets Can Be Dealt With In Your WillWhich Assets Can Be Dealt With In Your Will
Which Assets Can Be Dealt With In Your Will
 
AICPA webcast presented by McGladrey (July 30, 2013) - Joint revenue recognit...
AICPA webcast presented by McGladrey (July 30, 2013) - Joint revenue recognit...AICPA webcast presented by McGladrey (July 30, 2013) - Joint revenue recognit...
AICPA webcast presented by McGladrey (July 30, 2013) - Joint revenue recognit...
 
Natural rubber latex
Natural rubber latexNatural rubber latex
Natural rubber latex
 
Due Diligence When Buying A Business
Due Diligence When Buying A BusinessDue Diligence When Buying A Business
Due Diligence When Buying A Business
 
How to make boxed text with LaTeX
How to make boxed text with LaTeXHow to make boxed text with LaTeX
How to make boxed text with LaTeX
 
NATURAL RUBBER
NATURAL RUBBERNATURAL RUBBER
NATURAL RUBBER
 
Internet of things (IoT) and big data- r.nabati
Internet of things (IoT) and big data- r.nabatiInternet of things (IoT) and big data- r.nabati
Internet of things (IoT) and big data- r.nabati
 
Data Structures and Algorithms
Data Structures and AlgorithmsData Structures and Algorithms
Data Structures and Algorithms
 
Matlab Introduction
Matlab IntroductionMatlab Introduction
Matlab Introduction
 
Getting started with image processing using Matlab
Getting started with image processing using MatlabGetting started with image processing using Matlab
Getting started with image processing using Matlab
 
Data Structure
Data StructureData Structure
Data Structure
 
Congratulations Graduate! Eleven Reasons Why I Will Never Hire You.
Congratulations Graduate! Eleven Reasons Why I Will Never Hire You.Congratulations Graduate! Eleven Reasons Why I Will Never Hire You.
Congratulations Graduate! Eleven Reasons Why I Will Never Hire You.
 

Similar to Introduction to latex by Rouhollah Nabati

LaTex tutorial with Texstudio
LaTex tutorial with TexstudioLaTex tutorial with Texstudio
LaTex tutorial with Texstudio
Hossein Babashah
 
LaTeX_tutorial_Syed_Jan09.ppt
LaTeX_tutorial_Syed_Jan09.pptLaTeX_tutorial_Syed_Jan09.ppt
LaTeX_tutorial_Syed_Jan09.ppt
Michalis33
 
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 ppt copy
Latex ppt   copyLatex ppt   copy
Latex ppt copy
Rajesh Kumar
 
Latex workshop
Latex workshopLatex workshop
Latex workshop
Aisha Abdullahi
 
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
 
Latex for beginners
Latex for beginnersLatex for beginners
Latex for beginners
Kaushik Naik
 
LaTeX for B.Sc. Mathematics,an introduction
LaTeX for B.Sc. Mathematics,an introductionLaTeX for B.Sc. Mathematics,an introduction
LaTeX for B.Sc. Mathematics,an introduction
jayakumarc9
 
LaTeX Survival Guide
LaTeX Survival Guide LaTeX Survival Guide
LaTeX Survival Guide
Dylan Seychell
 
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
 
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_intro.ppt
latex_intro.pptlatex_intro.ppt
latex_intro.ppt
MohamedHeddar
 
latex_intro.ppt
latex_intro.pptlatex_intro.ppt
latex_intro.ppt
TapasPal34
 
latex_intro.ppt
latex_intro.pptlatex_intro.ppt
latex_intro.ppt
Amit Bairwa
 
latex_intro.ppt
latex_intro.pptlatex_intro.ppt
latex_intro.ppt
ProfAbdulQayyumKhan
 
Latex Tutorial
Latex TutorialLatex Tutorial
Latex Tutorial
Mamoon R Malik
 
Write effectlively in late x
Write effectlively in late xWrite effectlively in late x
Write effectlively in late x
C-CORE
 
Latex hafida-benhidour-19-12-2016
Latex hafida-benhidour-19-12-2016Latex hafida-benhidour-19-12-2016
Latex hafida-benhidour-19-12-2016
مركز البحوث الأقسام العلمية
 
Head first latex
Head first latexHead first latex
Head first latex
Chung-Hsiang Ofa Hsueh
 

Similar to Introduction to latex by Rouhollah Nabati (20)

LaTex tutorial with Texstudio
LaTex tutorial with TexstudioLaTex tutorial with Texstudio
LaTex tutorial with Texstudio
 
LaTeX_tutorial_Syed_Jan09.ppt
LaTeX_tutorial_Syed_Jan09.pptLaTeX_tutorial_Syed_Jan09.ppt
LaTeX_tutorial_Syed_Jan09.ppt
 
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 ppt copy
Latex ppt   copyLatex ppt   copy
Latex ppt copy
 
Latex workshop
Latex workshopLatex workshop
Latex workshop
 
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
 
Latex for beginners
Latex for beginnersLatex for beginners
Latex for beginners
 
LaTeX for B.Sc. Mathematics,an introduction
LaTeX for B.Sc. Mathematics,an introductionLaTeX for B.Sc. Mathematics,an introduction
LaTeX for B.Sc. Mathematics,an introduction
 
LaTeX Survival Guide
LaTeX Survival Guide LaTeX Survival Guide
LaTeX Survival Guide
 
latex-workshop Dr: Mohamed A. Alrshah
latex-workshop Dr: Mohamed A. Alrshahlatex-workshop Dr: Mohamed A. Alrshah
latex-workshop Dr: Mohamed A. Alrshah
 
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_intro.ppt
latex_intro.pptlatex_intro.ppt
latex_intro.ppt
 
latex_intro.ppt
latex_intro.pptlatex_intro.ppt
latex_intro.ppt
 
latex_intro.ppt
latex_intro.pptlatex_intro.ppt
latex_intro.ppt
 
latex_intro.ppt
latex_intro.pptlatex_intro.ppt
latex_intro.ppt
 
Latex Tutorial
Latex TutorialLatex Tutorial
Latex Tutorial
 
Write effectlively in late x
Write effectlively in late xWrite effectlively in late x
Write effectlively in late x
 
Latex hafida-benhidour-19-12-2016
Latex hafida-benhidour-19-12-2016Latex hafida-benhidour-19-12-2016
Latex hafida-benhidour-19-12-2016
 
Head first latex
Head first latexHead first latex
Head first latex
 

More from nabati

Smart manufacturing through cloud based-r-nabati--dr abdulbaghi ghaderzadeh
Smart manufacturing through cloud based-r-nabati--dr abdulbaghi ghaderzadehSmart manufacturing through cloud based-r-nabati--dr abdulbaghi ghaderzadeh
Smart manufacturing through cloud based-r-nabati--dr abdulbaghi ghaderzadeh
nabati
 
Ip core -iausdj.ac.ir
Ip core -iausdj.ac.irIp core -iausdj.ac.ir
Ip core -iausdj.ac.ir
nabati
 
Introduction to R r.nabati - iausdj.ac.ir
Introduction to R   r.nabati - iausdj.ac.irIntroduction to R   r.nabati - iausdj.ac.ir
Introduction to R r.nabati - iausdj.ac.ir
nabati
 
Contiki IoT simulation
Contiki IoT simulationContiki IoT simulation
Contiki IoT simulation
nabati
 
Cloud computing standards and protocols r.nabati
Cloud computing standards and protocols r.nabatiCloud computing standards and protocols r.nabati
Cloud computing standards and protocols r.nabati
nabati
 
Graph theory concepts complex networks presents-rouhollah nabati
Graph theory concepts   complex networks presents-rouhollah nabatiGraph theory concepts   complex networks presents-rouhollah nabati
Graph theory concepts complex networks presents-rouhollah nabati
nabati
 
Big data analytics, survey r.nabati
Big data analytics, survey r.nabatiBig data analytics, survey r.nabati
Big data analytics, survey r.nabati
nabati
 
Random walks on graphs - link prediction by Rouhollah Nabati
Random walks on graphs - link prediction by Rouhollah NabatiRandom walks on graphs - link prediction by Rouhollah Nabati
Random walks on graphs - link prediction by Rouhollah Nabati
nabati
 

More from nabati (8)

Smart manufacturing through cloud based-r-nabati--dr abdulbaghi ghaderzadeh
Smart manufacturing through cloud based-r-nabati--dr abdulbaghi ghaderzadehSmart manufacturing through cloud based-r-nabati--dr abdulbaghi ghaderzadeh
Smart manufacturing through cloud based-r-nabati--dr abdulbaghi ghaderzadeh
 
Ip core -iausdj.ac.ir
Ip core -iausdj.ac.irIp core -iausdj.ac.ir
Ip core -iausdj.ac.ir
 
Introduction to R r.nabati - iausdj.ac.ir
Introduction to R   r.nabati - iausdj.ac.irIntroduction to R   r.nabati - iausdj.ac.ir
Introduction to R r.nabati - iausdj.ac.ir
 
Contiki IoT simulation
Contiki IoT simulationContiki IoT simulation
Contiki IoT simulation
 
Cloud computing standards and protocols r.nabati
Cloud computing standards and protocols r.nabatiCloud computing standards and protocols r.nabati
Cloud computing standards and protocols r.nabati
 
Graph theory concepts complex networks presents-rouhollah nabati
Graph theory concepts   complex networks presents-rouhollah nabatiGraph theory concepts   complex networks presents-rouhollah nabati
Graph theory concepts complex networks presents-rouhollah nabati
 
Big data analytics, survey r.nabati
Big data analytics, survey r.nabatiBig data analytics, survey r.nabati
Big data analytics, survey r.nabati
 
Random walks on graphs - link prediction by Rouhollah Nabati
Random walks on graphs - link prediction by Rouhollah NabatiRandom walks on graphs - link prediction by Rouhollah Nabati
Random walks on graphs - link prediction by Rouhollah Nabati
 

Recently uploaded

Mobile App Development Company In Noida | Drona Infotech
Mobile App Development Company In Noida | Drona InfotechMobile App Development Company In Noida | Drona Infotech
Mobile App Development Company In Noida | Drona Infotech
Drona Infotech
 
SWEBOK and Education at FUSE Okinawa 2024
SWEBOK and Education at FUSE Okinawa 2024SWEBOK and Education at FUSE Okinawa 2024
SWEBOK and Education at FUSE Okinawa 2024
Hironori Washizaki
 
Vitthal Shirke Java Microservices Resume.pdf
Vitthal Shirke Java Microservices Resume.pdfVitthal Shirke Java Microservices Resume.pdf
Vitthal Shirke Java Microservices Resume.pdf
Vitthal Shirke
 
2024 eCommerceDays Toulouse - Sylius 2.0.pdf
2024 eCommerceDays Toulouse - Sylius 2.0.pdf2024 eCommerceDays Toulouse - Sylius 2.0.pdf
2024 eCommerceDays Toulouse - Sylius 2.0.pdf
Łukasz Chruściel
 
Orion Context Broker introduction 20240604
Orion Context Broker introduction 20240604Orion Context Broker introduction 20240604
Orion Context Broker introduction 20240604
Fermin Galan
 
Transform Your Communication with Cloud-Based IVR Solutions
Transform Your Communication with Cloud-Based IVR SolutionsTransform Your Communication with Cloud-Based IVR Solutions
Transform Your Communication with Cloud-Based IVR Solutions
TheSMSPoint
 
OpenMetadata Community Meeting - 5th June 2024
OpenMetadata Community Meeting - 5th June 2024OpenMetadata Community Meeting - 5th June 2024
OpenMetadata Community Meeting - 5th June 2024
OpenMetadata
 
How to write a program in any programming language
How to write a program in any programming languageHow to write a program in any programming language
How to write a program in any programming language
Rakesh Kumar R
 
原版定制美国纽约州立大学奥尔巴尼分校毕业证学位证书原版一模一样
原版定制美国纽约州立大学奥尔巴尼分校毕业证学位证书原版一模一样原版定制美国纽约州立大学奥尔巴尼分校毕业证学位证书原版一模一样
原版定制美国纽约州立大学奥尔巴尼分校毕业证学位证书原版一模一样
mz5nrf0n
 
Fundamentals of Programming and Language Processors
Fundamentals of Programming and Language ProcessorsFundamentals of Programming and Language Processors
Fundamentals of Programming and Language Processors
Rakesh Kumar R
 
openEuler Case Study - The Journey to Supply Chain Security
openEuler Case Study - The Journey to Supply Chain SecurityopenEuler Case Study - The Journey to Supply Chain Security
openEuler Case Study - The Journey to Supply Chain Security
Shane Coughlan
 
Using Xen Hypervisor for Functional Safety
Using Xen Hypervisor for Functional SafetyUsing Xen Hypervisor for Functional Safety
Using Xen Hypervisor for Functional Safety
Ayan Halder
 
Essentials of Automations: The Art of Triggers and Actions in FME
Essentials of Automations: The Art of Triggers and Actions in FMEEssentials of Automations: The Art of Triggers and Actions in FME
Essentials of Automations: The Art of Triggers and Actions in FME
Safe Software
 
E-commerce Application Development Company.pdf
E-commerce Application Development Company.pdfE-commerce Application Development Company.pdf
E-commerce Application Development Company.pdf
Hornet Dynamics
 
May Marketo Masterclass, London MUG May 22 2024.pdf
May Marketo Masterclass, London MUG May 22 2024.pdfMay Marketo Masterclass, London MUG May 22 2024.pdf
May Marketo Masterclass, London MUG May 22 2024.pdf
Adele Miller
 
GOING AOT WITH GRAALVM FOR SPRING BOOT (SPRING IO)
GOING AOT WITH GRAALVM FOR  SPRING BOOT (SPRING IO)GOING AOT WITH GRAALVM FOR  SPRING BOOT (SPRING IO)
GOING AOT WITH GRAALVM FOR SPRING BOOT (SPRING IO)
Alina Yurenko
 
A Study of Variable-Role-based Feature Enrichment in Neural Models of Code
A Study of Variable-Role-based Feature Enrichment in Neural Models of CodeA Study of Variable-Role-based Feature Enrichment in Neural Models of Code
A Study of Variable-Role-based Feature Enrichment in Neural Models of Code
Aftab Hussain
 
Automated software refactoring with OpenRewrite and Generative AI.pptx.pdf
Automated software refactoring with OpenRewrite and Generative AI.pptx.pdfAutomated software refactoring with OpenRewrite and Generative AI.pptx.pdf
Automated software refactoring with OpenRewrite and Generative AI.pptx.pdf
timtebeek1
 
Neo4j - Product Vision and Knowledge Graphs - GraphSummit Paris
Neo4j - Product Vision and Knowledge Graphs - GraphSummit ParisNeo4j - Product Vision and Knowledge Graphs - GraphSummit Paris
Neo4j - Product Vision and Knowledge Graphs - GraphSummit Paris
Neo4j
 
Energy consumption of Database Management - Florina Jonuzi
Energy consumption of Database Management - Florina JonuziEnergy consumption of Database Management - Florina Jonuzi
Energy consumption of Database Management - Florina Jonuzi
Green Software Development
 

Recently uploaded (20)

Mobile App Development Company In Noida | Drona Infotech
Mobile App Development Company In Noida | Drona InfotechMobile App Development Company In Noida | Drona Infotech
Mobile App Development Company In Noida | Drona Infotech
 
SWEBOK and Education at FUSE Okinawa 2024
SWEBOK and Education at FUSE Okinawa 2024SWEBOK and Education at FUSE Okinawa 2024
SWEBOK and Education at FUSE Okinawa 2024
 
Vitthal Shirke Java Microservices Resume.pdf
Vitthal Shirke Java Microservices Resume.pdfVitthal Shirke Java Microservices Resume.pdf
Vitthal Shirke Java Microservices Resume.pdf
 
2024 eCommerceDays Toulouse - Sylius 2.0.pdf
2024 eCommerceDays Toulouse - Sylius 2.0.pdf2024 eCommerceDays Toulouse - Sylius 2.0.pdf
2024 eCommerceDays Toulouse - Sylius 2.0.pdf
 
Orion Context Broker introduction 20240604
Orion Context Broker introduction 20240604Orion Context Broker introduction 20240604
Orion Context Broker introduction 20240604
 
Transform Your Communication with Cloud-Based IVR Solutions
Transform Your Communication with Cloud-Based IVR SolutionsTransform Your Communication with Cloud-Based IVR Solutions
Transform Your Communication with Cloud-Based IVR Solutions
 
OpenMetadata Community Meeting - 5th June 2024
OpenMetadata Community Meeting - 5th June 2024OpenMetadata Community Meeting - 5th June 2024
OpenMetadata Community Meeting - 5th June 2024
 
How to write a program in any programming language
How to write a program in any programming languageHow to write a program in any programming language
How to write a program in any programming language
 
原版定制美国纽约州立大学奥尔巴尼分校毕业证学位证书原版一模一样
原版定制美国纽约州立大学奥尔巴尼分校毕业证学位证书原版一模一样原版定制美国纽约州立大学奥尔巴尼分校毕业证学位证书原版一模一样
原版定制美国纽约州立大学奥尔巴尼分校毕业证学位证书原版一模一样
 
Fundamentals of Programming and Language Processors
Fundamentals of Programming and Language ProcessorsFundamentals of Programming and Language Processors
Fundamentals of Programming and Language Processors
 
openEuler Case Study - The Journey to Supply Chain Security
openEuler Case Study - The Journey to Supply Chain SecurityopenEuler Case Study - The Journey to Supply Chain Security
openEuler Case Study - The Journey to Supply Chain Security
 
Using Xen Hypervisor for Functional Safety
Using Xen Hypervisor for Functional SafetyUsing Xen Hypervisor for Functional Safety
Using Xen Hypervisor for Functional Safety
 
Essentials of Automations: The Art of Triggers and Actions in FME
Essentials of Automations: The Art of Triggers and Actions in FMEEssentials of Automations: The Art of Triggers and Actions in FME
Essentials of Automations: The Art of Triggers and Actions in FME
 
E-commerce Application Development Company.pdf
E-commerce Application Development Company.pdfE-commerce Application Development Company.pdf
E-commerce Application Development Company.pdf
 
May Marketo Masterclass, London MUG May 22 2024.pdf
May Marketo Masterclass, London MUG May 22 2024.pdfMay Marketo Masterclass, London MUG May 22 2024.pdf
May Marketo Masterclass, London MUG May 22 2024.pdf
 
GOING AOT WITH GRAALVM FOR SPRING BOOT (SPRING IO)
GOING AOT WITH GRAALVM FOR  SPRING BOOT (SPRING IO)GOING AOT WITH GRAALVM FOR  SPRING BOOT (SPRING IO)
GOING AOT WITH GRAALVM FOR SPRING BOOT (SPRING IO)
 
A Study of Variable-Role-based Feature Enrichment in Neural Models of Code
A Study of Variable-Role-based Feature Enrichment in Neural Models of CodeA Study of Variable-Role-based Feature Enrichment in Neural Models of Code
A Study of Variable-Role-based Feature Enrichment in Neural Models of Code
 
Automated software refactoring with OpenRewrite and Generative AI.pptx.pdf
Automated software refactoring with OpenRewrite and Generative AI.pptx.pdfAutomated software refactoring with OpenRewrite and Generative AI.pptx.pdf
Automated software refactoring with OpenRewrite and Generative AI.pptx.pdf
 
Neo4j - Product Vision and Knowledge Graphs - GraphSummit Paris
Neo4j - Product Vision and Knowledge Graphs - GraphSummit ParisNeo4j - Product Vision and Knowledge Graphs - GraphSummit Paris
Neo4j - Product Vision and Knowledge Graphs - GraphSummit Paris
 
Energy consumption of Database Management - Florina Jonuzi
Energy consumption of Database Management - Florina JonuziEnergy consumption of Database Management - Florina Jonuzi
Energy consumption of Database Management - Florina Jonuzi
 

Introduction to latex by Rouhollah Nabati

  • 1. Introduction to Latex CE Dep, IAUSDJ.ac.ir 25-9-95(14 Dec, 2016)
  • 2.  high typographical quality of the documents  LaTex is de facto standard and is installed at many universities  Can be run on most operating systems  Equations, citations, figures, tables, etc., can be labeled so that cross referencing is automated  LaTex is free!  LaTex is notWYSIWYG(WhatYou See IsWhatYou Get)
  • 3.  First consider what type of paper you are writing so that you know whose packages to install.  Physics usesThe Physical Review Packages  Math usesThe AMS packages, which is also useful for writing just a general document or a Logic report.  Chemistry even uses some specialized packages, but much of its writing can be achieved through AMS. If you are interested in exploring chemistry packages further follow the link to get started. Click Here.  Most can just be searched on Google, or found using the MikTex package manager.
  • 4.  Keep all of the associated files in a single directory.  Latex was probably originally made for linux, so it is a little picky about path names.  Path names should have not special symbols or spaces. In fact the folder that you place the files in should be kept in the root directory on a windows machine.  Also if you use any specialized style files they should also be kept with the projects files.These are .sty files.
  • 5.  Download and run the Basic MiKTeX installer from https://miktex.org/download  IEEE ManuscriptTemplates for Conference Proceedings  https:// www.ieee.org/conferences_events/conferences/publishing/tem  IEEE ArticleTemplates and Instructions  https ://www.ieee.org/conferences_events/conferences/publishing/te
  • 6.  TeX is essentially a Markup Language (like HTML, XML and RTF)  LaTex is an extension ofTeX  Macro packages to makeTeX easier to use Presentaion is based on Troy D. Milner and Simon Cuce slides
  • 7.  Late 1970s -> 1989: TeX by Don Knuth  Decent typesetting by the authors!  Same output now as in the future  Low level, but powerful  Frozen development  Starting early 1980s: LaTeX by Leslie Lamport  High level language (macros, really) forTeX  Easy to use!  Current version is Latex2e
  • 8.  Some say LAY-teck  Some say LAH-teck  Some say LAY-tech (as in “Bach”)  Some say LAY-tex …  According toWikipedia: Knuth says /tex/ (as in Bach)  Lamport says “whatever…”
  • 9.  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,..)
  • 10.  De facto standard for scientific publishing  Very few bugs  Good for large documents  Can run even on 386 PC  Not very easy to learn!
  • 11.  documentclass{article}  title{Simple Example}  author{Rouhollah Nabati}  date{December 2016}  begin{document}  maketitle  Hello world, Salam!  end{document}
  • 12. Your Latex File Your Bibtex File Latex compile x3 Bibtex compile x2 Latex compile x3 Your Postscript File dvips compile x1 Device independent output .dvi (a text file)
  • 13.  Document Class ▪ There are 4 main predefined classes: article, letter, report, book, and slides.  Packages used ▪ Added Functionality (graphics, reference style,...).  Main Body ▪ Text and Bibliography References.
  • 14.  Document Class ▪ documentclass[options]{class} ▪ options = a4paper, 11pt, 12pt, 10pt, twocolumn, landscape,... ▪ class = article, report, book,...  Packages ▪ usepackage{package name} ▪ epsfig = insert PS pictures into the document ▪ fancyhdr = easy definition of footer and header
  • 15.  Start with begin{document}  End with end{document}  TypesettingText  or newline and newpage  % comments  Bold textbf{……………} or bf  Italics emph{…………} or textit{………} or it  Underline underline{…………} or ul
  • 16.  Including Multiple Files  input{filename.tex}
  • 17.  The Physical Review package ads something new to the title. It ads the Abstract section.  begin{abstract} Abstract text  end{abstract}  After this section you can put the make title command.
  • 18.  Sections  section{…} = 1. Latex is Great  subsection{…} = 1.1Why Latex is Great  subsubsection{…} = 1.1.1 Reason One  appendix - changes numbering scheme  chapter{…} -To be used with book and report document classes  Titles, Authors and others  title{…} author{…}  footnote{…}
  • 19.  maketitle - DisplayTitle and Author  tableofcontents - generatesTOC  listoftables - generates LOT  listoffigures - generates LOF  Labels  label{marker} - Marker in document.  pageref{marker} - Displays page no. of marker.  ref{marker} - Displays section location of marker.  Itemize  Use either enumerate, itemize or description.  see handout for example.
  • 20.  Source  begin{itemize}  item Apple  item Orange  end{itemize}  Result  Apple  Orange
  • 21.  Enumerate instead of itemize gives a numbered list  Lists can be recursive
  • 22.  Something between  begin{name}  end{name}  Many command, for example bf affect the text until the end of environment  Environments can be recursive  Examples:  itemize, center, abstract
  • 23.  Group is some text between { and }  Many commands work until the end of the group  Code  put {one word bf in bold} here  Result  put one word in bold here
  • 24.  Environments center, flushleft, flushright  Example  begin{flushright}  Right aligned  end{flushright}  Result  Right aligned
  • 25.  tiny scriptsize footnotesize  small normalsize large Large LARGE huge Huge
  • 26.  documentclass{article}  title{Simple Example}  author{Rouhollah Nabati}  date{December 2016}  begin{document}  maketitle  Hello world!  end{document}
  • 27.  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
  • 28.  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
  • 29.  Floating objects can stop splitting of tables and images over pages.  begin{figure}[options]  end{figure}  begin{table}[options]  end{table}  They will now appear in the  List of Figures (LOF) and  List ofTables (LOT). Options (recommendations) h = place table here t = place at top of page b = place at bottom of page
  • 30.  begin{figure}[ht]  centeringepsfig{file=uni.ps, width=5cm}  caption{Azad University of Sanandaj}  label{uni}  end{figure} Figure~ref{uni} shows...
  • 31.  Use epsfig package  usepackage{epsfig}  Including images in main body  epsfig{file=filename.eps, width=10cm, height=9cm, angle=90}  Creating EPS - Use xv and/or xfig.  MS Power Point, save as GIF and convert to EPS.
  • 32.  usepackage{graphicx}  begin{figure}[h]  centering  captionsetup{justification=centering}  includegraphics[width=85mm]{img-1}  caption{Illustration of the iteration process of building a full tree.The firts 5 iteration of DURT.}  label{fig-DURT}  end{figure}
  • 33.  Put simple equation between two $  $t=0$  $E=mc^2$  $n^{n-1}$
  • 34.  You need an equation by itself.That is also numbered.You do this with  begin{equation} frac{1}{N} sum_{i=1}^{n} frac{2N_i}{k_i*(k_i-1)}  end{equation}  If you wish to leave it unnumbered simply put an asterisk at the end of the word equation. begin{equation*} equation end{equation}
  • 35.  usepackage{algorithm}  begin{algorithm}  caption{EDSS Algorithm}  begin{algorithmic}[1]  Procedure{EDSS}{$T$}Comment{$T$ is the number of iterations}  While{$tnot=T$}  State $tgetsT$  Statetextbf{Step 0:} Node "0" generated.  EndWhilelabel{euclidendwhile}  EndProcedure  end{algorithmic}  end{algorithm}
  • 36.  usepackage{algorithm}  begin{algorithm}  caption{EDSS Algorithm}  begin{algorithmic}[1]  Procedure{EDSS}{$T$}Comment{$T$ is the number of iterations}  While{$tnot=T$}  State $tgetsT$  Statetextbf{Step 0:} Node "0" generated.  EndWhilelabel{euclidendwhile}  EndProcedure  end{algorithmic}  end{algorithm}
  • 37.  begin{figure}[h]  begin{tikzpicture}  begin{axis}[  %title={Clustering coefficient distribution in proposed model for N=15 andT=4},  xlabel={Clustering coefficient},  ylabel={Count},  xmin=0, xmax=1.2,  ytick={1,2,3,4,5},  ….  ]  addplot[  label{plot:CC-distribution}  end{figure}
  • 38.  Ref {Label} -> Reference to Figure, Section, Equation and etc.  Ref{sec:introduction}  Cite{Label} -> Cite an article listed in Bibliographgy  cite{newman-2000}
  • 39.  begin{thebibliography}{}  bibitem[Come95]{Come95} Comer,  D. E., {it Internetworking withTCP/IP:  Principles, Protocols and Architecture},  volume 1, 3rd edition. Prentice-Hall,  1995.  end{thebibliography}
  • 40.  Bibliography information is stored in a *.bib file, in Bibtex format.  Include chicago package  usepackage{chicago}  Set referencing style  bibliographystyle{chicago}  Create reference section by  bibliography{bibfile with no extension}
  • 41.  @book{Come95,  author=“D. E. Comer”,  title={Internetworking withTCP/IP: Principles, Protocols and Architecture},  publisher=“Prentice-Hall”,  year=1995,  volume=1,  edition=“Third”}
  • 42.  Citing references in text  cite{cuc98} = (Cuce 1998)  citeN{cru98} = Crud (1998)  shortcite{tom98} = (Tom, et. al. 1998)  Creating Bibtex Files  Use Emacs with extensions.  or copy Bibtex entries from bibliography database.
  • 43.  begin{center}  {large  $$ y=frac{a^3+2c_{x}} {1+sqrt{b_{x}}} $$  vspace{0.2in}  $$ Q=sum_{i=1}^{j}int_{mu}^{i nfty}f(x_{j})dx $$  vspace{0.2in}  $$ Psi = oint_{- infty}^{infty}f_{xy} ({frac{partial  Qx}{partial Qy}})^{Im_{pi}^ prime} $$ }
  • 44.  UNIX based systems  xdvi, ghostview, fixps, emacs with latex/bibtex support.  Windows 98/NT  Ghostview, Acrobat Distiller, Acrobat Reader, ScientificWorkplace (not the best), the Bibtex viewer is good. Paint Shop Pro, Latex and Emacs
  • 45.  Download XeTeX from  https://sourceforge.net/projects/xetex/  Or farsixetex
  • 46.  Beamer  Beamer is a LaTeX document class for creating slides for presentations.  Beamer provides the ability to make "handouts“  Powerdot  Powerdot is a LaTeX class for making professional-looking presentation slides.
  • 47.  Latex is optimal for master and phd thesis?  Mathematical formulae are easy.  Use bibtex search engines  Consider converting Postscript files to PDF (more widespread inWindows world) and to conserve space.
  • 48.  http://www.miktex.org/  http://www.toolscenter.org/  http://www.ocf.berkeley.edu/~jjlin/latex/  http://en.wikibooks.org/wiki/LaTeX  Latex math symbols  http:// web.ift.uib.no/Fysisk/Teori/KURS/WRK/TeX/symALL.h  LaTex project page  http://www.latex-project.org/  Google is your friend…
  • 49.  http://www.miktex.org/  http://www.toolscenter.org/  http://www.ocf.berkeley.edu/~jjlin/latex/  http://en.wikibooks.org/wiki/LaTeX  Latex math symbols  http:// web.ift.uib.no/Fysisk/Teori/KURS/WRK/TeX/symALL.h  LaTex project page  http://www.latex-project.org/  Google is your friend… amsmath It contains the advanced math extensions for LaTeX. The complete documentation should be in your LaTeX distribution; the file is called amsdoc, and can be dvi or pdf. For more information, see the chapter about Mathetics. amssymb It adds new symbols in to be used in math mode. amsthm It introduces the proof environment and the theoremstyle command. For more information see the Theoremssection. array It extends the possibility of LaTeX to handle tables, fixing some bugs and adding new features. Using it, you can create very complicated and customized tables. For more information, see the Tables section. babel It provides the internationalization of LaTeX. It has to be loaded in any document, and you have to give as an option the main language you are going to use in the document. For more information see the Internationalization section. biblatex Advanced bibliography handling. It is the package to use for writing a thesis. bm Allows use of bold greek letters in math mode using the bm{...} command. This supersedes the amsbsy package. booktabs provides ex-tra com-mands as well as be-hind-the-scenes op-ti-mi-sa-tion for producing tables. Guide-lines are given as to what con-sti-tutes a good ta-ble in the package documentation. caption Allows customization of appearance and placement of captions for figures, tables, etc. cancel Provides commands for striking out mathematical expressions. The syntax is cancel{x} or cancelto{0}{x} chemmacros Part of a bundle to typeset chemistry easily and consistent. changepage To easily change the margins of pages. The syntax is enumitem Adds support for arbitrarily-deep nested lists (useful for outlines). See List Structures.
  • 51. Thank you for your attention.

Editor's Notes

  1. De facto standard استاندارد پذیرفته شده