summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/doc/xelatex/bidishadowtext/bidishadowtext-demo.tex
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2014-07-16 22:34:10 +0000
committerKarl Berry <karl@freefriends.org>2014-07-16 22:34:10 +0000
commit966482b48825b6eb8921b32c685b0ce8805480f8 (patch)
tree161e13300c97b3d4f7af51b50b89b520f48e9f4b /Master/texmf-dist/doc/xelatex/bidishadowtext/bidishadowtext-demo.tex
parentdf7fe5d3445e7c25bc8b42529e984e91eb110d9d (diff)
bidishadowtext (16jul14)
git-svn-id: svn://tug.org/texlive/trunk@34633 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/doc/xelatex/bidishadowtext/bidishadowtext-demo.tex')
-rw-r--r--Master/texmf-dist/doc/xelatex/bidishadowtext/bidishadowtext-demo.tex63
1 files changed, 63 insertions, 0 deletions
diff --git a/Master/texmf-dist/doc/xelatex/bidishadowtext/bidishadowtext-demo.tex b/Master/texmf-dist/doc/xelatex/bidishadowtext/bidishadowtext-demo.tex
new file mode 100644
index 00000000000..3d177369155
--- /dev/null
+++ b/Master/texmf-dist/doc/xelatex/bidishadowtext/bidishadowtext-demo.tex
@@ -0,0 +1,63 @@
+\documentclass{article}
+\usepackage{xcolor}
+\usepackage{bidishadowtext}
+\usepackage{xepersian}
+\settextfont{XB Yas}
+\begin{document}
+\bidishadowtext{این یک متن سایه‌دار است}
+
+\bigskip
+\bidishadowoffset{2pt}
+\bidishadowtext{این یک متن سایه‌دار است}
+
+\bigskip
+\bidishadowoffsetx{1pt}
+\bidishadowoffsety{4pt}
+\bidishadowtext{این یک متن سایه‌دار است}
+
+\bigskip
+\bidishadowoffset{2pt}
+\bidishadowcolor{blue!40!white}
+\bidishadowtext{این یک متن سایه‌دار است}
+
+\bigskip
+\bidishadowoffset{2pt}
+\bidishadowrgb{1.0, 0.5, 0.5}
+\bidishadowtext{این یک متن سایه‌دار است}
+
+\bigskip
+\definecolor{navy}{rgb}{0,0,0.5}
+\bidishadowrgb{0.8, 0.8, 1}
+\bidishadowoffset{1pt}
+\bidishadowtext{
+ {\color{navy}
+ \fontsize{16}{16}\selectfont
+بزرگ!%
+}}
+
+\bigskip
+\bidishadowoffset{1pt}
+\bidishadowtext{%
+ \begin{tabular}{|l|l|}
+ \hline
+ 1 & 2 \\
+ 3 & 4 \\
+ \hline
+ \end{tabular}
+}
+
+\bigskip
+\bidishadowoffset{1pt}
+\bidishadowtext{$\sqrt{2\pi}e^{-n}$}
+
+\bigskip
+\bidishadowoffset{2pt}
+\bidishadowtext{%
+ \fontsize{32}{32}%
+ \selectfont%
+ \textcolor{navy}{%
+ قسمت%
+}
+ \textcolor{red}{۴}%
+}
+\end{document} \ No newline at end of file