Professional Documents
Culture Documents
October 28,2017
1 Introduction
2 LATEX Versus Word Processor
3 Step to Install the software
4 Main Commands for the document Environment
5 Special Characters of LaTex
6 Title and sectioning commands
7 Mathematical Expressions
8 Figures and Tables
9 Reference/Bibliography
The design of a whole new layout is difficult and takes a lot of time.
Templates help you here
Main body: the place where you see the whole content of your
document
Log part: the place where you see the report of the document
after compilation respectively
’ matrix transpose
% denotes a comment
To create title
\title { Introduction to Latex for Fifth year students }
\author { Fikreselam G.}
\date { \today }
\maketitle
\\ or
superscripts
subscripts
fractions, roots
matrices
integrals
derivatives
summations and products
functions like trigonometric & logarithmic functions
Greek letters & symbols and others
Fikreselam G. Title: Introduction to LATEX October 28,2017 36 / 76
Mathematical equations within a paragraph are entered between $
and $:
Example: C 2 = A2 + B 2 is obtained by the following command
$ C ˆ2=A ˆ 2+B ˆ2)$
\begin{equation} and \end {equation} is the basic equation
command to write in new line with equation number.
Example:
C 2 = A2 + B 2 (1)
use \tag { } command with proper package to label your our own
tag. Example:
C 2 = A2 + B 2 (a)
Fikreselam G. Title: Introduction to LATEX October 28,2017 37 / 76
several line equations
\begin {eqnarray}
y & =& x+ 3 \theta- 1.5 \theta \nonumber \\
& = & x+ 1.5 \theta
\end {eqnarray}
y = x + 3θ − 1.5θ
= x + 1.5θ (2)
use $X 2$ to write X2
use $X ∧ 2$ to write X 2
$\left ( \begin{array}{ccc}
1 & 2&3 \\
4 & 5&6 \\
7 & 8&9 \\
\end{array} \right)$
gives
1 2 3
4 5 6
7 8 9
scale Scale factor for the graphic (specifying scale=2 makes the
graphic twice as large as its natural size).
To add the word ”Figure” before the actual number in the list of
figures and to add the word ”Table” before the actual number in
the list of tables use:-
\usepackage {tocloft}
\renewcommand { \cftfigfont}{Figure }
\renewcomman{ \cfttabfont}{Table }
Citation made to any record that is contained within the file with
the command: \cite {referencename }
Ethiopia
University
Bahir Dar
University
end
Fikreselam G. Title: Introduction to LATEX October 28,2017 71 / 76
\tikzstyle {block} = [draw, rectangle, fill=green, text width=2cm, text
centered, rounded corners, minimum height=1cm]
\tikzstyle {cloud } = [draw, ellipse,fill=yellow, node distance=2cm,
minimum height=0.5cm]
\tikzstyle {line} = [draw, -latex’]
\begin {tikzpicture}[node distance = 2cm, auto]
\node [cloud] (s) {start};
\node [block, below of=s] (E) {Ethiopia University};
\node [block, below of=E] (B) {Bahir Dar University };
\node [block, below of=B] (p) {Poly};