diff options
author | Karl Berry <karl@freefriends.org> | 2018-05-24 21:36:36 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2018-05-24 21:36:36 +0000 |
commit | b3dc1b6fdac11d737f34e433fe1e61590466b6a8 (patch) | |
tree | 6b6581617b94dbc42f3119589a38b3a2721ae0e8 /Master/texmf-dist/doc/latex/onedown/examples/bidNS.tex | |
parent | 7f3c84d5d08d7a3c4047e31edfb3164ef787de97 (diff) |
onedown (24may18)
git-svn-id: svn://tug.org/texlive/trunk@47828 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/doc/latex/onedown/examples/bidNS.tex')
-rw-r--r-- | Master/texmf-dist/doc/latex/onedown/examples/bidNS.tex | 91 |
1 files changed, 91 insertions, 0 deletions
diff --git a/Master/texmf-dist/doc/latex/onedown/examples/bidNS.tex b/Master/texmf-dist/doc/latex/onedown/examples/bidNS.tex new file mode 100644 index 00000000000..98ef65248af --- /dev/null +++ b/Master/texmf-dist/doc/latex/onedown/examples/bidNS.tex @@ -0,0 +1,91 @@ +\documentclass[onedown-examples]{subfiles} + +\makeatletter +\def\SW{\the\ODw@Skip@Width} +\makeatletter +\begin{document} +\vfill +We show a couple of diagram without comment, with the exception of +number 4. +\vfill +\begin{HBox}{1: showNS pair\hfill File: \FileName} +\newgame +\northhand{KJ82}{KQ9}{J}{AQJT8} +\southhand{AQT95}{A52}{864}{K6} +\easthand{JT6}{764}{KT9}{JT32} +\westhand{Q952}{K32}{765}{AQ7} +\setdefaults{bidfirst=S} +\begin{biddingpair}-(\explainit{splinter}) +1S & 4D\markit \\ +4H & 6S \\ +\end{biddingpair} +\showNS+ +\end{HBox} +\vfill +\begin{HBox}{2: showNS pair centered\hfill File: \FileName} +\begin{biddingpair}!-(\explainit{splinter}) +1S & 4D\markit \\ +4H & 6S \\ +\end{biddingpair} +\showNS*+ +\end{HBox} +\vfill +\begin{HBox}{3: showNS\hfill File: \FileName} +\begin{bidding}!-(\explainit{splinter} +\explainit{control}) +1S & p & 4D\markit & p \\ +4H\markit & p & 6S & p \\ +\end{bidding} +\showNS+ +\end{HBox} +\vfill +\needspace{8\baselineskip} +\vfill +Here we show the influence of command |\handskip|, that adds some extra +space between the card diagram and the bidding diagram. In the 2nd diagram +the negative value diminishes the distance. Because it is within braces, +the length change is local and the normal value is automatically restored +afterwards. In the 4th diagram we add |3em| extra space +\vfill +\begin{HBox}{4: showNS centered\hfill File: \FileName} +\showNS*+ +{\handskip{-1em}\showNS*+} +\showNS*+ +{\handskip{3em}\showNS*+} +\end{HBox} +\vfill +\begin{HBox}{5: showNS pair\hfill File: \FileName} +\gamefont{\sffamily\bfseries\scriptsize} +\begin{biddingpair}!- +1S & 4D \\ +4H & 6S \\ +\end{biddingpair} +\showNS+ +\end{HBox} +\vfill +Because the previously saved bidding diagram is used, setting |bidfirst| +has no influence on the output\ldots +\vfill +\begin{HBox}{6: showNS pair centered\hfill File: \FileName} +\setdefaults{bidfirst=W} +\showNS*+ +\end{HBox} +\vfill +\ldots But when setting the next bidding diagram, it has! +\vfill +\begin{HBox}{7: showNS\hfill File: \FileName} +\begin{bidding}-(\explainit{splinter} +\explainit{control}) +1S & p & 4D\markit & p \\ +4H\markit & p & 6S & p \\ +\end{bidding} +\showNS+ +\end{HBox} +\vfill +\begin{HBox}{8: showNS centered\hfill File: \FileName} +\showNS*+ +\end{HBox} +\vfill +\end{document} +\endinput + |