\documentclass[a4paper,12pt]{report}
\usepackage{cite}
\usepackage{tabu}
\usepackage{color, colortbl}
\usepackage{dingbat}
\usepackage{amssymb,amsmath,amsthm,latexsym,amscd,amsfonts}
\usepackage{graphicx} % inserting images
%\usepackage{lipsum}
\usepackage{hyperref} % PDF links
\usepackage{setspace} % for switching between double/single space in document
\usepackage{fancyhdr} % package for changing Headings style
% setting the margins of page
\usepackage[top=3cm,right=3cm,bottom=2.5cm,left=2.5cm]{geometry}  
\usepackage[nottoc]{tocbibind}     
%\setcounter{footnote}{-1}
%\usepackage{zref-perpage}                 
\usepackage{xepersian}
\usepackage{perpage}
\MakePerPage{footnote}
%\zmakeperpage{footnote}
\usepackage{mathtools}
\usepackage{relsize}
\usepackage{array}
\usepackage{amsthm}
\usepackage{amsmath}
\usepackage{amssymb}
\usepackage{stackrel}
\usepackage{graphicx}

\definecolor{LightCyan}{rgb}{0.88,1,1}
%\usepackage[first=0,last=9]{lcg}
%\newcommand{\ra}{\rand0.\arabic{rand}}




\DefaultMathsDigits



\newcommand{\ket}[1]{|#1\rangle}
\newcommand{\bra}[1]{\langle#1|}
\newcommand{\ketbra}[2]{|#1\rangle\langle#2|}
\newcommand{\braket}[2]{\langle#1|#2\rangle}
\newcommand{\ketbraa}[1]{|#1\rangle\langle#1|}
\def\NP{{\text{\lr{NP}}}}
\def\qq{{$''$}}
\def\tr{{\text{\lr{tr}}}}
\def\T{{\text{\lr{T}}}}


 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%   
%\usepackage{xepersian}% commands related to XePersian package
%\usepackage{ftnxtra}
%\settextfont[Scale=1.2]{B Nazanin}
%\setdigitfont[Scale=1]{XB Zar}
%\setlatintextfont[Scale=1]{XB Zar}
\renewcommand{\bibname}{مرجع‌ها}

%_________________________________________________________________________________
%((((((((((((((((((((((((((((((((((((((((((((((((((((((()))))))))))))))))))))))))))))))))))))))))))))))))))))))
\theoremstyle{definition}
\newtheorem{theorem}{قضیه}
\newtheorem{lemma}{لم}
\newtheorem{remark}{توجه}
\newtheorem{col}{گزاره}

      \newtheorem{statement}{\lr{A}}
%((((((((((((((((((((((((((((((((((((((()))))))))))))))))))))))))))))))))))))))
%____________________

\setdigitfont{Yas}
% tell tex engine address of folder containing your pictures
\graphicspath{{images/}}

% commands to print the page number in header
\pagestyle{fancy}
\cfoot{}
\lhead{\thepage}

% commands related to XePersian package
\settextfont[Scale=1.1]{XB Niloofar}
%\setdigitfont{XB Zar}
%\setlatintextfont{LinLibertine}
% -------------------------------------

\input{jeld_info}
%\renewcommand{\maketitle}{\oldmaketitle\setcounter{footnote}{0}}
%\setcounter{footnote}{0}
\renewcommand{\listfigurename}{فهرست شکل‌ها}
\begin{document}
\include{cover_fa}
\include{Besmellah}
%\include{taeid}
%\include{Tashakor}
\pagenumbering{harfi}
\doublespacing
\include{abstract_fa}
\singlespacing
%\pagenumbering{harfi}
\tableofcontents
\listoffigures
%\listoftables
\include{abbreviation}
\pagenumbering{arabic}

% insert each of your chapters with a \inlcude{filename} command as below
\doublespacing
%\include{chap1}
%\include{chap2}
%\include{chap3}
%\include{chap4}

\include{Introduc}

%\include{Proposal}	
% -----------------------------------------------------------------------

% If do not have appendix then comment following 3 lines
\appendix
\include{peyvast1}
%\include{peyvast2}
% -------------------------------------------------------

\singlespacing
%\begin{latin}
%\bibliographystyle{ieeetr}
%\bibliography{references}
%\end{latin}
\setLTRbibitems
\makeatletter
\bidi@AtBeginEnvironment{thebibliography}{\latinfont}
\makeatother
\bibliographystyle{ieeetr} % such as plain
\bibliography{references_me} %such as MyReferences
\doublespacing
\include{abstract_en}
\singlespacing
\include{cover_en}
\end{document}
