در توضیح بخش ۱:
بسته ها وفرامین فایل command بنده:
\usepackage{mathtools}
\usepackage{amsfonts}
\usepackage{amsthm,amssymb,amsmath}
\usepackage[top=40mm, bottom=40mm, left=25mm, right=35mm]{geometry}
\usepackage{graphicx}
\usepackage{caption}
\usepackage{subcaption}
\usepackage{booktabs}
\usepackage{lscape}
\usepackage{multirow}
\usepackage{tabularx}
\usepackage{natbib}
\usepackage{setspace}
\usepackage{tikz}
\usepackage{soul,xcolor}
\setstcolor{red}
\renewcommand{\baselinestretch}{1.5}\\
\usepackage{framed}
\usepackage{lastpage}
%\usepackage[pagebackref=false,colorlinks,linkcolor=blue,citecolor=magenta]{hyperref}
\usepackage[linktocpage=true,pagebackref=true,colorlinks,linkcolor=blue,filecolor=green,urlcolor=magenta ,citecolor=blue]{hyperref}
%\usepackage[pagebackref=false]{hyperref}
\usepackage{fancyhdr}
\usepackage[nottoc]{tocbibind}
\usepackage{makeidx}
\makeindex
\usepackage[extrafootnotefeatures]{xepersian}
\settextfont[Scale=1.1]{XB Niloofar}
\setdigitfont[Scale=1.1]{Persian Modern}
\newcommand{\mybox}[1]{\tikz{ \node [draw, fill=gray!10, rounded corners=4pt]{\setRTL\parbox{\textwidth}{#1}};}}
\defpersianfont\nastaliq[Scale=2]{IranNastaliq}
\defpersianfont\chapternumber[Scale=3]{XB Niloofar}
\renewcommand{\abstractname}{}
\renewcommand{\latinabstract}{}
\renewcommand\proofname{\textbf{برهان}}
\renewcommand{\bibname}{مراجع}
\newcommand\persiangloss[2]{#1\dotfill\lr{#2}\\}
\newcommand\englishgloss[2]{#2\dotfill\lr{#1}\\}
\newcommand{\پ}{پروژه/پایاننامه/رساله }
\theoremstyle{definition}
\newtheorem{definition}{تعریف}[section]
\theoremstyle{theorem}
\newtheorem{theorem}[definition]{قضیه}
\newtheorem{lemma}[definition]{لم}
\newtheorem{proposition}[definition]{گزاره}
\newtheorem{corollary}[definition]{نتیجه}
\newtheorem{remark}[definition]{ملاحظه}
\theoremstyle{definition}
\newtheorem{example}[definition]{مثال}
\csname@twosidetrue\endcsname
\pagestyle{fancy}
\fancyhf{}
\fancyhead[OL,EL]{\thepage}
\fancyhead[OR]{\small\rightmark}
\fancyhead[ER]{\small\leftmark}
\renewcommand{\chaptermark}[1]{%
\markboth{\thechapter.\ #1}{}}
\makeatletter
\footmarkstyle{\textsuperscript{\if@RTL\else\latinfont\fi#1}}
\makeatother
\twocolumnfootnotes
\makeatletter
\newcommand\mycustomraggedright{%
\if@RTL\raggedleft%
\else\raggedright%
\fi}
\def\@part[#1]#2{%
\ifnum \c@secnumdepth >-2\relax
\refstepcounter{part}%
\addcontentsline{toc}{part}{\thepart\hspace{1em}#1}%
\else
\addcontentsline{toc}{part}{#1}%
\fi
\markboth{}{}%
{\centering
\interlinepenalty \@M
\ifnum \c@secnumdepth >-2\relax
\huge\bfseries \partname\nobreakspace\thepart
\par
\vskip 20\p@
\fi
\Huge\bfseries #2\par}%
\@endpart}
\def\@makechapterhead#1{%
\vspace*{-30\p@}%
{\parindent \z@ \mycustomraggedright %\@mycustomfont
\ifnum \c@secnumdepth >\m@ne
\if@mainmatter
\huge\bfseries \@chapapp\space {\chapternumber\thechapter}
\par\nobreak
\vskip 20\p@
\fi
\fi
\interlinepenalty\@M
\Huge \bfseries #1\par\nobreak
\vskip 120\p@
}}
\makeatother
توسط
saeedsober
(90 امتیاز)