Debian Codegraph @

texmf-dist/doc/latex/onedown/Examples/bidEW.tex

raw
1 \documentclass[onedown-examples]{subfiles}
2
3 \begin{document}
4 \vfill
5 In the previous example we changed the gamefont to scriptsize, which is
6 still in effect here, as you can see in this example. You wonder why the
7 bidding is shown for \north and \south, but the hands are those of \east and
8 \west? Well, if you say |\showEW| you get the \eastwest hands. And if you
9 say |\setdefaults{bidfirst=S}|, then the first column is of \south{}! (BTW:
10 if you want to get \south{}! as output, you must write |\south{}!|, then
11 |\south!| and even |\south !| will regard the |!| as a token to |\south|
12 and will produce \south !).
13
14 We reset the gamefont before we draw the 2nd diagram. Please note that we
15 have to redefine the bidding. The saved version from the 1st diagram will
16 not change its font!
17
18 \vfill
19 \begin{HBox}{bidEWpair\hfill File: \FileName}
20 \northhand{KJ82}{KQ9}{J}{AQJT8}
21 \southhand{AQT95}{A52}{864}{K6}
22 \easthand{63}{J764}{KQT9}{953}
23 \westhand{74}{T83}{A7532}{742}
24 \setdefaults{bidfirst=S}
25 \begin{biddingpair}!-(\explainit{splinter}
26 \explainit{control})
27 1S & 4D\markit \\
28 4H\markit & 6S \\
29 \end{biddingpair}
30 \showEW+
31 \gamefont{\sffamily\bfseries\normalsize}
32 \par\vspace{1\baselineskip}
33 \showEW+
34 \begin{biddingpair}!-(\explainit{splinter}
35 \explainit{control})
36 1S & 4D\markit \\
37 4H\markit & 6S \\
38 \end{biddingpair}
39 \par\vspace{1\baselineskip}
40 \showEW+
41 \end{HBox}
42 \vfill
43 \begin{HBox}{bidEWpair centered\hfill File: \FileName}
44 \showAll+
45
46 \showEW*+
47 \end{HBox}
48 \vfill
49 \end{document}
50 \endinput
51