summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/doc/xelatex/bidi/test3-wrapfig.tex
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2016-05-07 22:22:57 +0000
committerKarl Berry <karl@freefriends.org>2016-05-07 22:22:57 +0000
commit6e6054fa1adb4750af84fd39f842f5a4d6c391e5 (patch)
tree48f331a8eede2f05c5e11cce1e28a261c183ee69 /Master/texmf-dist/doc/xelatex/bidi/test3-wrapfig.tex
parente72cb1514d62f9467f98e6839e645e0b5a8c2639 (diff)
bidi (7may16)
git-svn-id: svn://tug.org/texlive/trunk@40935 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/doc/xelatex/bidi/test3-wrapfig.tex')
-rw-r--r--Master/texmf-dist/doc/xelatex/bidi/test3-wrapfig.tex75
1 files changed, 75 insertions, 0 deletions
diff --git a/Master/texmf-dist/doc/xelatex/bidi/test3-wrapfig.tex b/Master/texmf-dist/doc/xelatex/bidi/test3-wrapfig.tex
new file mode 100644
index 00000000000..8d648fc4b13
--- /dev/null
+++ b/Master/texmf-dist/doc/xelatex/bidi/test3-wrapfig.tex
@@ -0,0 +1,75 @@
+\documentclass[a4paper,12pt]{article}
+
+\usepackage{graphicx}
+\usepackage{wrapfig}
+\usepackage{bidi}
+\begin{document}
+\section{LTR}
+\subsection*{Wrapfig test}
+
+Gulls are birds in the family Laridae. They are most closely
+ related to the terns (family Sternidae), auks and skimmers,
+and more distantly to the waders. Most gulls belong to the
+large genus Larus.
+
+\begin{wrapfigure}{r}{0.5\textwidth}
+ \begin{center}
+ \includegraphics[width=0.48\textwidth]{gull}
+ \end{center}
+ \caption{A gull}
+\end{wrapfigure}
+
+They are in general medium to large birds, typically grey or white,
+often with black markings on the head or wings. They have stout,
+longish bills and webbed feet.
+
+Most gulls, particularly Larus species, are ground nesting carnivores,
+which will take live food or scavenge opportunistically. The live food
+often includes crabs and small fish. Apart from the kittiwakes, gulls
+are typically coastal or inland species, rarely venturing far out to sea.
+The large species take up to four years to attain full adult plumage,
+but two years is typical for small gulls.
+
+Gulls---the larger species in particular---are resourceful and
+highly intelligent birds, demonstrating complex methods of communication
+and a highly developed social structure. Certain species (e.g. the
+Herring Gull) have exhibited tool use behaviour. Many species of gull have
+learned to co-exist successfully with man and have thrived in human habitats.
+Others rely on kleptoparasitism to get their food.
+
+\newpage
+\section{RTL}
+
+\setRTL
+\subsection*{Wrapfig test}
+
+Gulls are birds in the family Laridae. They are most closely
+ related to the terns (family Sternidae), auks and skimmers,
+and more distantly to the waders. Most gulls belong to the
+large genus Larus.
+
+\begin{wrapfigure}{l}{0.5\textwidth}
+ \begin{center}
+ \includegraphics[width=0.48\textwidth]{gull}
+ \end{center}
+ \caption{A gull}
+\end{wrapfigure}
+
+They are in general medium to large birds, typically grey or white,
+often with black markings on the head or wings. They have stout,
+longish bills and webbed feet.
+
+Most gulls, particularly Larus species, are ground nesting carnivores,
+which will take live food or scavenge opportunistically. The live food
+often includes crabs and small fish. Apart from the kittiwakes, gulls
+are typically coastal or inland species, rarely venturing far out to sea.
+The large species take up to four years to attain full adult plumage,
+but two years is typical for small gulls.
+
+Gulls---the larger species in particular---are resourceful and
+highly intelligent birds, demonstrating complex methods of communication
+and a highly developed social structure. Certain species (e.g. the
+Herring Gull) have exhibited tool use behaviour. Many species of gull have
+learned to co-exist successfully with man and have thrived in human habitats.
+Others rely on kleptoparasitism to get their food.
+\end{document}