\documentclass[onedown-examples]{subfiles}

\makeatletter
\def\SW{\the\ODw@Skip@Width}
\makeatletter
\begin{document}
\vfill
We show a couple of diagrams without comment, with the exception of
number 4.
% We must trick here because HBox makes the settings local
\setdefaults{bidfirst=S}
\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}
\setdefaults{compmid=1} \showNS*+
{\handskip{-1em}\setdefaults{compmid=2} \showNS*+}
\setdefaults{compmid=3} \showNS*+
{\handskip{3em}\setdefaults{compmid=4} \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!
% Need to trick here again
\setdefaults{bidfirst=W}
\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

