summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/doc/xelatex/bidi/test2-wrapfig.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/test2-wrapfig.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/test2-wrapfig.tex')
-rw-r--r--Master/texmf-dist/doc/xelatex/bidi/test2-wrapfig.tex28
1 files changed, 28 insertions, 0 deletions
diff --git a/Master/texmf-dist/doc/xelatex/bidi/test2-wrapfig.tex b/Master/texmf-dist/doc/xelatex/bidi/test2-wrapfig.tex
new file mode 100644
index 00000000000..ab655dac412
--- /dev/null
+++ b/Master/texmf-dist/doc/xelatex/bidi/test2-wrapfig.tex
@@ -0,0 +1,28 @@
+\documentclass{article}
+\usepackage{wrapfig}
+\usepackage{bidi}
+\newcommand\sample{Some text for our page
+ that might get reused over and over again. }
+\begin{document}
+\section{LTR}
+\begin{wraptable}[4]{l}{4cm}
+ \centering
+\fbox{This is ``wraptable''.}
+ \caption{The Caption}\label{T1}
+\end{wraptable}
+
+\sample \sample Reference to Table~\ref{T1}.
+\sample
+
+\section{RTL}
+\setRTL
+
+\begin{wraptable}[4]{r}{4cm}
+ \centering
+\fbox{This is ``wraptable''.}
+ \caption{The Caption}\label{T2}
+\end{wraptable}
+
+\sample \sample Reference to Table~\ref{T2}.
+\sample
+\end{document}