%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%

\documentclass[a4paper,12pt]{report}
\usepackage{amsthm,amssymb,amsmath,mathrsfs}
\usepackage{xepersian}

\settextfont[Scale=1.1]{XB Zar}
\setdigitfont[Scale=1]{XB Zar}   

%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% تعریف و نحوه ظاهر شدن قضایا، لم‌ها، تعریف‌ها و ...
\theoremstyle{definition}
\newtheorem{definition}{تعریف}[section]

\theoremstyle{theorem}
\newtheorem{theorem}[definition]{قضیه}
\newtheorem{lemma}[definition]{لم}
\newtheorem{prop}[definition]{گزاره}
\newtheorem{coro}[definition]{نتیجه}
\newtheorem{remark}[definition]{ملاحظه}
\newtheorem{nok}[definition]{نکته}
\newtheorem{nok-def}[definition]{نکته و تعریف}
\newtheorem{def-nok}[definition]{تعریف و نکته}
\theoremstyle{definition}
\newtheorem{ex}[definition]{مثال}
\newtheorem{conj}[definition]{فرضیه}
\newenvironment{prof}{{\bf اثبات.}}{\hfill{$\blacksquare$}} %$\Box$
%%%%%%%%%%%%%%%%%%

%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%%%%%%%%%%%%%%%%%%%
\textheight=22cm%تنظیم طول متن   
\textwidth=14.7cm%تنظیم عرض متن 
\topmargin=-.5cm%تنظیم حاشیه بالای صفحه 
\oddsidemargin=.1cm%تنظیم حاشیه سمت چپ صفحه  
%\headsep=1cm%     فاصله متن از سر برگ   
\footskip=1.2cm% فاصله شماره صفحه از انتهای متن 
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\begin{document}
\chapter{آنالیز}
\begin{theorem}
فرض کنیم $X$ یک فضای برداری نرم‌دار  باشد. مجموعه‌ی تمام تابعک‌های خطی کراندار روی $X$ را
‌ دوگان {$X$} می‌نامیم و با نماد $X'$ نشان می‌دهیم.  مقدار تابعک خطی کراندار $x'$ در $x$ را
با $\langle x',x \rangle $نمایش می‌دهیم.  
\end{theorem}
\end{document}