| 1 |
\documentclass[onedown-examples]{subfiles} |
| 2 |
|
| 3 |
\begin{document} |
| 4 |
\vfill |
| 5 |
The package \OneDown renounces to implement so called \emph{hanging hands}. |
| 6 |
To achieve such you will have to use external means, e.g.\ the package |
| 7 |
|wrapfig|. The advantage of an external package is that 1) you can wrap |
| 8 |
anything you like and 2) you have more control over the result. Here follow |
| 9 |
some examples to show how to do that. |
| 10 |
|
| 11 |
You need a new paragraph before the |wrapfig| stuff. For details, refer to |
| 12 |
the documentation of the package |wrapfig|. |
| 13 |
\vfill |
| 14 |
\begin{HBox}{Wrapping a hand\hfill File: \FileName} |
| 15 |
\blindtext |
| 16 |
|
| 17 |
\begin{wraptable}{l}{0cm}% nat. width |
| 18 |
\hand!{AQ852}{AKQ3}{-}{AQKJ} |
| 19 |
\end{wraptable} |
| 20 |
\blindtext |
| 21 |
\end{HBox} |
| 22 |
\vfill |
| 23 |
\needspace{8\baselineskip} |
| 24 |
~ |
| 25 |
\vfill |
| 26 |
\begin{HBox}{Wrapping a bidding table\hfill File: \FileName} |
| 27 |
\blindtext |
| 28 |
|
| 29 |
\begin{wraptable}{l}{0cm}% nat. width |
| 30 |
\begin{biddingpair} |
| 31 |
1S & 3S \\ |
| 32 |
4S & 5S \\ |
| 33 |
6S & p \\ |
| 34 |
\end{biddingpair} |
| 35 |
\end{wraptable} |
| 36 |
\blindtext |
| 37 |
\end{HBox} |
| 38 |
\vfill |
| 39 |
\needspace{8\baselineskip} |
| 40 |
With a small diagram there is enough space for the wrapped text. |
| 41 |
\vfill |
| 42 |
\begin{HBox}{{Wrapping a card diagram\hfill File: \FileName}} |
| 43 |
\newgame |
| 44 |
\blindtext |
| 45 |
|
| 46 |
\begin{wraptable}{l}{0cm}% nat. width |
| 47 |
\gamefont{\sffamily\bfseries\footnotesize} |
| 48 |
\northhand{AQ92}{873}{A54}{752} |
| 49 |
\southhand{J7543}{Q42}{63}{AKQ} |
| 50 |
\showNS |
| 51 |
\end{wraptable} |
| 52 |
\blindtext |
| 53 |
\end{HBox} |
| 54 |
\vfill |
| 55 |
\needspace{8\baselineskip} |
| 56 |
With real big diagrams there is not enough space for the wrapped text. |
| 57 |
\vfill |
| 58 |
\begin{HBox}{{Show wrapping of hands, Large size\hfill File: \FileName}} |
| 59 |
Hello, here is some text without |
| 60 |
a meaning. This text should show |
| 61 |
what a printed text will look |
| 62 |
like at this place. If you read |
| 63 |
this text, you will get no |
| 64 |
information. |
| 65 |
|
| 66 |
\newgame |
| 67 |
\resetfonts |
| 68 |
\begin{wraptable}{l}{0cm}% nat. width |
| 69 |
\northhand{AQ92}{873}{A54}{752} |
| 70 |
\southhand{J7543}{Q42}{63}{AKQ} |
| 71 |
\gamefont{\sffamily\bfseries\scalefont{2.5}} |
| 72 |
\showNS |
| 73 |
\end{wraptable} |
| 74 |
\blindtext |
| 75 |
\end{HBox} |
| 76 |
\vfill |
| 77 |
\needspace{8\baselineskip} |
| 78 |
With |\raggedright| or |RaggedRight| from package |ragged2e| it looks much |
| 79 |
better. |
| 80 |
\vfill |
| 81 |
\begin{HBox}{{Same, with RaggedRight\hfill File: \FileName}} |
| 82 |
\RaggedRight |
| 83 |
Hello, here is some text without |
| 84 |
a meaning. This text should show |
| 85 |
what a printed text will look |
| 86 |
like at this place. If you read |
| 87 |
this text, you will get no |
| 88 |
information. |
| 89 |
|
| 90 |
\begin{wraptable}{l}{0cm}% nat. width |
| 91 |
\showNS |
| 92 |
\end{wraptable} |
| 93 |
\blindtext |
| 94 |
\end{HBox} |
| 95 |
\vfill |
| 96 |
\end{document} |
| 97 |
\endinput |
| 98 |
|