summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/doc/latex/onedown
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2019-02-23 22:18:17 +0000
committerKarl Berry <karl@freefriends.org>2019-02-23 22:18:17 +0000
commit1ee27b0002a9bd4d7d1758930c7a8253b0615c08 (patch)
tree6ab25d58d02845b4ab636217d4d7f5d08b065864 /Master/texmf-dist/doc/latex/onedown
parentf8b8ccbd51745f348239c722d85bf07fe2e05b7f (diff)
onedown (22feb19)
git-svn-id: svn://tug.org/texlive/trunk@50104 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/doc/latex/onedown')
-rw-r--r--Master/texmf-dist/doc/latex/onedown/README2
-rw-r--r--Master/texmf-dist/doc/latex/onedown/examples/Compass.tex6
-rw-r--r--Master/texmf-dist/doc/latex/onedown/examples/Languages.tex3
-rw-r--r--Master/texmf-dist/doc/latex/onedown/examples/Legends.tex8
-rw-r--r--Master/texmf-dist/doc/latex/onedown/examples/Select-Hands.tex2
-rw-r--r--Master/texmf-dist/doc/latex/onedown/examples/Suits.tex2
-rw-r--r--Master/texmf-dist/doc/latex/onedown/examples/bidAll.tex15
-rw-r--r--Master/texmf-dist/doc/latex/onedown/examples/bidNE.tex3
-rw-r--r--Master/texmf-dist/doc/latex/onedown/examples/bidNS.tex14
-rw-r--r--Master/texmf-dist/doc/latex/onedown/examples/bidNW.tex1
-rw-r--r--Master/texmf-dist/doc/latex/onedown/examples/onedown-examples.pdfbin844991 -> 847441 bytes
-rw-r--r--Master/texmf-dist/doc/latex/onedown/examples/onedown-ref.pdfbin210802 -> 210831 bytes
-rw-r--r--Master/texmf-dist/doc/latex/onedown/examples/onedown-ref.tex2
-rw-r--r--Master/texmf-dist/doc/latex/onedown/examples/showAll.tex2
-rw-r--r--Master/texmf-dist/doc/latex/onedown/examples/showNS-warn-II.tex6
-rw-r--r--Master/texmf-dist/doc/latex/onedown/onedown.pdfbin1009654 -> 1010445 bytes
16 files changed, 40 insertions, 26 deletions
diff --git a/Master/texmf-dist/doc/latex/onedown/README b/Master/texmf-dist/doc/latex/onedown/README
index 46677fec8a7..a72c13ed325 100644
--- a/Master/texmf-dist/doc/latex/onedown/README
+++ b/Master/texmf-dist/doc/latex/onedown/README
@@ -1,5 +1,5 @@
--------------------------------------------------------------------------
-The OneDown package v1.2 - 2018/10/31
+The OneDown package v1.3 - 2019/02/21
A package to typeset diagrams for the game of bridge
--------------------------------------------------------------------------
diff --git a/Master/texmf-dist/doc/latex/onedown/examples/Compass.tex b/Master/texmf-dist/doc/latex/onedown/examples/Compass.tex
index f538e67f4d6..7cd46ecc79b 100644
--- a/Master/texmf-dist/doc/latex/onedown/examples/Compass.tex
+++ b/Master/texmf-dist/doc/latex/onedown/examples/Compass.tex
@@ -92,21 +92,21 @@ all the same. Using |\scalefont| you can get even bigger diagrams.
\begin{HBox}{onesuitAll for all sizes\hfill File: \FileName}
\setdefaults{compshow=on}
\gamefont{\sffamily\bfseries\tiny}
-\setdefaults{compmid=t}
+\setdefaults{compmid=~t}
\onesuitAll!{JT62}{AK53}{87}{Q94}
\gamefont{\sffamily\bfseries\HUGE}
\setdefaults{compmid=U}
\onesuitAll!{JT62}{AK53}{87}{Q94}
%
\gamefont{\sffamily\bfseries\ssmall}
-\setdefaults{compmid=s}
+\setdefaults{compmid=~s}
\onesuitAll!{JT62}{AK53}{87}{Q94}
\gamefont{\sffamily\bfseries\Huge}
\setdefaults{compmid=H}
\onesuitAll!{JT62}{AK53}{87}{Q94}
%
\gamefont{\sffamily\bfseries\scriptsize}
-\setdefaults{compmid=s}
+\setdefaults{compmid=c}
\onesuitAll!{JT62}{AK53}{87}{Q94}
\gamefont{\sffamily\bfseries\huge}
\setdefaults{compmid=h}
diff --git a/Master/texmf-dist/doc/latex/onedown/examples/Languages.tex b/Master/texmf-dist/doc/latex/onedown/examples/Languages.tex
index 61fd8bd45db..568f8d0c2aa 100644
--- a/Master/texmf-dist/doc/latex/onedown/examples/Languages.tex
+++ b/Master/texmf-dist/doc/latex/onedown/examples/Languages.tex
@@ -30,7 +30,8 @@ Refer to the \OneDown manual for details.
Here we switch to the Norwegian language. As we use the same settings for the
diagram, we simply call |\showAll| to display it, after we changed the
language. The Jack is coded with \foreignlanguage{norsk}{\jack{}}
-rather thaj \jack, so the hand is now closer to the right upper legend.
+rather than \jack, so the hand is now closer to the right upper legend. (We already discussed ways
+to solve this!)
\vfill
%
\begin{HBox}{Languages (Norwegian)\hfill File: \FileName}
diff --git a/Master/texmf-dist/doc/latex/onedown/examples/Legends.tex b/Master/texmf-dist/doc/latex/onedown/examples/Legends.tex
index d54b2dd78d0..9d9f603eed3 100644
--- a/Master/texmf-dist/doc/latex/onedown/examples/Legends.tex
+++ b/Master/texmf-dist/doc/latex/onedown/examples/Legends.tex
@@ -13,8 +13,8 @@ with |\vulner| which side is vulnerable. This data is stored and with
arguments, each on its own line, in the diagram. If you wonder why we use
the command |\by| instead the text |by| in |\rightupper|: |\by| gets
automatically translated into the active language.\par\noindent
-If you look at the diagram, you will notice that the annotations can extend
-to the left of the \west hand and the right of the \east hand..
+If you look at the diagram, you will notice that the \emph{left}- and \emph{right}-annotations can
+extend to the left of the \west hand and the right of the \east hand.
\vfill
\begin{HBox}{Annotations\hfill File: \FileName}
\newgame\resetfonts
@@ -52,9 +52,9 @@ legends. But it is up to you to decide that.
\needspace{8\baselineskip}
\vfill
The next examples show wich legends are output/suppressed for the other
-card diagrams. Note also that the head/foot-linetext does not extend to the
+card diagrams. Note also that the \emph{head/foot}-linetext does not extend beyond the
width of the diagram, and can get real narrow when only the
-\NorthSouth*!-hands are shown. It might be better to put a |\raggedright|
+\NorthSouth*!-hands are shown. In that case it might be better to put a |\raggedright|
in. If you do so, then don't forget to |\protect| it.
\vfill
\begin{HBox}{{Legends for: \northsouth: may need \emph{raggedright}\hfill File: \FileName}}
diff --git a/Master/texmf-dist/doc/latex/onedown/examples/Select-Hands.tex b/Master/texmf-dist/doc/latex/onedown/examples/Select-Hands.tex
index 0b550cee3e7..51260bfb31c 100644
--- a/Master/texmf-dist/doc/latex/onedown/examples/Select-Hands.tex
+++ b/Master/texmf-dist/doc/latex/onedown/examples/Select-Hands.tex
@@ -2,7 +2,7 @@
\begin{document}
\vfill
-Both the |\showNS| and |\showEW| have and extra optional parameter that
+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
diff --git a/Master/texmf-dist/doc/latex/onedown/examples/Suits.tex b/Master/texmf-dist/doc/latex/onedown/examples/Suits.tex
index 393b4028d6a..457ab273320 100644
--- a/Master/texmf-dist/doc/latex/onedown/examples/Suits.tex
+++ b/Master/texmf-dist/doc/latex/onedown/examples/Suits.tex
@@ -46,7 +46,7 @@ The other 'onesuit' diagrams, using a small box.
\onesuitNE{AK43}{Q952}
\end{HBox}
\vfill
-Next we show how to use a compass instead of a small box.
+Next we show how to use a compass instead of a small box by using token |!|.
\vfill
\begin{HBox}{onesuitXX with compass\hfill File: \FileName}
\onesuitNS!{AK53}{JT6}
diff --git a/Master/texmf-dist/doc/latex/onedown/examples/bidAll.tex b/Master/texmf-dist/doc/latex/onedown/examples/bidAll.tex
index f1c5c1821cc..24060a52634 100644
--- a/Master/texmf-dist/doc/latex/onedown/examples/bidAll.tex
+++ b/Master/texmf-dist/doc/latex/onedown/examples/bidAll.tex
@@ -1,6 +1,7 @@
\documentclass[onedown-examples]{subfiles}
\begin{document}
+\setdefaults{bidfirst=S}
Here is a diagram with four hands. We get rid of the past by calling
|\newgame|. Then we define our hands and set the first bid column to
@@ -10,7 +11,7 @@ does not fit on the same line, it appears below the compass.
used |\handskip| to widen the diagram a bit).
Note that the token |-| in the |bidding| environment suppresses the output
of it. Only when calling |\showAll+| (with a |+| token), the saved bidding
-diagram is printed with the card diagram.
+diagram is printed together with the card diagram.
\vfill
\begin{HBox}{not fitting on the line\hfill File: \FileName}
@@ -28,10 +29,10 @@ p & \\
\showAll+
\end{HBox}
\vfill
-Here the hands and the bidding are the same, but the complete diagram
+Here the hands and the bidding are the same as previous, but the complete diagram
(biddingtable inclusive) is centered and we use the short notation for the
-players in the bidding table. Being shorter now, the bidding table does fit on
-the same line.
+players in the bidding table (by using the token |!|).
+Being shorter now, the bidding table does fit on the same line.
\vfill
\begin{HBox}{centered and fitting\hfill File: \FileName}
\setdefaults{bidfirst=S}
@@ -43,11 +44,11 @@ p & \\
\end{HBox}
\vfill
\needspace{8\baselineskip}
-The same deal, but now we show all bidders in the bidding table. Again it
-is to wide to fit on the line.
+The same deal, but now we show all bidders in the bidding table with the long notation.
+Again it is to wide to fit on the line.
\vfill
\begin{HBox}{left aligned\hfill File: \FileName}
-\begin{bidding}-(\explainit{15-17\lpts})
+\begin{bidding}-(\explainit{15-17\HLP})
p & p & P & 1S \\
p & 2C & {\Pass*!} & 2N\markit \\
p & 3N & {\Allpass!} \\
diff --git a/Master/texmf-dist/doc/latex/onedown/examples/bidNE.tex b/Master/texmf-dist/doc/latex/onedown/examples/bidNE.tex
index 099186c048d..6e53b8fccda 100644
--- a/Master/texmf-dist/doc/latex/onedown/examples/bidNE.tex
+++ b/Master/texmf-dist/doc/latex/onedown/examples/bidNE.tex
@@ -3,6 +3,8 @@
\begin{document}
\vfill
Here we show some examples without comment.
+% Trick because of HBox making things local
+\setdefaults{bidfirst=S}
\vfill
\begin{HBox}{showNE\hfill File: \FileName}
\northhand{KJ82}{KQ9}{J}{AQJT8}
@@ -10,6 +12,7 @@ Here we show some examples without comment.
\easthand{63}{J764}{KQT9}{432}
\westhand{74}{T83}{A7532}{957}
\gamefont{\sffamily\bfseries\large}
+\setdefaults{bidfirst=S}
\begin{biddingpair}!-(\explainit{splinter}
\explainit{control})
1S & 4D\markit \\
diff --git a/Master/texmf-dist/doc/latex/onedown/examples/bidNS.tex b/Master/texmf-dist/doc/latex/onedown/examples/bidNS.tex
index 98ef65248af..ca00038328e 100644
--- a/Master/texmf-dist/doc/latex/onedown/examples/bidNS.tex
+++ b/Master/texmf-dist/doc/latex/onedown/examples/bidNS.tex
@@ -5,8 +5,10 @@
\makeatletter
\begin{document}
\vfill
-We show a couple of diagram without comment, with the exception of
+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
@@ -48,10 +50,10 @@ 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*+}
+\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}
@@ -72,6 +74,8 @@ has no influence on the output\ldots
\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}
diff --git a/Master/texmf-dist/doc/latex/onedown/examples/bidNW.tex b/Master/texmf-dist/doc/latex/onedown/examples/bidNW.tex
index 9ea710182e3..e107d0c44e7 100644
--- a/Master/texmf-dist/doc/latex/onedown/examples/bidNW.tex
+++ b/Master/texmf-dist/doc/latex/onedown/examples/bidNW.tex
@@ -2,6 +2,7 @@
\begin{document}
\vfill
+\setdefaults{bidfirst=S}
\begin{HBox}{showNW pair\hfill File: \FileName}
\northhand{KJ82}{KQ9}{J}{AQJT8}
\southhand{AQT95}{A52}{864}{K6}
diff --git a/Master/texmf-dist/doc/latex/onedown/examples/onedown-examples.pdf b/Master/texmf-dist/doc/latex/onedown/examples/onedown-examples.pdf
index 90495ef5947..9bc5e632475 100644
--- a/Master/texmf-dist/doc/latex/onedown/examples/onedown-examples.pdf
+++ b/Master/texmf-dist/doc/latex/onedown/examples/onedown-examples.pdf
Binary files differ
diff --git a/Master/texmf-dist/doc/latex/onedown/examples/onedown-ref.pdf b/Master/texmf-dist/doc/latex/onedown/examples/onedown-ref.pdf
index 5f6aff9abe3..c59b80f6410 100644
--- a/Master/texmf-dist/doc/latex/onedown/examples/onedown-ref.pdf
+++ b/Master/texmf-dist/doc/latex/onedown/examples/onedown-ref.pdf
Binary files differ
diff --git a/Master/texmf-dist/doc/latex/onedown/examples/onedown-ref.tex b/Master/texmf-dist/doc/latex/onedown/examples/onedown-ref.tex
index 36fa69fb493..44930e12e06 100644
--- a/Master/texmf-dist/doc/latex/onedown/examples/onedown-ref.tex
+++ b/Master/texmf-dist/doc/latex/onedown/examples/onedown-ref.tex
@@ -162,6 +162,8 @@ Typeset the text above the card diagram.
\item[He]: \He
+\item[HLP]: \HLP
+
\item[hpts\Oarg{*!}]: \hpts, \hpts*, \hpts!, \hpts*!
\item[jack]: \jack
diff --git a/Master/texmf-dist/doc/latex/onedown/examples/showAll.tex b/Master/texmf-dist/doc/latex/onedown/examples/showAll.tex
index 71991379911..e7571f6d3cf 100644
--- a/Master/texmf-dist/doc/latex/onedown/examples/showAll.tex
+++ b/Master/texmf-dist/doc/latex/onedown/examples/showAll.tex
@@ -29,7 +29,7 @@ as mid text in the compass. If given this way, it will always print the
\vfill
This example shows how to add several conditions, such as declarer, lead
etc.\ to a diagram. |\boardtext| just prints the plain board number and was
-called in |\setdefault[compmid=\boardtext]| (rather than using the
+called in |\setdefault{compmid=\boardtext}| (rather than using the
hard-coded number) to set it in the middle of the compass. In |\leftupper|
we use |\boardtext*| to print the boardnumber behind an additional text.
diff --git a/Master/texmf-dist/doc/latex/onedown/examples/showNS-warn-II.tex b/Master/texmf-dist/doc/latex/onedown/examples/showNS-warn-II.tex
index 9e0804bc779..516e9590056 100644
--- a/Master/texmf-dist/doc/latex/onedown/examples/showNS-warn-II.tex
+++ b/Master/texmf-dist/doc/latex/onedown/examples/showNS-warn-II.tex
@@ -33,8 +33,10 @@ so you can see that it \emph{is} on the vertical line through the mids of
\North*! and \South*!. With |\resetfonts| we return to the default values
of the fonts. With |\setdefaults| one can influence the look of diagrams.
In section |Compass| we'll go more into detail. Please note that |\setdefaults| has
-only 1 argument, It is \emph{optional} and must be enclosed in
-brackets (|[...]|).
+only 1 argument, It is \emph{mandatory} and must be enclosed in
+braces (|{...}|). The argument is a key-val list, separated by commas. I.e. rather
+than |\setdefaults{warn=off}\setdefaults{compmid=15}| one can also write
+|\setdefaults{warn=off,compmid=15}|.
\vfill
\begin{HBox}{showNS \hfill File: \FileName}
\newgame
diff --git a/Master/texmf-dist/doc/latex/onedown/onedown.pdf b/Master/texmf-dist/doc/latex/onedown/onedown.pdf
index deef40a103f..5824bb113c2 100644
--- a/Master/texmf-dist/doc/latex/onedown/onedown.pdf
+++ b/Master/texmf-dist/doc/latex/onedown/onedown.pdf
Binary files differ