\documentclass[a4paper, 12pt, openany,  oneside, arshad, Kash
ida, %ABproject,
ABpages%
, ABfig, ABdiag, ABgraph, ABalg, ABprog, ABtab
]{ABThesis}

%\newtheoremstyle{corollary}[theorem]{نتیجه}
%\newtheoremstyle{remark}[theoram]{تبصره}
%\newtheoremstyle{definition}[theorem]{تعریف}
%\newtheoremstyle{lemma}[theorem]{لم}
%\newtheoremstyle{proposition}[theorem]{گزاره}


\begin{document}



%\cite{10}

\ifABpages
\include{options}‮
\besm{besm}
\ftitle
\specifications
\declaration
\presentation{1}{اگر می‌خواهید خودتان صفحه تقدیم را بنویسید، عدد 1 دستور presention را 2 کنید و همین‌جا متن مورد نظرتان را وارد کنید.}
%\praise{1}{اگر می‌خواهید خودتان صفحه ستایش را بنویسید، عدد 1 دستور praise را 2 کنید و همین‌جا متن مورد نظرتان را وارد کنید.}
\thanks{1}{اگر می‌خواهید خودتان صفحه سپاس‌گذاری را بنویسید، عدد 1 دستور thanks را 2 کنید و همین‌جا متن مورد نظرتان را وارد کنید.}‮‮
\include{tos}
\else\relax\fi












\pagestyle{fancy}
%\cfoot{\thepage}
\markboth{}{}
\pagenumbering{arabic}
\baselineskip=.75cm
\renewcommand{\baselinestretch}{1.9}\normalsize
\tableofcontents



\ifABpages
%\listoftables
%\listoffigures		
\if@ABalg
\addcontentsline{toc}{chapter}{فهرست الگوریتم‌ها}\listofalgorithms
\else\relax\fi
\else\relax\fi





\pagestyle{fancy}
\abovedisplayshortskip=10pt
\belowdisplayshortskip=10pt
\abovedisplayskip=0pt
\belowdisplayskip=0pt



%\certificate{شناسه مجری}{صفحات مربوطه}{ایرادات مطرحه از طرف مجری}{اسم و شناسه مشتری}



‮
\include{pf}
\include{c1}%install
\include{c2}%pre
\include{c3}%packages
\include{c4}%xindy
\include{c5}













\ifABpages
\appendix
\include{appendix}
{\small
% در اینجا می‌توانید سبک‌های مختلف را گذاشته و تفاوت خروجی را ببینید
\bibliographystyle{plain-fa}

%\bibliography{refs}
}

\include{refs}

\phantomsection
\glossarystyle{mylistFa}
\printglossary[type=persian]
\onecolumn{ }
\label{lastpage}

% دقت کنید که این نمایه براساس حروف انگلیسی هم قابل مرتب شدن است، و آن‌ را به عنوان نمایه و واژه‌نامه به طور همزمان نیز می‌توان به کار برد.
\renewcommand\glossaryname{نمایه}
\glossarystyle{list}
\addcontentsline{toc}{chapter}{نمایه}
\printglossary‮

%\twocolumn{ }
\glossarystyle{mylistEn}
\printglossary[type=english]



\renewcommand{\baselinestretch}{1}\normalsize
\lSpecifications
\lTitle
\else\relax\fi

\end{document}



