Debian Codegraph @

texmf-dist/doc/latex/onedown/Examples/Select-Hands.tex

raw
1 \documentclass[onedown-examples]{subfiles}
2
3 \begin{document}
4 \vfill
5 Both the |\showNS| and |\showEW| have an extra optional parameter that
6 controls which of the two hands will be printed and suppresses the other
7 hand.
8 \vfill
9 \begin{HBox}{Select only one hand\hfill File: \FileName}
10 \northhand{AK43}{AQJ83}{AJ98}{-}
11 \southhand{87}{T5}{QT5}{K98654}
12 \easthand{JT6}{764}{K43}{JT32}
13 \westhand{Q952}{K92}{762}{AQ7}
14 A \showNS(N) \quad B \showNS(S)
15
16 C \showEW(E) \quad D \showEW(W)
17
18 \end{HBox}
19 \vfill
20 The same, but here the compass is suppressed, showing only the selected hand
21 \vfill
22 \begin{HBox}{{Only hand, compass suppressed}\hfill File: \FileName}
23 \setdefaults{compshow=off}
24 \northhand{AK43}{AQJ83}{AJ98}{-}
25 \southhand{87}{T5}{QT5}{K98654}
26 \easthand{JT6}{764}{K43}{JT32}
27 \westhand{Q952}{K92}{762}{AQ7}
28 A \showNS(N) \quad B \showNS(S)
29
30 C \showEW(E) \quad D \showEW(W)
31
32 \end{HBox}
33
34 \begin{HBox}{{Only \North*!-hands}\hfill File: \FileName}
35 \newgame
36 \setdefaults{compshow=on}
37 \northhand{AK43}{AQJ83}{AJ98}{-} \showNS(N)
38 \northhand{87}{T5}{QT5}{K98654} \showNS(N)\quad
39 \northhand{JT6}{764}{K43}{JT32} \showNS(N)
40 \northhand{Q952}{K92}{762}{AQ7} \showNS(N)
41 \end{HBox}
42
43 \begin{HBox}{{Only \North*!-hands, compass suppressed}\hfill File:
44 \FileName}
45 \newgame
46 \setdefaults{compshow=off}
47 \northhand{AK43}{AQJ83}{AJ98}{-} \showNS(N)
48 \northhand{87}{T5}{QT5}{K98654} \showNS(N)\quad
49 \northhand{JT6}{764}{K43}{JT32} \showNS(N)
50 \northhand{Q952}{K92}{762}{AQ7} \showNS(N)
51 \end{HBox}
52
53 \end{document}
54 \endinput
55
56