summaryrefslogtreecommitdiff
path: root/macros/latex/contrib/onedown/examples/Select-Hands.tex
blob: 51260bfb31c18081f1517a893a0ee2655918c496 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
\documentclass[onedown-examples]{subfiles}

\begin{document}
\vfill
Both the |\showNS| and |\showEW| have an extra optional parameter that
controls which of the two hands will be printed and suppresses the other
hand.
\vfill
\begin{HBox}{Select only one hand\hfill File: \FileName}
\northhand{AK43}{AQJ83}{AJ98}{-}
\southhand{87}{T5}{QT5}{K98654}
\easthand{JT6}{764}{K43}{JT32}
\westhand{Q952}{K92}{762}{AQ7}
A \showNS(N) \quad B \showNS(S)

C \showEW(E) \quad D \showEW(W)

\end{HBox}
\vfill
The same, but here the compass is suppressed, showing only the selected hand
\vfill
\begin{HBox}{{Only hand, compass suppressed}\hfill File: \FileName}
\setdefaults{compshow=off}
\northhand{AK43}{AQJ83}{AJ98}{-}
\southhand{87}{T5}{QT5}{K98654}
\easthand{JT6}{764}{K43}{JT32}
\westhand{Q952}{K92}{762}{AQ7}
A \showNS(N) \quad B \showNS(S)

C \showEW(E) \quad D \showEW(W)

\end{HBox}

\begin{HBox}{{Only \North*!-hands}\hfill File: \FileName}
\newgame
\setdefaults{compshow=on}
\northhand{AK43}{AQJ83}{AJ98}{-} \showNS(N) 
\northhand{87}{T5}{QT5}{K98654}  \showNS(N)\quad 
\northhand{JT6}{764}{K43}{JT32}  \showNS(N) 
\northhand{Q952}{K92}{762}{AQ7}  \showNS(N) 
\end{HBox}

\begin{HBox}{{Only \North*!-hands, compass suppressed}\hfill File:
\FileName}
\newgame
\setdefaults{compshow=off}
\northhand{AK43}{AQJ83}{AJ98}{-} \showNS(N) 
\northhand{87}{T5}{QT5}{K98654}  \showNS(N)\quad
\northhand{JT6}{764}{K43}{JT32}  \showNS(N)
\northhand{Q952}{K92}{762}{AQ7}  \showNS(N)
\end{HBox}

\end{document}
\endinput