summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/doc/xelatex/bidi/presentation-sample.tex
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2010-01-11 18:46:44 +0000
committerKarl Berry <karl@freefriends.org>2010-01-11 18:46:44 +0000
commitb2653703ac55bf05f550a80ffa1fe05c5fe8bd47 (patch)
treef1134c0157d1fefadb188b15f095c13674484ea9 /Master/texmf-dist/doc/xelatex/bidi/presentation-sample.tex
parent47bbbc330ace9242ab5ee3af16c08d19a1496ac6 (diff)
bidi update (6jan10)
git-svn-id: svn://tug.org/texlive/trunk@16674 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/doc/xelatex/bidi/presentation-sample.tex')
-rw-r--r--Master/texmf-dist/doc/xelatex/bidi/presentation-sample.tex52
1 files changed, 52 insertions, 0 deletions
diff --git a/Master/texmf-dist/doc/xelatex/bidi/presentation-sample.tex b/Master/texmf-dist/doc/xelatex/bidi/presentation-sample.tex
new file mode 100644
index 00000000000..b7464609633
--- /dev/null
+++ b/Master/texmf-dist/doc/xelatex/bidi/presentation-sample.tex
@@ -0,0 +1,52 @@
+\documentclass[12pt,twoside]{bidipresentation}
+\usepackage{eso-pic}
+\usepackage{graphicx}
+\usepackage{fontspec}
+\setmainfont[Script=Arabic,Mapping=farsidigits]{XB Niloofar}
+\usepackage[RTLdocument]{bidi}
+\pagestyle{pres}
+\AddToShipoutPicture{
+\includegraphics{gradient.png}
+}
+
+\begin{document}
+\begin{titlepage}
+\distance{1}
+\centering \LARGE
+ \bfseries عنوان اسلاید
+
+\distance{1}
+\large
+وفا خلیقی\\[1ex]نام دانشگاه
+\distance{2}
+\end{titlepage}
+
+\begin{plainslide}[این عنوان یک صفحه است.]
+این اولین صفحه اسلاید ما است که من در حال نوشتن آن هستم و کمی بیشتر می‌نویسم تا به خط بعدی بروم
+\footnote{این یک زیرنویس فارسی است.}\LTRfootnote{This is an English footnote.}
+\begin{equation}
+(a+b)^2=a^2+2ab+b^2
+\end{equation}
+\begin{itemize}
+ \item یک
+ \item دو
+\end{itemize}
+
+\begin{enumerate}
+ \item یک
+ \item دو
+\end{enumerate}
+
+\begin{description}
+ \item [یک:] اولین عدد
+ \item [دو:] دومین عدد
+\end{description}
+
+\end{plainslide}
+\begin{rawslide}
+دومین صفحه
+
+\end{rawslide}
+
+\end{document}
+