\documentclass[a4paper,twoside,11pt]{article}

% A lapméret beállítása {jobb} {bal} {alsó}{felső}
\usepackage{anysize} 
\marginsize{2cm}{2cm}{1cm}{1cm}

%Ams fontok definiálása
\usepackage[centertags]{amsmath}
\usepackage{amsfonts}
\usepackage{amssymb}
\usepackage{amsthm}
\usepackage{newlfont}

% Ariel betűtipus beállítása
\renewcommand{\rmdefault}{phv} % Arial
\renewcommand{\sfdefault}{phv} % Arial

%Kép beillesztése
\usepackage{psfrag}
\usepackage{graphics}
\usepackage[dvips]{graphicx}

%Táblázat

\usepackage{tabularx}
\usepackage{array}
\usepackage{float}

\sloppy
%\frenchspacing

%Betűk kódolása, magyar szöveg írása. A magyar babelt engedélyezni kell, hogy a fejezetek, stb magyar stílusú legyen 
\usepackage[latin2]{inputenc}
\usepackage{t1enc}
\usepackage[T1]{fontenc}
\def\magyarOptions{defaults=prettiest}
%\usepackage[magyar]{babel}
\usepackage{indentfirst}

%Fejléc, lábléc beállítása

\usepackage{fancyhdr}
\pagestyle{fancy}
\fancypagestyle{plain}{%
\fancyhf{} % clear all header and footer fields
\fancyhead[L]{ \vspace{-2mm}\small{ Gradus Vol 3, No 1 (2016)  \\ ISSN  \vspace{1mm} \rule{1mm}{0pt}   }}
\fancyhead[R]{\vspace{-2mm} \includegraphics[width=8cm]{gradus} }
\fancyfoot[LE, RO]{\thepage}
\renewcommand{\headrulewidth}{0 pt}
\renewcommand{\footrulewidth}{0.5pt}}

\fancyhead{}
\fancyhead[CO]{\footnotesize{Title of the paper}}
\fancyhead[CE]{ \footnotesize{First A. Author}}
\fancyfoot{}
\fancyfoot[LE, RO]{\thepage}
\renewcommand{\headrulewidth}{0.5pt}
\renewcommand{\footrulewidth}{0.5pt}

%Címformátum megváltoztatása
\usepackage{titling}
\setlength{\droptitle}{-1.2cm}

\let\savedTitle=\title
\renewcommand{\title}[1]{\savedTitle{\textbf{\LARGE{#1}}}}

\let\savedauthor=\author
\renewcommand{\author}[1]{\savedauthor{\emph{\normalsize{#1}}}}

\newcommand{\address}[1]{\date{\small{#1}}}


%Kulcsszavak, absztrakt formátuma 
\newcommand{\grdesctitle}[1]{
{\small{\textbf{\emph{#1}}}}}

\newcommand{\grkeyword}[1]{
{\small{#1}}
}
\newcommand{\keywords}[1]{
{\small{#1}}
}

\renewcommand{\abstract}[1]{
{\emph{#1}}
}

\newcommand{\grminipage}[2]{\vspace{-8mm}
\noindent \rule{54mm}{.4pt} \rule{4mm}{0pt} \rule{109mm}{.4pt}
\begin{minipage}[t]{54mm} 
\grdesctitle{Keywords:} \newline
{#1}
\vspace{2mm}

\grdesctitle{Article history:} \newline
{\grkeyword{
Received

Revised

Accepted}}
\end{minipage}
\begin{minipage}[t]{6mm} 

\end{minipage}
\begin{minipage}[t]{110mm} 
\grdesctitle{Abstract} \newline
{#2}
\end{minipage}
\rule{54mm}{.4pt} \rule{4mm}{0pt} \rule{109mm}{.4pt}
}

%Táblázat fejléce
\newcommand{\grtableheading}[1]{
\multicolumn{1}{|c|}{\small{\emph{#1}}}
}

\newcommand{\grtabletext}[1]{
\small{#1}
}

% Matematikai mód újradefiniálása sorszámozottra
\DeclareRobustCommand{\[}{\begin{equation}}
\DeclareRobustCommand{\]}{\end{equation}}


%kép, táblázat feliratának megváltoztatása
\usepackage{caption}
\captionsetup[figure]{labelformat=simple, labelsep=period}
\captionsetup[figure]{labelfont=it,textfont={it}}

\captionsetup[table]{labelformat=simple, labelsep=period}
\captionsetup[table]{labelfont=it,textfont={it}}


\usepackage{titlesec}

\titleformat*{\section}{\Large\bfseries}
\titleformat*{\subsection}{\large\bfseries}
\titleformat*{\subsubsection}{\normalsize\bfseries}

\begin{document}


\title{TITLE OF THE PAPER}

\author{First A. Author$^\text{1}$\thanks{Corresponding author. Tel.: +36 123 456 789; fax: +36 987 654 321 \newline E-mail address: f.a.author@institu.te}, Second B. Author$^\text{2}$ and Third C. Author$^\text{1}$}

\address{$^\text{1}$Department of Information Technologies, Faculty of Mechanical Engineering and Automation, Kecskemét College, Hungary \\$^\text{2}$University of Applied Sciences of Slavonski Brod, Slavonski Brod}
\maketitle

\grminipage
{\keywords{Please do provide up to 5 keywords (1 in each row)}}
{\abstract{In a few sentences, the author(s) shoud write the aims of the paper. Please use only the abstract command.}}


\section{Introduction}

The paper should be up to 6 pages, written in styles defined by this template. Please use file sablon.tex.
Save the document and name it with the first author's family name and a short form of the title (e.g., SmithTitleOfMyPaper.pdf)

\section{Titles and subtitles}

Heading titles at first, second, and third level are accepted. Please use only the \verb+\section,+ \verb+\subsection, \subsubsection+ commands.

\subsection{ Suggested heading titles at first level}
Suggested heading titles at first level are: Introduction; Method; Results; Discussion; Conclusions.

\section{Tables and equations}
Tables should be inserted into the text just after the sentence where they are mentioned and referenced (Table 1) for the first time. Please use only  predefined \verb+\caption+, \verb+\grtableheading+, \verb+\grtabletext+ command.

\begin{table}[H]
\caption{Title of the table}
\begin{tabularx}{\linewidth}{|X|X|X|}
\hline
\grtableheading{Table heading} & \grtableheading{Table heading} & \grtableheading{Table heading}  \\
\hline
\grtabletext{Table text} & \grtabletext{Table text} & \grtabletext{Table text}  \\
\hline
\end{tabularx}
\end{table}

Equations are centered and should be numbered for reference. The numbers should be enclosed in parentheses and set on the right margin (right aligned). Please do not include section counters in the equation numbering. Please use \verb+\[+ and \verb+\]+ commands.
\[
x^2 y^2+Ax_2-2Bxy=0
\]

\section{Figures}

Figures should be inserted into the text just after the sentence where they are mentioned and referenced (Figure 1) for the first time. The figure caption should be placed under the figure and centered. Please use  \verb+\caption+ command.

\begin{figure}[H]
\includegraphics[width=16cm]{gradus}
\caption{Title of the table}
\end{figure}

\section*{Acknowledgement}

Acknowledgment(s) (if any) should be  before references. Please use the \verb+\section*{Acknowledgement}+  for the title of this section.
\newpage

Format your citation and references according to Engineering Management style available at Zotero Style Repository \cite{zot}. Please use this format.
	

\begin{thebibliography}{30}



\bibitem{zot}  "Zotero Style Repository", Roy Rosenzweig Center for History and New Media. [Online]. Available: http://www.zotero.org/styles. [Accessed: 19-Mar-2014].


\end{thebibliography}

\end{document}


