\documentclass[titlepage]{amas}
%\usepackage{fancyhdr}
%\usepackage{tikz}
%\usepackage{tikz-cd}
\tikzcdset{arrow style=Latin Modern}
%\usepackage{amsthm,amssymb}
%\usepackage{lipsum}
%\usepackage[pdfstartview=FitH]{hyperref}
%\usepackage[croatian]{babel}


\newcommand{\abs}[1]{\lvert#1\rvert}


\begin{document}


\title{Example of a title of an article} 

\author{First Author}
\address{(1) University of Split, Faculty of Science, Ru\dj era Bo\v skovi\' ca 33, Split 21000, Croatia \\
	(2) University of Split, Livanjska 5, Split 21000, Croatia \\}
\email{email@pmfst.hr}


\author{Second Author}
\address{ University of Split, Faculty of Science, Ru\dj era Bo\v skovi\' ca 33, Split 21000, Croatia \\}
\email{email@pmfst.hr}

\author{Third Author}
\address{ University of Split, Faculty of Science, Ru\dj era Bo\v skovi\' ca 33, Split 21000, Croatia \\ }
\email{email@pmfst.hr}





\keywords{}
\msc{}

\maketitle


\begin{abstract}
	\lipsum[1]
\end{abstract}



\section{This is a numbered first-level section head}
This is an example of a numbered first-level heading.

\subsection{This is a numbered second-level section head}
This is an example of a numbered second-level heading.

\subsection*{This is an unnumbered second-level section head}
This is an example of an unnumbered second-level heading. \\

These are examples of definitions.
\begin{definition}
	Let $X$ be some set and $\mathcal{T}\subseteq \mathcal{P}(X)$ such that:
	\begin{itemize}
		\item[$(T1)$]$\emptyset ,X\in \mathcal{T}$;
		\item[$(T2)$]for every $U,V\in \mathcal{T}$ is $U\cap V\in \mathcal{T}$;
		\item[$(T3)$]for every set $\mathcal{U} \subseteq \mathcal{T}$ is $\bigcup \mathcal{U} \in \mathcal{T}$.
	\end{itemize}
	We say that $(X,\mathcal{T})$ is a topological space and $\mathcal{T}$ is topology on the set $X$. 
\end{definition}

\begin{definition}
	Let $X$ be topological space and $(x_{n})$ sequence in $X$. We say that $(x_{n})$ converge to the point $x_{0} \in X$ in space $X$ if
	\begin{eqnarray}
		\left( \forall V\in \mathcal{N}(x_{0})\right) \left( \exists n_{0} \in \mathbb{N} \right) \left( \forall n\in \mathbb{N} \right) \left( n\geq n_{0} \longrightarrow x_{n} \in V\right) \, .
	\end{eqnarray}  
\end{definition}

\begin{example}
	If $X$ is a set and $$\mathcal{K}=\left\lbrace Y:Y\subseteq X \, \wedge \, \mathrm{card} \left( Y\right) <\aleph _{0} \right\rbrace \cup \left\lbrace \emptyset \right\rbrace ,$$ then $\mathcal{K}$ is a topology on the set $X$. We call $\mathcal{K}$ cofinite topology on the set $X$.
\end{example}

This is an example of a theorem.
\begin{theorem}\label{TmMetrizableSeparable}
	Every metrizable space is separable if and only if is second countable.
\end{theorem}

This is an example of a theorem with a parenthetical note in the
heading.
\begin{theorem}[Tietze teorem]
	Let $X$ be normal space, $A\subseteq X$ closed subset of $X$ and $f:A\to \left[ 0,1\right] $ continous map. Then there exists a continous map $F:X\to \left[ 0,1\right] $ such that $F|_{A}=f$.
\end{theorem}

This is an example of a proposition.
\begin{prop}
	Every metrizable space is normal.
\end{prop}

This is an example of a lemma.
\begin{lemma}
	Every subspace of metrizable separable space is separable.
\end{lemma}

This is an example of a proof.
\begin{proof}
	Let $X$ be some metrizable separable space and $Y\subseteq X$ some subspace of $X$. Space $X$ is second countable (Theorem \ref{TmMetrizableSeparable}). Let $\mathcal{B}$ be some countable or finite base of $X$. It is easy to see that $\mathcal{B}_{Y}=\left\lbrace B\cap Y:B\in \mathcal{B}\right\rbrace $ is countable or finite base of $Y$. We proved that $Y$ is second countable, which proves that $Y$ is separable.
\end{proof}

This is an example of a remark.
\begin{remark}
	In further text we will consider only metrizable spaces.
\end{remark}

This is an example of a cite. See \cite{Mard}.

\section{Examples of figures}

\begin{figure}[!h]
	\centering
	$$\begin{tikzcd}[row sep=large, column sep=large]
		\mathcal{K}_{1}(X) \arrow[rr, bend left=30, "\exists ! \, h"] \arrow[r, "f"] & \mathcal{K}_{2}(X) \arrow[r, "g"] & \mathcal{K}_{1}(X) \\
		& X \arrow[lu, "i_{1}"] \arrow[u, "i_{2}"] \arrow[ru, "i_{1}"] &
	\end{tikzcd}$$
	\caption{This is an example of a commutative diagram in the package \textit{tikz-cd}.}
\end{figure}

\begin{figure}[!h]
	\centering
	\begin{tikzpicture}
		\draw[very thin,blue!20!white] (0,0) grid (8,8);
		\draw[thick,blue!50!white,<->] (0,4) -- (8,4);
		\draw[thick,blue!50!white,<->] (4,0) -- (4,8);
		\draw[very thick,red,->] (0,0) -- (1,0);
		\draw[very thick,red,->] (1,1) -- (2,1);
		\draw[very thick,red,->] (2,2) -- (3,2);
		\draw[very thick,red,->] (3,3) -- (4,3);
		\draw[very thick,red,->] (4,4) -- (5,4);
		\draw[very thick,red,->] (5,5) -- (6,5);
		\draw[very thick,red,->] (6,6) -- (7,6);
		\draw[very thick,red,->] (7,7) -- (8,7);
		\draw[very thick,green,<-] (0,1) -- (1,1);
		\draw[very thick,green,<-] (1,2) -- (2,2);
		\draw[very thick,green,<-] (2,3) -- (3,3);
		\draw[very thick,green,<-] (3,4) -- (4,4);
		\draw[very thick,green,<-] (4,5) -- (5,5);
		\draw[very thick,green,<-] (5,6) -- (6,6);
		\draw[very thick,green,<-] (6,7) -- (7,7);
		\draw[very thick,green,<-] (7,8) -- (8,8);
		\draw (3,4) node[text=blue,below left]{$-1$} (4,4) node[text=blue,below left]{$0$} (5,4) node[text=blue,below right]{$1$} (4,3) node[text=blue,below right]{$-1$} (4,5) node[text=blue,above left]{$1$};
	\end{tikzpicture}
	\caption{This is an example of a picture in the package \textit{tikz}.}
\end{figure}

\section{Some more list types}

This is an example of a bulleted list. Let $X,Y$ be topological spaces and $f:X\to Y$ continous bijection. Then folowing claims are equivalent. 
\begin{itemize}
	\item $f$ is open map.
	\item $f$ is closed map.
\end{itemize}

This is an example of a description list. Let $X$ be a $T_{1}$-space. We say that $X$ is
\begin{description}
	\item[regular] if for every point $x\in X$ and every nonempty, closed subset $A\subseteq X$ such that $x\notin A$ there exist open sets $U$ and $V$ such that $x\in U$, $A\subseteq V$ and $U\cap V=\emptyset$.  
	\item[normal] if for every nonempty, closed subsets $A,B\subseteq X$ such that $A\cap B=\emptyset $ there exist open sets $U$ and $V$ such that $A\subseteq U$, $B\subseteq V$ and $U\cap V=\emptyset$.
\end{description}

%\addresses{}


\bibliographystyle{amsplain}
\begin{thebibliography}{10}
	
	\bibitem {DujeJadr} A. Dujella, B. Jadrijevi\' c, \textit{ A family of quartic Thue inequalities},
	Acta Arithmetica, \textbf{101} (2002); 159-170
	
	\bibitem{Klar-Bak}  U. S. Kirmaci, M. Klari\v ci\' c Bakula, M. E. Ozdemir, J. Pe\v cari\' c, \textit{Hadamard-type inequalities for s-convex functions}, Applied Mathematics and Computation, \textbf{193} (2007); 26-35
	
	\bibitem {Koc-Bil} N. Kocei\'c-Bilan, \textit{The coarse shape groups}, Topology and Its Applications,
	\textbf{157} (2010); 894-901 
	
	\bibitem {Vuk} D. Vuki\v cevi\' c, B. Furtula, \textit{Topological index based on the ratios of geometrical and arithmetical means of end-vertex degrees of edges}, Journal of mathematical chemistry, \textbf{46} (2009); 1369-1376  
	
	\bibitem{Mard}{S.~Marde\v{s}i\'{c} and J.~Segal,}
	\textit{Shape Theory}, North-Holland, Amsterdam, 1982.
	
\end{thebibliography}

\end{document}