10. 10
LaTeX Editors
●
Vim with LaTeX-suit
●
TexMaker
●
TeXStudio
●
TeXworks
●
TeXlipse
●
TeXpen
●
TeXnic Center
●
ShareLaTeX
●
Overleaf
●
Authorea
●
…
The list is toooooo long !!!
11. 11
LaTeX: The File Structure
Document Class
Predefined Formats (article, report, book,...).
Packages used
Added Functionality (graphics, reference style,...).
Main Body
●
Text and Bibliography References.
12. 12
LaTeX: The Basics
Document Class
documentclass[options]{class}
options = a4paper, 11pt, 12pt, 10pt, twocolumn, landscape,...
class = article, report, book,…
Packages
usepackage{package name}
Ex:
epsfig = insert PS pictures into the document
fancyhdr = easy definition of footer and header
15. 15
دستوراتکاربردی
chapter{…}
(With book and report classes only)
or newline
section{...} newpage
subsection{...} textbf{…} or bf
subsubsection{...} emph{...} or textit{...} or it
paragraph{...} underline{...} or ul
subparagraph{...} tableofcontents
listoftables
input{filename.tex} listoffigures
19. 19
Tables
begin{tabular}{...}
…
end{tabular}
● l: a column of left-aligned text
● r: a column of right-aligned text
● c: a column of center-aligned text
● : vertical line|
● hline: horizontal line
● cline: partial horizontal line
21. 21
Equations
Use $...$ for math mode
For a numbered displayed equation
begin{equation}
…
end{equation}
For a series of equations
begin{eqnarray}
…
end{eqnarray}
22. 22
تریاضی دستوراتکاربردیدرمعاد
^ for Powers n^2
_ for Indices a_2
{…} for grouping b_{a-2}
Fractions frac{a}{3}
Square root sqrt{y^2} or sqrt[x]{y^2}
Sum sum_{x=1}^5 y^z
Integral int_a^b f(x)
25. 25
References
●
Create a BibTeX file (.bib)
●
The same name as your .tex file
●
The same folder as your .tex file
●
BibTeX file is Plain Text
●
Use cite{citationkey, citationkey, ...}
:شوندیدرانتهایفایلاضافهم ایندستوراتمعمو
●
bibliographystyle{… stylename ...}
●
bibliography{… filename ...}