diff options
Diffstat (limited to 'macros/latex/contrib/onedown/examples/Select-Hands.tex')
-rw-r--r-- | macros/latex/contrib/onedown/examples/Select-Hands.tex | 56 |
1 files changed, 56 insertions, 0 deletions
diff --git a/macros/latex/contrib/onedown/examples/Select-Hands.tex b/macros/latex/contrib/onedown/examples/Select-Hands.tex new file mode 100644 index 0000000000..51260bfb31 --- /dev/null +++ b/macros/latex/contrib/onedown/examples/Select-Hands.tex @@ -0,0 +1,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 + + |