Spaces:
Running
Running
\usepackage{amsthm,amssymb,amsmath,amsfonts} | |
\usepackage[a4paper, top=25mm, bottom=30mm, left=25mm, right=25mm]{geometry} | |
\usepackage[pagebackref=false,colorlinks,linkcolor=black,citecolor=black]{hyperref} | |
\usepackage[nameinlink]{cleveref} | |
\AtBeginDocument{% | |
\crefname{equation}{برابری}{equations}% | |
\crefname{chapter}{فصل}{chapters}% | |
\crefname{section}{بخش}{sections}% | |
\crefname{appendix}{پیوست}{appendices}% | |
\crefname{enumi}{مورد}{items}% | |
\crefname{footnote}{زیرنویس}{footnotes}% | |
\crefname{figure}{شکل}{figures}% | |
\crefname{table}{جدول}{tables}% | |
\crefname{theorem}{قضیه}{theorems}% | |
\crefname{lemma}{لم}{lemmas}% | |
\crefname{corollary}{نتیجه}{corollaries}% | |
\crefname{proposition}{گزاره}{propositions}% | |
\crefname{definition}{تعریف}{definitions}% | |
\crefname{result}{نتیجه}{results}% | |
\crefname{example}{مثال}{examples}% | |
\crefname{remark}{نکته}{remarks}% | |
\crefname{note}{یادداشت}{notes}% | |
\crefname{observation}{مشاهده}{observations}% | |
\crefname{algorithm}{الگوریتم}{algorithms}% | |
\crefname{cproof}{برهان}{cproofs}% | |
} | |
\usepackage{tikz} | |
\usepackage{graphicx} | |
\usepackage{color} | |
\usepackage{setspace} | |
\doublespacing | |
\usepackage{titletoc} | |
\usepackage{tocloft} | |
\usepackage{enumitem} | |
\usepackage{algorithm} | |
% \usepackage[noend]{algpseudocode} | |
\usepackage[noend]{algorithmic} | |
\renewcommand{\algorithmicrequire}{\textbf{Input:}} | |
\renewcommand{\algorithmicensure}{\textbf{Output:}} | |
\usepackage{tabularx} | |
\makeatletter | |
\newcommand{\multiline}[1]{% | |
\begin{tabularx}{\dimexpr\linewidth-\ALG@thistlm}[t]{@{}X@{}} | |
#1 | |
\end{tabularx} | |
} | |
\makeatother | |
\usepackage{float} | |
\usepackage{verbatim} | |
\makeindex | |
\usepackage{sectsty} | |
\usepackage{xepersian} | |
\SepMark{-} | |
\settextfont[Scale=1.2,Path=fonts/,BoldFont=B Nazanin Bold.ttf]{B Nazanin.ttf} | |
\setlatintextfont[Path=./fonts/, | |
BoldFont=times new roman bold.ttf, | |
ItalicFont=times new roman italic.ttf, | |
BoldItalicFont=times new roman bold italic.ttf | |
]{times new roman.ttf} | |
\renewcommand{\labelitemi}{$\bullet$} | |
\theoremstyle{definition} | |
\newtheorem{definition}{تعریف}[section] | |
\newtheorem{remark}[definition]{نکته} | |
\newtheorem{note}[definition]{یادداشت} | |
\newtheorem{example}[definition]{نمونه} | |
\newtheorem{question}[definition]{سوال} | |
\newtheorem{remember}[definition]{یاداوری} | |
\newtheorem{observation}[definition]{مشاهده} | |
\theoremstyle{theorem} | |
\newtheorem{theorem}[definition]{قضیه} | |
\newtheorem{lemma}[definition]{لم} | |
\newtheorem{proposition}[definition]{گزاره} | |
\newtheorem{corollary}[definition]{نتیجه} | |
\newtheorem*{cproof}{برهان} | |