| 1 |
\documentclass[onedown-examples]{subfiles} |
| 2 |
\begin{document} |
| 3 |
\iffalse |
| 4 |
\newgame\setdefaults{bidfirst=W} |
| 5 |
\dealer[\east]\vulner[\eastwest] |
| 6 |
\hand!{Q952}{K32}{765}{AQ7} |
| 7 |
|
| 8 |
\begin{bidding}(\explainit{gameforcing} |
| 9 |
\explainit{natural, 6-card ab ab ab ab ab ab})% |
| 10 |
& & 2D\markit & 2H\markit \\ |
| 11 |
p & 3H & 4D & p \\ |
| 12 |
? \\ |
| 13 |
\end{bidding} |
| 14 |
|
| 15 |
\makeatletter |
| 16 |
:\usebox\ODw@BidBox: |
| 17 |
\makeatother |
| 18 |
|
| 19 |
|
| 20 |
|
| 21 |
\begin{biddingpair}(\explainit{game forcing} |
| 22 |
\explainit{natural, 6-card})% |
| 23 |
2D\markit & 2H\markit \\ |
| 24 |
3H & 4D \\ |
| 25 |
? \\ |
| 26 |
\end{biddingpair} |
| 27 |
|
| 28 |
\makeatletter |
| 29 |
:\usebox\ODw@BidBox: |
| 30 |
\makeatother |
| 31 |
\fi |
| 32 |
\vfill |
| 33 |
A special feature of \OneDown is the so called |expertquiz|. It essentially |
| 34 |
displays a hand with a (partial) bidding sequence. The reader has to guess |
| 35 |
the best next bid with respect to the hand and the bidding so far. The |
| 36 |
different answers are rewarded with points. |
| 37 |
|
| 38 |
Observe the token '\textbf{-}' in |\hand-| and |\begin{bidding}-| that |
| 39 |
suppresses the output. |
| 40 |
|
| 41 |
With the optional argument we add some extra information to the quiz. |
| 42 |
\vfill |
| 43 |
\begin{HBox}{expertquiz \hfill File: \FileName} |
| 44 |
\newgame\setdefaults{bidfirst=W} |
| 45 |
\dealer[\east]\vulner[\eastwest] |
| 46 |
\hand!-{Q952}{K32}{765}{AQ7} |
| 47 |
\begin{bidding}-(\explainit{gameforcing} |
| 48 |
\explainit{natural, 6-card})% |
| 49 |
& & 2D\markit & 2H\markit \\ |
| 50 |
p & 3H & 4D & p \\ |
| 51 |
? \\ |
| 52 |
\end{bidding} |
| 53 |
\expertquiz[Team: \dealertext, \vulnertext]{% |
| 54 |
4\He= 10, 4\Sp= 7, |
| 55 |
6\Di= 4, |
| 56 |
4\NT/5\NT= 3, 5\Di=~1 |
| 57 |
} |
| 58 |
\end{HBox} |
| 59 |
\vfill |
| 60 |
Here we show the same quiz, but the layout resembles the one used by the |
| 61 |
DBV\footnote{German Bridge League} in their monthly, called \emph{Bridge |
| 62 |
Magazin}. We get this special layout by using the token '\textbf{!}'. Of |
| 63 |
course we set it in the German language. |
| 64 |
\vfill |
| 65 |
\begin{HBox}{expert quiz a la DBV\hfill File: \FileName} |
| 66 |
\begin{otherlanguage}{german} |
| 67 |
\expertquiz![Team: \dealertext, \vulnertext]{% |
| 68 |
4\He= 10, 4\Sp= 7, |
| 69 |
6\Di= 4, |
| 70 |
4\NT/5\NT= 3, 5\Di= 1 |
| 71 |
} |
| 72 |
\end{otherlanguage} |
| 73 |
\end{HBox} |
| 74 |
\vfill |
| 75 |
\end{document} |
| 76 |
\endinput |
| 77 |
|