\documentclass[a4paper,12pt]{report}
\usepackage{fancyhdr}
%بسته‌ای برای وارد کردن عکس
\usepackage{graphicx}
\usepackage{subfigure}
%در ورژن جدید زی‌پرشین برای تایپ متن‌های ریاضی، این سه بسته، حتماً باید فراخوانی شود
\usepackage{amsthm,amssymb,amsmath}
%بسته‌ای برای تنطیم حاشیه‌های بالا، پایین، چپ و راست صفحه
\usepackage[top=30mm, bottom=30mm, left=25mm, right=25mm]{geometry}
% بسته‌ و دستوراتی برای ایجاد لینک‌های رنگی با امکان جهش
%\usep1ackage[pagebackref=true,colorlinks,linkcolor=blue,citecolor=magenta]{hyperref}
\usepackage[pagebackref=false]{hyperref}
%بسته‌ای برای ظاهر شدن «مراجع» و «نمایه» در فهرست مطالب
\usepackage{tocbibind}
%بسته‌ای برای اینکه عکس‌ها را از فولدر به خصوصی پیدا کند
\graphicspath{{images/}}
%بسته‌ای برای پانویس‌های دو ستونی
\usepackage{setspace} % for switching between double/single space in document

%\usepackage[nonamebreak,square]{natbib}%nonamebreak,numbers,
%فراخوانی بسته زی‌پرشین و دستورات مربوط به نوع فونت‌ها
\usepackage{xepersian}
\setdigitfont{Yas}
\settextfont{Nazli}
%\setlatintextfont{LinLibertine}
\setlatintextfont{Times New Roman}
\defpersianfont\nastaliq[Scale=8]{IranNastaliq}
\defpersianfont\sixteen[Scale=1.34]{Nazli}
\defpersianfont\titr[Scale=1]{Titr}
%دستوراتی برای طراحی سربرگ صفحات
\setlength{\headheight}{0.5in}
\setlength{\headwidth}{\textwidth}
\fancyhead[L]{% empty left
\includegraphics[height=0.69in]{logo2}
}
\fancyhead[R]{ % right
   \includegraphics[height=0.69in]{logo1}
}
\pagestyle{fancy}
\renewcommand{\headrulewidth}{0.0pt}

\pagestyle{fancy}
% with this we ensure that the chapter and section
% headings are in lowercase.
\renewcommand{\chaptermark}[1]{%
\markboth{#1}{}}
\renewcommand{\sectionmark}[1]{%
\markright{\thesection\ #1}}
\fancyhf{} % delete current header and footer
\fancyhead[L]{\bfseries\thepage}
\fancyhead[R]{\bfseries\rightmark}
\renewcommand{\headrulewidth}{0.5pt}
\renewcommand{\footrulewidth}{0pt}
\addtolength{\headheight}{0.5pt} % space for the rule
\fancypagestyle{plain}{%
\fancyhead{} % get rid of headers on plain pages
\renewcommand{\headrulewidth}{0pt} % and the line
}

\begin{document}

%\include{besme}

%------------------------------------------------------------------------------------------------------------------------------------------------------------
%اضافه کردن جلد فارسی
%------------------------------------------------------------------------------------------------------------------------------------------------------------
\include{cover_fa}

%------------------------------------------------------------------------------------------------------------------------------------------------------------
%اضافه کردن برگه تاییدیه پایان‌نامه
%------------------------------------------------------------------------------------------------------------------------------------------------------------
\include{taeid}

\include{tabaghehbandi}

\include{esalat}

\include{malekiat}

\include{thanks}

%------------------------------------------------------------------------------------------------------------------------------------------------------------
\pagenumbering{harfi}
%اضافه کردن چکیده فارسی
%------------------------------------------------------------------------------------------------------------------------------------------------------------
\include{abstract_fa}

%------------------------------------------------------------------------------------------------------------------------------------------------------------
%دستورات کلی برای پایان‌نامه
%------------------------------------------------------------------------------------------------------------------------------------------------------------
%دستوری برای شماره‌گذاری صفحات با استفاده از حروف
%دستوری برای قرار دادن فهررست موضوعات
\tableofcontents
%دستوری برای قرار دادن فهرت شکل‌ها
\listoffigures
%دستوری برای قرار دادن فهرست جداول
%\listoftables

%------------------------------------------------------------------------------------------------------------------------------------------------------------
%اضافه کردن فصل‌های مختلف به پایان‌نامه
%------------------------------------------------------------------------------------------------------------------------------------------------------------
\doublespacing
\include{Chapter_1}
\include{Chapter_2}
\include{Chapter_3}
\include{Chapter_4}
\include{conclusion}
\include{pishnehadat}


%------------------------------------------------------------------------------------------------------------------------------------------------------------
%اضافه کردن فهرست مراجع
%------------------------------------------------------------------------------------------------------------------------------------------------------------
\singlespacing
\bibliographystyle{unsrt-fa}
\bibliography{MyReferences}

%------------------------------------------------------------------------------------------------------------------------------------------------------------
%اضافه کردن پیوست‌ها
%------------------------------------------------------------------------------------------------------------------------------------------------------------
%این دستور باعث این می‌شود که از این پس به بعد فصل‌ها با حروف نام‌گذاری شوند.
\appendix
\include{Appendix_1}

\include{abstract_en}
\include{taeid_en}
\include{cover_en}

\end{document}
