\documentclass[12pt,oneside]{bidipresentation}
%\pagestyle{pres}

%\usepackage[colorlinks,linkcolor=link-text,setpagesize=false]{hyperref}
\usepackage[pagebackref=false,colorlinks,linkcolor=blue!70,citecolor=magenta,setpagesize=false]{hyperref}
%\usepackage{hyperref}
\usepackage{tikz}\usetikzlibrary{shapes,snakes}
\usepackage{pstricks}
\hypersetup{pdfborder={0 0 0}, colorlinks = false}
%\usepackage{eso-pic}
\usepackage{amssymb,amsmath,amssymb,amsthm}
\usepackage{sidebarbidipres}
\usepackage[extrafootnotefeatures]{xepersian}
\setdigitfont{PGaramond}
\linespread{2}
\pagestyle{pres}
\usepackage{hyperref}
%%رنگ​ها
\sidebartc{cmyk}{1,2,1,2}
\linktc{cmyk}{1,1,1,1}
\rtopbarc{cmyk}{0.94,0.56,0,0}
\ltopbarc{cmyk}{2.15,2.15,0,0}
\ltopbartc{cmyk}{2,1,1,2}
\rbotbarc{cmyk}{1.15,1.15,0,0}
\lbotbarc{cmyk}{0.94,0.54,0,0}
\lbotbartc{cmyk}{1,0,0,1}


%\settextfont{DejaVu Sans}

\settextfont[Scale=1.37]{XB Niloofar}%{Nazanin 2}
\setlatintextfont[Scale=1.0]{Times New Roman}%{XB Zar}
\setdigitfont[Scale=1.2]{PGaramond}%{Nazanin 2}
\defpersianfont\titr[Scale=1.1]{XB Zar}%{Titr Farsi}
\defpersianfont\zar[Scale=1]{XB Zar}
\defpersianfont\naz[Scale=1.37]{XB Zar}%{XB Niloofar}
\defpersianfont\nazb[Scale=1.37]{XB Zar}%{XB Niloofar}
\deflatinfont\timess[Scale=1.1]{Times New Roman}

\usepackage{graphicx}
\usepackage{mathrsfs}
\usepackage{hyperref} 
\usepackage{fancyhdr}
\usepackage{pb-diagram}
\usepackage[all]{xy}

%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% #1 عنوان کادر
%#2 متن اسلاید
%#3 عکس پس زمینه اسلاید به صورت مثلا gra.png
\tikzstyle{mybox} = [draw=blue!30, fill=none, very thick,
    rectangle, rounded corners, inner sep=10pt, inner ysep=20pt]
\tikzstyle{fancytitle} =[fill=lightgray, text=blue]
%%%%%%%%%
 \newcommand{\myslide}[3]{\begin{plainslide}
\begin{tikzpicture}\node [mybox] (box){\setRTL\begin{minipage}{0.95\textwidth}
{#2}
  \end{minipage}};\node[fancytitle, left=10pt] at (box.north east) {\hboxR{{ \Large{#1}}}};\end{tikzpicture} 
 \AddToShipoutPicture*{\put(-500,0){\includegraphics[height=\paperheight, width=194mm]{#3}}}\end{plainslide}
}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% محیط قضیه
%1 متن اسلاید
\tikzstyle{myghazye} = [draw=red!90, fill=none, very thick,
    rectangle, rounded corners, inner sep=10pt, inner ysep=20pt]
\tikzstyle{fancytitleghazye} =[fill=yellow!20, text=green]
%%%%%%%
 \newcommand{\myghazye}[1]{
\begin{tikzpicture}\node [myghazye] (box){\setRTL\begin{minipage}{0.95\textwidth}
{#1}
  \end{minipage}};\node[fancytitleghazye, left=10pt] at (box.north east) {\hboxR{{\Large{قضیه }}}};\end{tikzpicture} 
% \AddToShipoutPicture*{\put(-512,0){\includegraphics[height=\paperheight, width=194mm]}} 
}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% محیط گزاره
%1 متن اسلاید
\tikzstyle{myprop} = [draw=blue , fill=none, very thick,
    rectangle, rounded corners, inner sep=10pt, inner ysep=20pt]
\tikzstyle{fancytitleghazye} =[fill=blue!50, text=blue!100]
%%%%%%%
 \newcommand{\myprop}[1]{
\begin{tikzpicture}\node [myprop] (box){\setRTL\begin{minipage}{0.95\textwidth}
{#1}
  \end{minipage}};\node[fancytitleghazye, left=10pt] at (box.north east) {\hboxR{{\Large{گزاره }}}};\end{tikzpicture} 
% \AddToShipoutPicture*{\put(-512,0){\includegraphics[height=\paperheight, width=194mm]}} 
}

%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% محیط لم
%1 متن اسلاید
\tikzstyle{mylem} = [draw=red!80, fill=none, very thick,
    rectangle, rounded corners, inner sep=10pt, inner ysep=20pt]
    \tikzstyle{fancytitleghazye} =[fill=yellow!20, text=red]
%%%%%%%
 \newcommand{\mylem}[1]{
\begin{tikzpicture}\node [mylem] (box){\setRTL\begin{minipage}{0.95\textwidth}
{#1}
  \end{minipage}};\node[fancytitleghazye, left=10pt] at (box.north east) {\hboxR{{\Large{لم }}}};\end{tikzpicture} 
}
%%%%%%%%%%%%%%%%%%%%%%%%

% محیط نتیجه
%1 متن اسلاید
\tikzstyle{mynatije} = [draw=dark blue!100, fill=none, very thick,
    rectangle, rounded corners, inner sep=10pt, inner ysep=20pt]
\tikzstyle{fancytitlenatije} =[fill=yellow!20, text=green]
%%%%%%%
 \newcommand{\mynatije}[1]{
\begin{tikzpicture}\node [mynatije] (box){\setRTL\begin{minipage}{0.95\textwidth}
{#1}
  \end{minipage}};\node[fancytitleghazye, left=10pt] at (box.north east) {\hboxR{{\Large{نتیجه}}}};\end{tikzpicture} 
% \AddToShipoutPicture*{\put(-512,0){\includegraphics[height=\paperheight, width=194mm]}} 
}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% محیط تعریف
\tikzstyle{mytarif} = [draw=orange!100 , fill=none, very thick, rectangle, rounded corners, inner sep=10pt, inner ysep=20pt]
\tikzstyle{fancytitletarif} =[fill=yellow!45, text=orange]
%%%%%%%
 \newcommand{\mytarif}[1]{
\begin{tikzpicture}\node [mytarif] (box){\setRTL\begin{minipage}{0.95\textwidth}
{#1}
  \end{minipage}};\node[fancytitletarif, left=10pt] at (box.north east) {\hboxR{{\Large{تعریف }}}};\end{tikzpicture} 
% \AddToShipoutPicture*{\put(-512,0){\includegraphics[height=\paperheight, width=194mm]}} 
}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% محیط مثال
\tikzstyle{mymesal} = [draw=blue, fill=none, very thick,
    rectangle, rounded corners, inner sep=10pt, inner ysep=20pt]
\tikzstyle{fancytitlemesal} =[fill=blue!20, text=blue]
%%%%%%%%%
 \newcommand{\mymesal}[1]{
\begin{tikzpicture}\node [mymesal] (box){\setRTL\begin{minipage}{0.95\textwidth}
{#1}
  \end{minipage}};\node[fancytitlemesal, left=10pt] at (box.north east) {\hboxR{{\Large{مثال }}}};\end{tikzpicture} 
%\AddToShipoutPicture*{\put(-512,0){\includegraphics[height=\paperheight, width=194mm]{gra1.jpg}}}
}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%%%%%%%%%%%%%%%%%% %%%%%%%%%%%
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%


\defpersianfont\nastaliq[Scale=1.3]{IranNastaliq}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\title{ ماتریس}
\vspace{1cm}
\author{\nastaliq
\textbf{}
 \\[.3cm]\\}
\twocolumnfootnotes
\begin{document}
\usepackage{multicol}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\begin{titlepage} \label{1}
%\begin{center}
~
\AddToShipoutPicture*{\put(-160,0){\includegraphics[height=\textwidth, width=250mm]{045.jpg}}}
%height=\paperheight, width=194mm
%\newpage
%\includegraphics[width=\textwidth]{045.jpg}
%\begin{Large}
%\vspace{2cm}
%\nastaliq
%بسم الله الرحمن الرحیم\\
%\vspace{12cm}
%\nastaliq 
%به نام او که مرحمت کرد:
% «علّم الاسماء»  \hspace{40mm} و «لا یحیطون بشیء من علمه الا بما شاء»
% \AddToShipoutPicture*{\put(-420,70){\includegraphics[height=130mm, width=130mm 
%  {776px.jpg}}} 
%\end{Large}
%\end{center}
\end{titlepage}





%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%%محتویات سایدبار
\begin{staticcontents*}{sidebar}
	\hspace{9mm}\includegraphics[width=1.5cm]{logo.jpg}%
	\begin{center}
		\color{sidebar-text}
		\begin{footnotesize}
		\bfseries\makeatletter\@title\makeatother
		\vskip 0.1mm
		\rm\makeatletter\@author\makeatother
		\end{footnotesize}
	\end{center}	
	\begin{center}
		\begin{footnotesize}
\vspace{0.05cm}
	\makeatletter\@starttoc{sdb}\makeatother\begin{flushright}

		\hyperref[3]{\textbf{تمیز قوی}}
\vspace{0.1cm}
\\
	    \hyperref[27]{\textbf{
	    } }
	    \\
\vspace{0.1cm}
       \hyperref[49]{\textbf{توسیع}‌}
       \\
       \vspace{0.1cm}

       \hyperref[49]{\textbf{}‌}
\end{flushright}
\end{footnotesize}	
\vspace{0.3cm}
	\end{center}
\end{staticcontents*}


%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\begin{plainslide} 
\AddToShipoutPicture*{%\put(-512,0)
\put(-240,0)
{{\includegraphics[keepaspectratio=false,height=\paperheight
 ,width=400mm]{gra4.jpg}}}%\reflectbox 512
}
%\AddToShipoutPicture*{%
%\put(120,0){\includegraphics[angle=180,keepaspectratio=false,height=\paperheight ,width=130mm]{side2.jpg}}%
%}
\centering% \LARGE
سمینار کارشناسی‌ارشد ریاضی محض
\\[10mm]
\color{blue!80}{\huge\titr{\makeatletter\@title\makeatother}}

\distance{2}
\color{black}\rm\large
\makeatletter\@author\makeatother\\[1ex]دانشگاه شاهد
\distance{2}
%\tableofcontents
\end{plainslide}
 
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%\begin{titlepage}
%\end{titlepage}
\section{مقدمه}
\begin{center}
\begin{Huge}
%\vspace{10cm}
\nastaliq \\
\color {white}{\huge{
\\
مقدمه} 
}

\vspace{1cm}
\mbox{}
\color{white}\textbf{}
\end{Huge}
\AddToShipoutPicture*{
\put(-150,0){{\includegraphics[keepaspectratio=false,height=\paperheight ,width=250mm]{gra1.png}}}%\reflectbox 512
} 
\end{center}
\begin{plainslide}
\end{plainslide}
%%%%%%%%%%%%%%%%%%

\myslide{\textbf{مقدمه}}{
 }{gra.jpg}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\section{}
\begin{center}
\begin{Huge}
%\vspace{10cm}
\nastaliq 
\color{white}{\Huge  \textbf{فصل اول}}\\
\vspace{2cm}
\color {white}{\huge{
\\
\textbf{
} 
\\

}

\vspace{1cm}
\mbox{}
\color{white}\textbf{}
\end{Huge}
\AddToShipoutPicture*{
\put(-150,0){{\includegraphics[keepaspectratio=false,height=\paperheight ,width=250mm]{saha.jpg}}}%\reflectbox 512
} 
\end{center}
\begin{plainslide}
\end{plainslide}
%%%%%%%%%%%%%%%%%%%%%%%




و 
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\section{} 
\begin{center}
\begin{Huge}
%\vspace{10cm}
\nastaliq 
\color{white}{\Huge  فصل چهارم}\\
\vspace{2cm}
\color {white}{\huge{\\
\\
}

\vspace{1cm}
\mbox{}
\color{white}\textbf{}
\end{Huge}
\AddToShipoutPicture*{
\put(-150,0){{\includegraphics[keepaspectratio=false,height=\paperheight ,width=250mm]{saha.jpg}}}%\reflectbox 512
} 
\end{center}
\begin{plainslide}
\end{plainslide}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%

  \begin{plainslide}
  \begin{thebibliography}{99}
\begin{LTRbibitems}
 
\end{LTRbibitems} 
\end{thebibliography}
 \end{plainslide}     
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
 \begin{titlepage}

\begin{flushleft}

\begin{Huge}
\begin{Huge}
 \thispagestyle{plain}
\vspace{7cm}
\nastaliq

\vspace{2cm}
\mbox{از\\


\hspace{4cm}
}
\\
\vspace{2cm}
 \AddToShipoutPicture*{\put(-130,0){\includegraphics[height=\paperheight, width=250mm]{800.jpg}}} 

\end{Huge}
\end{Huge}
\end{flushleft}
\end{titlepage}
%%%%%%%%%%%%
 \begin{titlepage}

%\begin{flushleft}

%\begin{Huge}
%\begin{Huge}
 %\thispagestyle{plain}
%\vspace{7cm}
%\nastaliq

%\vspace{2cm}
%\mbox{

%\hspace{4cm}
%}
%\\
%\vspace{2cm}


 \AddToShipoutPicture*{\put(-30,0){\includegraphics[height=\paperheight, width=150mm]{tagh6.png}}} 

%\end{Huge}
%\end{Huge}
%\end{flushleft}
\end{titlepage}
\end{document}

