summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/doc/xelatex/bidi/test2-wrapfig.tex
diff options
context:
space:
mode:
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}