\documentclass{beamerx}
\usepackage{fontspec}
\setmainfont[Script=Arabic,Mapping=farsidigits]{XB Niloofar}
\usepackage{bidi}
\makeatletter
\def\tablename{جدول}
\@RTL@footnotetrue
\providetranslation{Theorems}{123}
\makeatletter
\autofootnoterule
\title{یک اسلاید نمونه}
\author{وفا خلیقی}
\date{}
\begin{document}
\begin{frame}
\maketitle
\end{frame}
\begin{frame}{فهرست مطالب}
\tableofcontents
\end{frame}
\section{مقدمه}
\subsection{زیرمقدمه}
\subsubsection{آزمایشی}
\begin{frame}{آزمایش}
این یک متن ساده است که در اینجا می‌نویسم\footnote{این یک زیرنویس راست به چپ است.}\LTRfootnote{This is a left to right footnote.}
\begin{table}
\begin{tabular}{|c|c|}\hline
من&تو\\ \hline
ما&شما\\ \hline
\end{tabular}
\caption{این یک جدول است}
\end{table}
و حالا یک متن \alert{این قرمز است} و بقیه‌اش هم سیاه است.
\begin{itemize}
\item یک
\item دو
\begin{itemize}
\item اول
\item دوم
\end{itemize}
\item سه
\end{itemize}
\begin{theorem}
این یک قضیه است
\begin{equation}
x+y=z
\end{equation}
\end{theorem}
\end{frame}
\begin{frame}
\frametitle{There Is No Largest Prime Number}
\framesubtitle{The proof uses \textit{reductio ad absurdum}.}
\begin{theorem}
There is no largest prime number.
\end{theorem}
\begin{proof}
\begin{enumerate}
\item<1-| alert@1> Suppose $p$ were the largest prime number.
\item<2-> Let $q$ be the product of the first $p$ numbers.
\item<3-> Then $q+1$ is not divisible by any of them.
\item<1-> Thus $q+1$ is also prime and greater than $p$.\qedhere
\end{enumerate}
\end{proof}
\end{frame}
\section{مقدمه}
\subsection{زیرمقدمه}
\subsubsection{آزمایشی}
\begin{frame}{ستونها}
\begin{columns}[t]
\begin{column}{5cm}
This is the first column
\end{column}
\begin{column}{5cm}
This is the second column
\end{column}
\end{columns}
\begin{block}{Block}
This is block environment
\end{block}
\begin{exampleblock}{Example}
This is example block
\end{exampleblock}
\begin{alertblock}{Alert}
This is alert block
\end{alertblock}
\end{frame}
\end{document}