\documentclass{article}
\def\d{{\fontencoding{T1}\selectfont\dj}}
\def\D{{\fontencoding{T1}\selectfont\DJ}}

\title{Ve\v{z}banje Latex-a}
\author{Aleksandar Kartelj}

\begin{document}
\maketitle

\section{Matemati\v{c}ke formule}
Formula $a^2+b^2=c^2$ u okviru teksta.

\begin{equation}
a^2+b^2=c^2
\end{equation}

\begin{equation}
1+2+...+(n-1)+n = \frac{n(n+1)}{2}
\end{equation}

\begin{equation}
\sum_{k=1}^{n}{k} = \frac{n(n+1)}{2}
\end{equation}

\begin{equation}
a_i^{b_j^{c_k}}
\end{equation}

\begin{equation}
\forall x \in \textbf{R} :\quad x^4\geq 0
\end{equation}

\section{Zapis karaktera i formatiranje}
Ovo \textbf{je} \emph{tekst} sa \underline{razli\v{c}itim} 
$\overline{stilovima}$ formatiranja.

\d evrek.

% je komentar

\section{Tabele}
\begin{tabular}{|c|cr|}
12 & 78 & a \\
34 & b & c \\
\end{tabular}

\end{document}
