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



%\usepackage[pagebackref=false, colorlinks, linkcolor=blue, citecolor=magenta]{hyperref} 
%\hypersetup{pdfmenubar=true, pdfstartview=FitH, pdfpagemode=FullScreen,colorlinks=true,linkcolor=blue, anchorcolor=green, citecolor=magenta, urlcolor=cyan, filecolor=magenta, pdftoolbar=true, pdfpagemode=UseOutlines}
%\usepackage{amsfonts,amssymb,amscd,amsmath,enumerate,verbatim,calc}
%\usepackage{graphicx}
%\usepackage[usenames,dvipsnames]{pstricks}
%\usepackage{epsfig}
%\usepackage{pst-grad} % For gradients
%\usepackage{pst-plot} % For axes
%\usepackage{pst-node}
%\usepackage{pst-tree}
%\usepackage{tikz}
%\usetikzlibrary{shapes, arrows}
%\usepackage{tkz-graph}
%\usepackage{tkz-berge}
%\usepackage[all]{xy}
%\graphicspath{{fig/}}
%\usepackage{subfig}
%\newtheorem{theorem}{Theorem}[section]
%\newtheorem{lemma}[theorem]{Lemma}
%\newtheorem{notice}[theorem]{Note}
%\newtheorem{proposition}[theorem]{Proposition}
%\newtheorem{corollary}[theorem]{Corollary}
%\theoremstyle{definition}
%\theoremstyle{definitions}
%\newtheorem{definition}[theorem]{Definition}
%\newtheorem{definitions}[theorem]{Definitions}
%\newtheorem{remarks}[theorem]{Remarks}
%\newtheorem{remark}[theorem]{Remark}
%\theoremstyle{notations}
%\newtheorem{notations}[theorem]{Notations}
%\newtheorem{example}[theorem]{Example}
%\theoremstyle{remarks}
%\newtheorem{notation}[theorem]{Notation}
%\newtheorem{acknowledgement}{Acknowledgement}
%\renewcommand{\theacknowledgement}{}
%\newcommand{\T}{\mathrm}
%\newcommand{\e}{\epsilon}
%\newcommand{\N}{\mathbb{N}}
%\newcommand{\Q}{\mathbb{Q}}
%\newcommand{\Z}{\mathbb{Z}}
%\newcommand{\F}{\mathbb{F}}
%\newcommand{\st}{\stackrel}
%\newcommand{\sub}{\subseteq}
%\newcommand{\noi}{\noindent}
%\newcommand{\ov}{\overline}
%\newcommand{\un}{\underline}
%\newcommand{\bac}{\backslash}
%\newcommand{\rg}{\rightarrow}
%\newcommand{\lo}{\longrightarrow}
%\newcommand{\D}{\displaystyle}
%\newcommand{\fa}{\frak{a}}
%\newcommand{\fc}{\frak{c}}
%\newcommand{\fb}{\frak{b}}
%\newcommand{\fm}{\frak{m}}
%\newcommand{\fp}{\frak{p}}
%\newcommand{\fq}{\frak{q}}
%%\newcommand{\fi}{\frak{i}}
%\newcommand{\s}{\mathcal{S}}
%\newcommand{\para}{\paragraph}


\begin{document}


%\include{1}



\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.5}\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













\ifABpages
\appendix
%\include{appendix}
{\small
\bibliographystyle{acm-fa}
%\bibliography{refs}
}
\include{refs}

\phantomsection
\glossarystyle{mylistFa}
\printglossary[type=persian]
\onecolumn{ }
\label{lastpage}
%\newcommand\englishgloss[2]{#2\dotfill\lr{#1}\\}
%\include{en}

%\newcommand\persiangloss[2]{#1\dotfill\lr{#2}\\}
%\include{per}

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

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



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










\pagebreak
\thispagestyle{empty}



\include{per}

\end{document}