اینا کامندهای من هستش. ببینید درسته؟
\documentclass[openany]{book}
\usepackage{graphicx}
\usepackage{hyperref}
\usepackage[onehalfspacing]{setspace}
\usepackage{fancyhdr}
\pagestyle{fancy}
\fancyhead[OL,ER]{\thepage}
\fancyhead[EL]{\leftmark}
\fancyhead[OR]{\rightmark}
\usepackage{geometry}\geometry{left=42.5mm,right=42.5mm, top=54.5mm,bottom=53.5mm}
\usepackage{amsthm,amssymb,amsmath}
\usepackage{lastpage}
\usepackage{tocbibind}
\usepackage{xepersian}
\settextfont[Scale=1.1]{B Nazanin}
\setdigitfont[Scale=1.1]{B Nazanin}
\graphicspath{{images/}}
\cfoot{}
\linespread{2}
\newcommand\persiangloss[2]{#1\dotfill\lr{#2}\\}
\newcommand\englishgloss[2]{#2\dotfill\lr{#1}\\}
\newtheorem{definition}{تعریف}[section]
\newtheorem{theorem}[definition]{قضیه}
\newtheorem{lemma}[definition]{لم}
\newtheorem{proposition}[definition]{گزاره}
\newtheorem{corollary}[definition]{نتیجه}
\newtheorem{remark}[definition]{ملاحظه}
\newtheorem{claim}[definition]{ادعا}
\newtheorem{point}[definition]{نکته}
\newtheorem{problem}[definition]{سوال}
\newtheorem{note}[definition]{توجه}
\newtheorem{ex}[definition]{مثال}
\newtheorem{pr}[definition]{حل}
\renewcommand{\baselinestretch}{1.9}
\defpersianfont\nastaliq[Scale=1]{B Nazanin}
\begin{document}
\input{jeld_info}
\include{abstract_fa}
\pagenumbering{harfi}
\tableofcontents
\include{pishgoftar}
\doublespacing
\include{chapI}
\include{chapII}
\include{chapIII}
\include{chapIV}
\include{chapV}
\include{chapVI}
\singlespacing
\newpage
}
\end{document}