\usepackage[all]{xy} \usepackage{amsmath,amsthm,amssymb,graphicx,tikz,fancyhdr,hyperref,natbib} \usepackage{graphicx,hyperref,fancyhdr,amsmath,amssymb,mathrsfs,color,xspace,pdflscape} %%%%%%%%%%%%%%%%%%%% دستور رنگی کردن لینک‌ها %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% \hypersetup{colorlinks=true,linkcolor=red,citecolor=blue,filecolor=magneta,urlcolor=cyan} \usepackage{fancyhdr} \usepackage{geometry} \geometry{verbose,a4paper, tmargin=3cm, bmargin=2.5cm, lmargin=3cm, rmargin=3cm, footskip=1.5cm} \usepackage{xepersian} \settextfont[Scale=1]{XB Niloofar} \setdigitfont[Scale=1.1]{XB Niloofar} \setlatintextfont{Times New Roman} \linespread{1.8} \newtheorem{dfn}{تعریف}[section] \newtheorem{thm}[dfn]{قضیه} \newtheorem{pro}[dfn]{گزاره} \newtheorem{rem}[dfn]{توجه} \newtheorem{lem}[dfn]{لم} \newtheorem{cor}[dfn]{نتیجه} \newtheorem{eg}[dfn]{مثال} \newtheorem{qu}[dfn]{سوال} \newtheorem{con}[dfn]{ساخت} \newtheorem{alg}{الگوریتم} \renewenvironment{proof}{\noindent{\bf اثبات. } \rm } {\hfill{$\Box$}\\} \renewcommand{\bibname}{مراجع} \fancyhead[RE]{\thepage} \fancyhead[LO]{\thepage} \fancyfoot{\empty} \pagestyle{fancy} \newcommand{\Lfootnote}[1]{\hspace{-1mm}\LTRfootnote{\rm #1}~} \numberwithin{equation}{section}