\documentclass[12pt]{book} 

%\usepackage[small]{caption}
\usepackage{graphicx,fancyhdr,color,xspace,amsmath,amssymb,hyperref,xepersian,geometry,listofsymbols}

\geometry{verbose,a4paper, tmargin=3cm, bmargin=2.5cm, lmargin=2.5cm, rmargin=4cm}
%\geometry{a4paper, tmargin=2.21cm, bmargin=2cm, lmargin=2.12cm, rmargin=3.72cm, footskip=1.55cm}
\renewcommand{\baselinestretch}{1.9} 

%\settextfont[Scale=1.1]{XB Yas}
\settextfont[Scale=1.1]{B Nazanin}
\setlatintextfont{Times New Roman} 
\setdigitfont{Yas}

\newtheorem{definition}{تعریف}[section]
\newtheorem{theorem}[definition]{قضیه}
\newtheorem{lemma}[definition]{لم}
\newtheorem{proposition}[definition]{گزاره}
\newtheorem{observation}[definition]{مشاهده}
\newtheorem{corollary}[definition]{نتیجه}
\newtheorem{remark}[definition]{ملاحظه}
\newtheorem{example}[definition]{مثال}
\newtheorem{suppose}[definition]{فرضیات}
\newtheorem{deff}[definition]{تعریف}


%\renewcommand\proofname{\textbf{برهان}}
\newenvironment{proof}{{\bf اثبات. } \rm }{\hfill{$\Box$}\\}
\renewcommand{\theequation}{\thechapter-\rl{\arabic{equation}}}
\renewcommand{\thetable}{\thechapter-\rl{\arabic{table}}}
%\renewcommand\listsymbolname{\textbf{نماد ها}}


% دستوری برای تعریف واژه‌نامه انگلیسی به فارسی
\newcommand\persiangloss[2]{#1\dotfill\lr{#2}\\}
% دستوری برای تعریف واژه‌نامه فارسی به انگلیسی 
\newcommand\englishgloss[2]{#2\dotfill\lr{#1}\\}
% دستوری برای نمادهای مورد استفاده شده در پایان نامه




\def\addsymbol #1:#2#3{$#1$ \> \parbox{5in}{#2 \dotfill \pageref{#3}}\\} 
\def\symboldisplay#1{\label{#1}} 
\newfontinstance\nass[Script=Arabic,Scale=1.4,Mapping=parsidigits]{IranNastaliq}
\newfontinstance\nas[Script=Arabic,Scale=2,Mapping=parsidigits]{IranNastaliq}