\documentclass[11pt,oneside]{bidipresentation}
\usepackage{tikz}\usetikzlibrary{shapes,snakes}
\usepackage{sidebarbidipres}
\usepackage{xepersian}
\pagestyle{pres}
%%رنگ​ها
\sidebartc{cmyk}{0,0,0,1}
\linktc{cmyk}{0,0,0,0}
\rtopbarc{cmyk}{0.94,0.54,0,0}
\ltopbarc{cmyk}{0.15,0.15,0,0}
\ltopbartc{cmyk}{0,0,0,1}
\rbotbarc{cmyk}{0.15,0.15,0,0}
\lbotbarc{cmyk}{0.94,0.54,0,0}
\lbotbartc{cmyk}{0,0,0,0}

\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\times[Scale=1.1]{Times New Roman}


%%%%%%%% محیط قضیه %%%%%%%
%1 متن اسلاید
\tikzstyle{myghazye} = [draw=red, fill=none, very thick,
    rectangle, rounded corners, inner sep=10pt, inner ysep=20pt]
\tikzstyle{fancytitleghazye} =[fill=yellow!20, text=red]
%%%%%%%
 \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} }

\begin{document}
\myghazye{
متن قضیه را اینجا می‌نویسیم. 

\begin{center}
\includegraphics[width=30mm]{fig01.jpg}
\end{center}
}

\end{document}
