summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/doc/xelatex/bidi/test-tabulary.tex
diff options
context:
space:
mode:
Diffstat (limited to 'Master/texmf-dist/doc/xelatex/bidi/test-tabulary.tex')
-rw-r--r--Master/texmf-dist/doc/xelatex/bidi/test-tabulary.tex30
1 files changed, 30 insertions, 0 deletions
diff --git a/Master/texmf-dist/doc/xelatex/bidi/test-tabulary.tex b/Master/texmf-dist/doc/xelatex/bidi/test-tabulary.tex
new file mode 100644
index 00000000000..81067943c49
--- /dev/null
+++ b/Master/texmf-dist/doc/xelatex/bidi/test-tabulary.tex
@@ -0,0 +1,30 @@
+\documentclass{article}
+\usepackage{tabulary}
+\setlength\tymin{10pt}
+\setlength\tymax{\maxdimen}
+\usepackage{bidi}
+\title{Testing \textsf{tabulary} package in RTL and LTR}
+\author{Vafa Khalighi}
+\begin{document}
+\maketitle
+\section{LTR}
+\begin{tabulary}{200pt}{|C|C|C|C|}
+ a & b b b b &
+ c c c c c c c c c c c c c c c c c c &
+ d d d d d d d d d d d d d d d d d d
+\empty
+ d d d d d d d d d d d d d d
+ d d d d d d d d d d d d d d d d d d d d d d d d d d d d d d d d
+ \end{tabulary}
+\section{RTL}
+
+\setRTL
+\begin{tabulary}{200pt}{|C|C|C|C|}
+ a & b b b b &
+ c c c c c c c c c c c c c c c c c c &
+ d d d d d d d d d d d d d d d d d d
+\empty
+ d d d d d d d d d d d d d d
+ d d d d d d d d d d d d d d d d d d d d d d d d d d d d d d d d
+ \end{tabulary}
+\end{document}