diff options
author | Karl Berry <karl@freefriends.org> | 2019-10-21 20:51:57 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2019-10-21 20:51:57 +0000 |
commit | 7873aa917069da8d1dfcc60eb5eea04a8c4e62ce (patch) | |
tree | bc285e28a2fca66d861f9af54c3127125c6168f7 /Master/texmf-dist | |
parent | ef2ee92ba9a13edf8ae31e3941f8a47dae5e928e (diff) |
onedown (21oct19)
git-svn-id: svn://tug.org/texlive/trunk@52474 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist')
18 files changed, 397 insertions, 76 deletions
diff --git a/Master/texmf-dist/doc/latex/onedown/README b/Master/texmf-dist/doc/latex/onedown/README index a72c13ed325..e4e096028ca 100644 --- a/Master/texmf-dist/doc/latex/onedown/README +++ b/Master/texmf-dist/doc/latex/onedown/README @@ -1,11 +1,11 @@ -------------------------------------------------------------------------- -The OneDown package v1.3 - 2019/02/21 +The OneDown package v1.4 - 2019/10/15 A package to typeset diagrams for the game of bridge -------------------------------------------------------------------------- Jacob Wiersma Web: -E-Mail: jack46@online.de +E-Mail: jack@schuli-wirsi.de -------------------------------------------------------------------------- Copyright 2018 Jacob Wiersma @@ -33,6 +33,7 @@ the files - ODw-danish.trsl ODw-english.trsl ODw-french.trsl ODw-norwegian.trsl ODw-turkish.trsl ODw-dutch.trsl ODw-fallback.trsl ODw-german.trsl ODw-swedish.trsl + ODw-spanish.trsl the directory examples with the files - onedown-examples.pdf onedown-ref.pdf @@ -67,11 +68,17 @@ be generated. Use this option at your own risk. MORE DOCUMENTATION - examples/onedown-examples.pdf - examples/onedown-ref.pdf +These are in english. To get PDFs which shows the (output of) onedown commands +in your language run + pdflatex '\AtBeginDocument{\def\RefLang{french}}\input{onedown-ref.tex}' +or + pdflatex '\AtBeginDocument{\def\ExLang{norsk}}\input{onedown-examples.tex}' +This works for all supported languages -------------------------------------------------------------------------- DESCRIPTION This packages provides macros to typeset bridge diagrams, including hands -(stand alone or arround a compass), bidding tables (stand alone or in +(stand alone or around a compass), bidding tables (stand alone or in connection with hands/compass), trick tables and expert quizes. -------------------------------------------------------------------------- REQUIREMENTS diff --git a/Master/texmf-dist/doc/latex/onedown/examples/onedown-examples.pdf b/Master/texmf-dist/doc/latex/onedown/examples/onedown-examples.pdf Binary files differdeleted file mode 100644 index 9bc5e632475..00000000000 --- a/Master/texmf-dist/doc/latex/onedown/examples/onedown-examples.pdf +++ /dev/null diff --git a/Master/texmf-dist/doc/latex/onedown/examples/onedown-examples.tex b/Master/texmf-dist/doc/latex/onedown/examples/onedown-examples.tex index d572b06cd23..1e5f5b57ad3 100644 --- a/Master/texmf-dist/doc/latex/onedown/examples/onedown-examples.tex +++ b/Master/texmf-dist/doc/latex/onedown/examples/onedown-examples.tex @@ -1,6 +1,6 @@ %% %% onedown-examples.tex -%% April 16, 2018 +%% Oct 04, 2019 %% Requires the onedown bundle %% Part of the OneDown bundle (mirror.ctan.org/onedown) %% author: J. Wiersma @@ -17,9 +17,17 @@ \usepackage[T1]{fontenc} % \usepackage{subfiles}% can compile stand-alone/combined -\usepackage[dutch,norsk,% - turkish,shorthands=,% avoid problems with ':', '=' and '!' - german,english]{babel}% introduce possible languages +\usepackage[% + danish,% + dutch,% + french,% + german,% + norsk,% + spanish,es-noshorthands,% unset active chars to avoid problems with '.' '’' '"' '~' '<' and '>' + swedish,% + turkish,shorthands=,% unset active chars to avoid problems with ':', '=' and '!' + english,% +]{babel}% introduce all known languages, default is english %\usepackage[mono=false]{libertine}% verbatim needs option mono=false % linertine screws verbatim, at least I don't know how to handle that @@ -104,8 +112,15 @@ \def\SubFile#1{\def\FileName{#1}\newpage\section{#1}\subfile{#1}} \addtolength{\textheight}{1.5cm} - +\def\ExLang{english} \begin{document} +% when compiled with: +% pdflatex '\AtBeginDocument{\def\RefLang{YourLanguage}}\input{onedown-ref.tex}' +% you'll get the onedown commands expansions in YourLanguage +% YourLanguage can be any language out of: +% english, danish, dutch, french, german, norsk, spanish, swedish, turkish +% +\expandafter\selectlanguage\expandafter{\ExLang} \pdfbookmark[1]{Title}{Title} \title{Examples for the\\\OneDown package% \footnote{This file is part of the \OneDown bundle. To generate this file, @@ -137,6 +152,12 @@ sections bear the file name, which can also be found in the list below. The examples are produced using the \textsf{tcolorbox} package. This enables us to show the code and the output of it side by side. +The explanatory text is always in the English language. But you can show the output of all commands +in any of the supported languages.\\ +These are: english, danish, dutch, french, german, norsk, spanish, swedish, turkish. \\ +You obtain this output in \emph{YourLanguage} by compiling onedown-ref.tex with: \\[0.2em] + +\verb|pdflatex '\AtBeginDocument{\def\RefLang{YourLanguage}}\input{onedown-examples.tex}'| \par\vspace{1\baselineskip} \setlength\columnseprule{.8pt}% rule between cols \begin{multicols}{3}[{\centering \textbf{\Large List of Examples}}] diff --git a/Master/texmf-dist/doc/latex/onedown/examples/onedown-ref.pdf b/Master/texmf-dist/doc/latex/onedown/examples/onedown-ref.pdf Binary files differdeleted file mode 100644 index c59b80f6410..00000000000 --- a/Master/texmf-dist/doc/latex/onedown/examples/onedown-ref.pdf +++ /dev/null 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 44930e12e06..6d16724130e 100644 --- a/Master/texmf-dist/doc/latex/onedown/examples/onedown-ref.tex +++ b/Master/texmf-dist/doc/latex/onedown/examples/onedown-ref.tex @@ -1,4 +1,41 @@ -\documentclass[onedown-examples]{subfiles} +%% +%% onedown-ref.tex +%% Oct 04, 2019 +%% Requires the onedown bundle +%% Part of the OneDown bundle (mirror.ctan.org/onedown) +%% author: J. Wiersma +%%--------NOTE------------------------------------------- +%% USAGE: (pdf)latex onedown-ref.tex +%%------------------------------------------------------- + +\documentclass[a4paper,fontsize=11pt]{scrartcl} +\usepackage{scrlayer-scrpage} +% +\usepackage[utf8]{inputenc} +\usepackage[T1]{fontenc} +% +\usepackage[% + danish,% + dutch,% + french,% + german,% + norsk,% + spanish,es-noshorthands,% unset active chars to avoid problems with '.' '’' '"' '~' '<' and '>' + swedish,% + turkish,shorthands=,% unset active chars to avoid problems with ':', '=' and '!' + english,% +]{babel}% introduce all known languages, default is english + +\usepackage{onedown}% our own style to set bridge stuff +\usepackage[a4paper, total={185mm, 257mm},left=12mm,top=20mm]{geometry} +\newcommand\OneDown{\textcolor{red}{\smaller\bfseries\textsc{OneDown}}\xspace} +\usepackage{shortvrb} +\MakeShortVerb{\|} +\usepackage{enumitem}% +%\fi +% +%%% +% \usepackage[Q=yes]{examplep} \makeatletter \def\verbatim@font{\ttfamily\bfseries @@ -19,9 +56,16 @@ % \definecolor{optbackgr}{named}{lightgray} \newcommand\Oarg[1]{\colorbox{optbackgr}{\texttt{#1}}} - +% default language to show the onedown command +\def\RefLang{english} \begin{document} - +% when compiled with: +% pdflatex '\AtBeginDocument{\def\RefLang{YourLanguage}}\input{onedown-ref.tex}' +% you'll get the onedown commands expansions in YourLanguage +% YourLanguage can be any language out of: +% english, danish, dutch, french, german, norsk, spanish, swedish, turkish +% +\expandafter\selectlanguage\expandafter{\RefLang} \larger \newgeometry{total={150mm, 265mm},left=25mm,top=15mm} \pagestyle{empty} @@ -37,8 +81,14 @@ angles |<...>|. Optional tokens of a command appear with a different background color, like \Oarg{*!}. Output of a tokenized |\macro*!| is shown as: \quad|\macro|\Oarg{*!}|: \macro, \macro*, \macro!, \macro*!|\\ -All output is shown for the English language. - +The explanatory text is always in the English language. But you can show the output of all commands +in any of the supported languages.\\ +These are: english, danish, dutch, french, german, norsk, spanish, swedish, turkish. \\ +You obtain this output in \emph{YourLanguage} by compiling onedown-ref.tex with: \\[0.5em] +% +\verb|pdflatex '\AtBeginDocument{\def\RefLang{YourLanguage}}\input{onedown-ref.tex}'| +\\[0.7em] +\centerline{\textbf{This document shows the commands for the \emph{\RefLang}\ language}} \begin{description}[itemsep=-0.3em] \item[ace]: \ace \item[Ace\Oarg{*!}]: \Ace, \Ace*, \Ace!, \Ace*! @@ -118,7 +168,7 @@ To denote the rank \suit{T}, one has to use the uppercase letter |T|. \item[eastwest]: \eastwest \item[Eastwest\Oarg{*!}]: \EastWest, \EastWest*, \EastWest!, \EastWest*! -\item[expertquiz\Oarg{*!}\Q{[comment]}{award}]\\ +\item[expertquiz\Oarg{*!}\Q{[comment]{award}}]\\ Typesets a quiz, showing a predefined hand and a predefined bidding diagram. The star version centers the output. The token |!| forces a newline between hand and bidding @@ -460,6 +510,7 @@ These macros, called in a bidding table\ldots 8 & {\Pass*!} & {\Double*!} & {\Redouble*!} & {\Allpass*!} \\ 9 & {\pass} & {\double} & {\redouble} & {\allpass} \\ \end{tabular}\\ + \end{document} \endinput diff --git a/Master/texmf-dist/doc/latex/onedown/onedown.pdf b/Master/texmf-dist/doc/latex/onedown/onedown.pdf Binary files differindex 5824bb113c2..c503a279251 100644 --- a/Master/texmf-dist/doc/latex/onedown/onedown.pdf +++ b/Master/texmf-dist/doc/latex/onedown/onedown.pdf diff --git a/Master/texmf-dist/source/latex/onedown/onedown.dtx b/Master/texmf-dist/source/latex/onedown/onedown.dtx index 9e5e53941d5..89f6d5034b8 100644 --- a/Master/texmf-dist/source/latex/onedown/onedown.dtx +++ b/Master/texmf-dist/source/latex/onedown/onedown.dtx @@ -24,10 +24,10 @@ \ProvidesFile{onedown.dtx} %</driver> %<package>\NeedsTeXFormat{LaTeX2e}[2014/05/01] -%<package>\def\ODwstyleversion{1.3}\def\ODwstyledate{2019/02/21} +%<package>\def\ODwstyleversion{1.4}\def\ODwstyledate{2019/10/15} %<package>\ProvidesPackage{onedown} %<package> [\ODwstyledate\space v\ODwstyleversion\space -%<package> Typeset Bridge Diagrams - Jacob Wiersma (C) 2016-2018] +%<package> Typeset Bridge Diagrams - Jacob Wiersma (C) 2016-2019] % %<*driver> %\documentclass[a4paper,12pt,draft]{ltxdoc}% with draft no hyperrefs @@ -37,7 +37,7 @@ % \usepackage[T1]{fontenc} \usepackage[german,dutch,french,swedish,english,shorthands=]{babel} -\usepackage{onedown}[2018/10/31] +\usepackage{onedown}[2019/10/15] \usepackage[normalem]{ulem}% for strikeout todos that are done \usepackage{needspace}% keep contiguous lines on one page \usepackage[inline]{enumitem}% Control various parameters of lists @@ -209,7 +209,7 @@ %</driver> % \fi % -% \CheckSum{3731} +% \CheckSum{3771} % % \CharacterTable % {Upper-case \A\B\C\D\E\F\G\H\I\J\K\L\M\N\O\P\Q\R\S\T\U\V\W\X\Y\Z @@ -272,7 +272,7 @@ % - Made ODw@OtherFont local where necessary.\\ % - Redefined columntypes.\\ % - Made 'T' a code for '10'.\\ -% - Adapted the translate macro to enable both 1H and 1\cmd{\He} etc. \\ +% - Adapted the 'translate' macro to enable both 1H and 1\cmd{\He} etc. \\ % - Enhanced the documentation.} % % \changes{v0.6}{2018/03/14}{\\ @@ -290,9 +290,9 @@ % % \changes{v0.7a}{2018/03/24}{\\ % - Major change: Removed all \cmd{\bidXX} and \cmd{\bidXXpair} commands.\\ -% - The biddings can now be shown with \cmd{\showXX+} (with token '+').\\ +% - The biddings can now be shown with \cmd{\showXX+} (with token '\texttt{+}').\\ % - The macros \cmd{\hand-} and the bidding environments suppress their -% output with token '-'} +% output with token '\texttt{-}'} % % \changes{v0.8}{2018/04/11}{\\ % - Added package \packname{verbatimbox} to adjust verbatim font easily.\\ @@ -357,16 +357,35 @@ % \cmd{\ODw@LongCalls}\\ % - In command \cmd{\suit} changed 'JW \cmd{\ODw@GameSize}' into % '\cmd{\ODw@GameSize}'} -% \changes{v1.3}{2019/02/21}{\\ +% \changes{v1.3a}{2019/02/21}{\\ % - Added \cmd{\HLP} \\ % - Changed/Added in all relevant ODw-lang.trsl: \\ -% - FP into F and fp into f (entry HCP/hcp) \\ -% - Figuren-Punkte into Figurenpunkte and figuren-punkte into figurenpunkte \\ -% - FL into L and f{}l into l \\ -% - \cmd{\NewDictTranslation\\ -% \{HLP-(ODw)\}\{FL\}} (e.g. for german) +% - 'V0.4' into 'V0.4-2018/12/01' \\ +% - 'FP' into 'F' , 'fp' into 'f' (entry HCP/hcp) \\ +% - 'Figuren-Punkte' into 'Figurenpunkte' , 'figuren-punkte' into 'figurenpunkte' \\ +% - 'FL' into 'L' , 'f{}l' into 'l' \\ +% - \cmd{\NewDictTranslation\\ \{HLP-(ODw)\}\{FL\}} (german) +% } +% \changes{v1.3b}{2019/03/16}{\\ +% - Added setdefaults to the list of User Commands \\ +% - Corrected \cmd{\setdefaults} in onedown-examples: \\ +% - changed [~] into \{\} \\ +% - Adapted/corrected onedown-ref and onedown-examples \\ +% - Added color 'gray' for special effects +% } +% \changes{v1.4}{2019/10/12}{\\ +% - Made \emph{onedown-ref} independent of \emph{onedown-examples} and \emph{subfiles} \\ +% - Corrected some mistakes ODw-*.trsl files, all \texttt{V0.51-2019/10/15} \\ +% - Added macro \cmd{\Ten} to get rid of the extra enlargment by 'scalefnt' in \cmd{\gamefont} +% - Added support for the spanish language \\ +% - Made onedown-ref.tex and onedown-examples.tex multilangual. We can output the onedown +% commands in all supported languages. \\ +% - \cmd{\DeclareSymbolFont \\ \{symbols\}\{OMS\} \{txsy\}\{m\}\{n\}} interferes with package \packname{newtxmath}. +% I renamed \emph{symbols} into \textbf{ODw@symbols} and \emph{symbolsC} into \textbf{ODw@symbolsC} +% to solve this. % } % ^^A Note: ^^21 denotes the exclamation mark (!) +% ^^A Note: Char ' is not allowed within changes % % \DoNotIndex{\newcommand,\newenvironment,\BODY,\boolean,\IfEqCase,\IfInteger, % \DeclareFontSubstitution,\dimexpr,\ifcat,\ifmmode,\IfValueT, @@ -442,7 +461,7 @@ % ^^A The frustrating ltxdoc also obfuscates this simple thing! % \thispagestyle{empty} % } -% \author{Jacob Wiersma \\ \url{jack46@online.de}} +% \author{Jacob Wiersma \\ \url{jack@schuli-wirsi.de}} % \date{v\ODwstyleversion~from \ODwstyledate} % % \maketitle @@ -670,10 +689,11 @@ pdflatex --shell-escape onedown.dtx % As said before, the package loads its options using the % \meta{key}=\meta{val} syntax. These options deal with: % \begin{itemize} -% \item[colors] \verb:colors=0|1|2|4A|4B:\\ +% \item[colors] \verb:colors=0|1|2|3|4A|4B:\\ % The color in which the card symbols will % be printed. The color options are \textbf{0} (black only), \textbf{1} -% (black and white) \textbf{2} (black and red), \textbf{4A} (green, orange, +% (black and white) \textbf{2} (black and red), \textbf{3} (grey (for special effects)), +% \textbf{4A} (green, orange, % red and blue), \textbf{4B} (black, orange, red and green). We also % defined some synonyms, as shown in the table below. % \par @@ -685,12 +705,16 @@ pdflatex --shell-escape onedown.dtx % (synonyms: |b+w|) % \item[x=2:] {\setdefaults{colors=2} \Cl, \Di, \He and \Sp} % (synonyms: |b+r|) +% \item[x=3:] {\setdefaults{colors=3} \Cl, \Di, \He and \Sp} +% (synonyms: |gray|, |grey|) % \item[x=4A:] {\setdefaults{colors=4A} \Cl, \Di, \He and \Sp} % (synonyms: |4a|, |fourA|) % \item[x=4B:] {\setdefaults{colors=4B} \Cl, \Di, \He and \Sp} % (synonyms: |4b|, |fourB|) % \end{itemize} -% The default is |colors=2| for printing in black and red. +% The default is |colors=2| for printing in black and red. Please note, that |colors=3| is not +% meant to typeset the whole document. You can use it if you want e.g. to repeat something and want +% it to be less apparent. % \item[err, warn] \verb:err=on|off:\qquad\verb:warn=|on|off:\\ % These options regulate which messages are to be output. These % messages have to do with the consistency of cards in @@ -712,7 +736,7 @@ pdflatex --shell-escape onedown.dtx % \subsubsection{Active Characters: a Warning}\label{Languages} % % \OneDown uses the \packname{tranlation} package to automatically -% translate oft appearing brigde terms like e.g.\ \emph{declarer}. It does +% translate often appearing brigde terms like e.g.\ \emph{declarer}. It does % so by looking up these terms in the special |ODw|-dictionary for the % active language. The current \OneDown version supports English, German, % Dutch, French, most Scadinavian languages and Turkish. Some dictionaries @@ -875,7 +899,9 @@ pdflatex --shell-escape onedown.dtx % \DescribeMacro{\eastwest}\MacroDef*+{eastwest}[\hfill \eastwest] % The next 4 macros typeset the \emph{unit} of the points when valuing a % bridge hand. If one or more of these items do not appear in your bridge -% world, don't argue them, Just don't use them! +% world, don't argue them, Just don't use them! They are meant to specify +% \emph{High Card Points}, \emph{High Card + Length Points}, \emph{Length Points}, +% \emph{Distribution Points} and \emph{Total Points} respectively. % \par\vspace{0.5\baselineskip}\noindent % \DescribeMacro{\HCP}\MacroDef*+{HCP}[\hfill \HCP] % \par\noindent @@ -1426,7 +1452,7 @@ pdflatex --shell-escape onedown.dtx % other & otherfont \\\hline % \\ % key & value \\\hline -% colors & 0|1|\underline{2}|4A|4B \\ +% colors & 0|1|\underline{2}|3|4A|4B \\ % warn & \underline{off}|on \\ % err & off|\underline{on} \\ % \hline @@ -1661,6 +1687,7 @@ pdflatex --shell-escape onedown.dtx % \subsection{ToDo} % % \begin{itemize}[itemsep=-2mm] +% \item Add the High Points to card diagrams (like Turnier in KA) % \item Check if |\def\xspace{}| is also needed in bidding...? % \item Make a template for showing 16 hands on 1 DIN A4 (3x5+1 or 4x4 % landscape) e.g as handout for the hands on slides. @@ -2131,32 +2158,34 @@ pdflatex --shell-escape onedown.dtx % % Code stolen from txfonts.sty. % It works smoothly: thank you guys! +% Because of an interference with package newtxmath I had to rename +% symbols into ODw@symbols and symbolsC into ODw@symbolsC % -\DeclareSymbolFont{symbols}{OMS}{txsy}{m}{n} -\SetSymbolFont{symbols}{bold}{OMS}{txsy}{bx}{n} +\DeclareSymbolFont{ODw@symbols}{OMS}{txsy}{m}{n} +\SetSymbolFont{ODw@symbols}{bold}{OMS}{txsy}{bx}{n} \DeclareFontSubstitution{OMS}{txsy}{m}{n} -\DeclareSymbolFont{symbolsC}{U}{txsyc}{m}{n} -\SetSymbolFont{symbolsC}{bold}{U}{txsyc}{bx}{n} +\DeclareSymbolFont{ODw@symbolsC}{U}{txsyc}{m}{n} +\SetSymbolFont{ODw@symbolsC}{bold}{U}{txsyc}{bx}{n} \DeclareFontSubstitution{U}{txsyc}{m}{n} % \end{macrocode} % \begin{macro}{\ODw@spadesuit} % \begin{macrocode} -\DeclareMathSymbol{\ODw@spadesuit}{\mathord}{symbols}{127} +\DeclareMathSymbol{\ODw@spadesuit}{\mathord}{ODw@symbols}{127} % \end{macrocode} % \end{macro} % \begin{macro}{\ODw@varheart} % \begin{macrocode} -\DeclareMathSymbol{\ODw@varheart}{\mathord}{symbolsC}{114} +\DeclareMathSymbol{\ODw@varheart}{\mathord}{ODw@symbolsC}{114} % \end{macrocode} % \end{macro} % \begin{macro}{\ODw@vardiamond} % \begin{macrocode} -\DeclareMathSymbol{\ODw@vardiamond}{\mathord}{symbolsC}{113} +\DeclareMathSymbol{\ODw@vardiamond}{\mathord}{ODw@symbolsC}{113} % \end{macrocode} % \end{macro} % \begin{macro}{\ODw@clubsuit} % \begin{macrocode} -\DeclareMathSymbol{\ODw@clubsuit}{\mathord}{symbols}{124} +\DeclareMathSymbol{\ODw@clubsuit}{\mathord}{ODw@symbols}{124} % \end{macrocode} % \end{macro} % @@ -2172,6 +2201,8 @@ pdflatex --shell-escape onedown.dtx % |colors=0| means mono-color (black only), synonyms of key 0 are |mono| % and |black|. |colors=1| means black and white, a synonym is |b+w|. % |colors=2| means bi-color (black and red), with synonym |b+r|. +% |colors=3| means grey, with synonyms |gray| and |grey|. This 'color' is meant for special +% effects, e.g. for making unimportant parts less visible % |colors=4A| gives qua-color (green, orange, red and blue); synonyms are % |fourA| and |4a|. Finally |colors=4B| defines the second qua-color (black, % orange, red and green) with synonyms |fourB| and |4b|. @@ -2236,6 +2267,22 @@ pdflatex --shell-escape onedown.dtx \ODw@set{colors/b+r/.code={\pgfkeys{/ODw/colors=2}}} % \ODw@set{% + colors/3/.code={% + \ODw@monochromefalse% + \renewrobustcmd\Cl{\textcolor{gray}% + {\,[0.3]\ensuremath{\ODw@clubsuit}}\xspace}% + \renewrobustcmd\Di{\textcolor{gray}% + {\,[0.3]\ensuremath{\ODw@vardiamond}}\xspace}% + \renewrobustcmd\He{\textcolor{gray}% + {\,[0.3]\ensuremath{\ODw@varheart}}\xspace}% + \renewrobustcmd\Sp{\textcolor{gray}% + {\,[0.3]\ensuremath{\ODw@spadesuit}}\xspace}% + }% +} +\ODw@set{colors/grey/.code={\pgfkeys{/ODw/colors=3}}} +\ODw@set{colors/gray/.code={\pgfkeys{/ODw/colors=3}}} +% +\ODw@set{% colors/4A/.code={% \ODw@monochromefalse% \renewrobustcmd\Cl{\textcolor{green}% @@ -5343,6 +5390,19 @@ pdflatex --shell-escape onedown.dtx % \end{macro} % \end{macro} % +% \begin{macro}{\Ten} +% \begin{macrocode} +\newcommand{\Ten}{% + \bgroup% +%JW \ODw@GameFont% + 10% + \egroup% + \xspace% +}% Ten +% \end{macrocode} +% \end{macro} + +% % \subsubsection{Vulnerability} % % These macros retrieve the translations of the 4 alternative forms of the diff --git a/Master/texmf-dist/tex/latex/onedown/ODw-danish.trsl b/Master/texmf-dist/tex/latex/onedown/ODw-danish.trsl index fb83c04e505..0f8c9dbbc7b 100644 --- a/Master/texmf-dist/tex/latex/onedown/ODw-danish.trsl +++ b/Master/texmf-dist/tex/latex/onedown/ODw-danish.trsl @@ -4,7 +4,7 @@ % %% retrieve with e.g \GetTranslation{dealer-(ODw)} to get givare % -\ProvideDictionaryFor{danish}{ODw}[V0.50-2019/02/21] +\ProvideDictionaryFor{danish}{ODw}[V0.51-2019/10/15] \NewDictTranslation{1st-(ODw)}{1.} \NewDictTranslation{2nd-(ODw)}{2.} @@ -123,7 +123,7 @@ \NewDictTranslation{redoubled-(ODw)}{redubbelt} \NewDictTranslation{Redoubled-(ODw)}{Redubbelt} \NewDictTranslation{redouble-(ODw)}{redubbelt} -\NewDictTranslation{Redouble-(ODw)}{Redubbelt} +\NewDictTranslation{ReDouble-(ODw)}{Redubbelt} \NewDictTranslation{semi forcing-(ODw)}{semi forcing} \NewDictTranslation{Semi Forcing-(ODw)}{Semi Forcing} \NewDictTranslation{sf-(ODw)}{sf} @@ -140,8 +140,8 @@ \NewDictTranslation{Third Suit Forcing-(ODw)}{Tredje Farve Forcing} \NewDictTranslation{total points-(ODw)}{total points} \NewDictTranslation{Total Points-(ODw)}{Total Points} -\NewDictTranslation{tp-(ODw)}{sp} -\NewDictTranslation{TP-(ODw)}{SP} +\NewDictTranslation{tp-(ODw)}{tp} +\NewDictTranslation{TP-(ODw)}{TP} \NewDictTranslation{trial bid-(ODw)}{trial bid} \NewDictTranslation{Trial bid-(ODw)}{Trial bid} \NewDictTranslation{trick-(ODw)}{træk} diff --git a/Master/texmf-dist/tex/latex/onedown/ODw-dutch.trsl b/Master/texmf-dist/tex/latex/onedown/ODw-dutch.trsl index c9b3256be1e..d2ab2df5c8e 100644 --- a/Master/texmf-dist/tex/latex/onedown/ODw-dutch.trsl +++ b/Master/texmf-dist/tex/latex/onedown/ODw-dutch.trsl @@ -4,7 +4,7 @@ % % retrieve with e.g. \GetTranslation{dealer-(ODw)} to get dealer % -\ProvideDictionaryFor{dutch}{ODw}[V0.50-2019/02/21] +\ProvideDictionaryFor{dutch}{ODw}[V0.51-2019/10/15] \NewDictTranslation{1st-(ODw)}{1ste} \NewDictTranslation{2nd-(ODw)}{2de} @@ -119,15 +119,15 @@ \NewDictTranslation{Q-(ODw)}{V} \NewDictTranslation{queen-(ODw)}{vrouw} \NewDictTranslation{Queen-(ODw)}{Vrouw} -\NewDictTranslation{ReDbl-(ODw)}{ReDbl} +\NewDictTranslation{ReDbl-(ODw)}{ReDblt} \NewDictTranslation{redoubled-(ODw)}{geredoubleerd} \NewDictTranslation{Redoubled-(ODw)}{Geredoubleerd} \NewDictTranslation{redouble-(ODw)}{redoublet} -\NewDictTranslation{Redouble-(ODw)}{Redoublet} +\NewDictTranslation{ReDouble-(ODw)}{Redoublet} \NewDictTranslation{semi forcing-(ODw)}{semi-mancheforcing} \NewDictTranslation{Semi Forcing-(ODw)}{Semi-MancheForcing} -\NewDictTranslation{sf-(ODw)}{sf} -\NewDictTranslation{SF-(ODw)}{SF} +\NewDictTranslation{sf-(ODw)}{smf} +\NewDictTranslation{SF-(ODw)}{SMF} \NewDictTranslation{s-(ODw)}{z} \NewDictTranslation{S-(ODw)}{Z} \NewDictTranslation{south-(ODw)}{zuid} diff --git a/Master/texmf-dist/tex/latex/onedown/ODw-english.trsl b/Master/texmf-dist/tex/latex/onedown/ODw-english.trsl index 6060e38966e..052acb217cc 100644 --- a/Master/texmf-dist/tex/latex/onedown/ODw-english.trsl +++ b/Master/texmf-dist/tex/latex/onedown/ODw-english.trsl @@ -4,7 +4,7 @@ % % retrieve with e.g. \GetTranslation{dealer-(ODw)} to get dealer % -\ProvideDictionaryFor{english}{ODw}[V0.50-2019/02/21] +\ProvideDictionaryFor{english}{ODw}[V0.51-2019/10/15] \NewDictTranslation{1st-(ODw)}{1st} \NewDictTranslation{2nd-(ODw)}{2nd} diff --git a/Master/texmf-dist/tex/latex/onedown/ODw-fallback.trsl b/Master/texmf-dist/tex/latex/onedown/ODw-fallback.trsl index 135f8b34278..7c79d06de37 100644 --- a/Master/texmf-dist/tex/latex/onedown/ODw-fallback.trsl +++ b/Master/texmf-dist/tex/latex/onedown/ODw-fallback.trsl @@ -4,7 +4,7 @@ % % retrieve with e.g. \GetTranslation{dealer-(ODw)} to get dealer % -\ProvideDictionaryFor{fallback}{ODw}[V0.50-2019/02/21] +\ProvideDictionaryFor{fallback}{ODw}[V0.51-2019/10/15] \NewDictTranslation{1st-(ODw)}{1st} \NewDictTranslation{2nd-(ODw)}{2nd} diff --git a/Master/texmf-dist/tex/latex/onedown/ODw-french.trsl b/Master/texmf-dist/tex/latex/onedown/ODw-french.trsl index b1d5a7e4fd6..5a9ec7e8c1e 100644 --- a/Master/texmf-dist/tex/latex/onedown/ODw-french.trsl +++ b/Master/texmf-dist/tex/latex/onedown/ODw-french.trsl @@ -4,7 +4,7 @@ % % retrieve with e.g. \GetTranslation{dealer-(ODw)} to get donneur % -\ProvideDictionaryFor{french}{ODw}[V0.50-2019/02/21] +\ProvideDictionaryFor{french}{ODw}[V0.51-2019/10/15] \NewDictTranslation{1st-(ODw)}{1er} \NewDictTranslation{2nd-(ODw)}{2e} @@ -28,8 +28,8 @@ \NewDictTranslation{Bid-(ODw)}{Enchère} \NewDictTranslation{board-(ODw)}{etui} \NewDictTranslation{Board-(ODw)}{Etui} -\NewDictTranslation{brd-(ODw)}{bte} -\NewDictTranslation{Brd-(ODw)}{Bte} +\NewDictTranslation{brd-(ODw)}{etui} +\NewDictTranslation{Brd-(ODw)}{Etui} \NewDictTranslation{by-(ODw)}{pour} \NewDictTranslation{call-(ODw)}{annonce} \NewDictTranslation{Call-(ODw)}{Annonce} diff --git a/Master/texmf-dist/tex/latex/onedown/ODw-german.trsl b/Master/texmf-dist/tex/latex/onedown/ODw-german.trsl index 35ac8e3de75..b1cd730f375 100644 --- a/Master/texmf-dist/tex/latex/onedown/ODw-german.trsl +++ b/Master/texmf-dist/tex/latex/onedown/ODw-german.trsl @@ -4,7 +4,7 @@ % % retrieve with e.g. \GetTranslation{dealer-(ODw)} to get teiler % -\ProvideDictionaryFor{german}{ODw}[V0.50-2019/02/21] +\ProvideDictionaryFor{german}{ODw}[V0.51-2019/10/15] \NewDictTranslation{1st-(ODw)}{1.} \NewDictTranslation{2nd-(ODw)}{2.} @@ -38,7 +38,7 @@ \NewDictTranslation{Contract-(ODw)}{Kontrakt} \NewDictTranslation{contr-(ODw)}{kontr} \NewDictTranslation{Contr-(ODw)}{Kontr} -\NewDictTranslation{Dbl-(ODw)}{Kontra} +\NewDictTranslation{Dbl-(ODw)}{Kntr} \NewDictTranslation{dealer-(ODw)}{teiler} \NewDictTranslation{Dealer-(ODw)}{Teiler} \NewDictTranslation{deal!-(ODw)}{aust} @@ -119,11 +119,11 @@ \NewDictTranslation{Q-(ODw)}{D} \NewDictTranslation{queen-(ODw)}{dame} \NewDictTranslation{Queen-(ODw)}{Dame} -\NewDictTranslation{ReDbl-(ODw)}{ReKontra} +\NewDictTranslation{ReDbl-(ODw)}{ReKntr} \NewDictTranslation{redoubled-(ODw)}{rekontriert} \NewDictTranslation{Redoubled-(ODw)}{Rekontriert} \NewDictTranslation{redouble-(ODw)}{rekontra} -\NewDictTranslation{Redouble-(ODw)}{Rekontra} +\NewDictTranslation{ReDouble-(ODw)}{ReKontra} \NewDictTranslation{semi forcing-(ODw)}{semi forcing} \NewDictTranslation{Semi Forcing-(ODw)}{Semi Forcing} \NewDictTranslation{sf-(ODw)}{sf} diff --git a/Master/texmf-dist/tex/latex/onedown/ODw-norwegian.trsl b/Master/texmf-dist/tex/latex/onedown/ODw-norwegian.trsl index d8169b4715a..894ad713dc7 100644 --- a/Master/texmf-dist/tex/latex/onedown/ODw-norwegian.trsl +++ b/Master/texmf-dist/tex/latex/onedown/ODw-norwegian.trsl @@ -4,7 +4,7 @@ % % retrieve with e.g \GetTranslation{dealer-(ODw)} to get givare % -\ProvideDictionaryFor{norwegian}{ODw}[V0.50-2019/02/21] +\ProvideDictionaryFor{norwegian}{ODw}[V0.51-2019/10/15] \NewDictTranslation{1st-(ODw)}{1.} \NewDictTranslation{2nd-(ODw)}{2.} @@ -123,7 +123,7 @@ \NewDictTranslation{redoubled-(ODw)}{redoblet} \NewDictTranslation{Redoubled-(ODw)}{Redoblet} \NewDictTranslation{redouble-(ODw)}{redoblet} -\NewDictTranslation{Redouble-(ODw)}{Redoblet} +\NewDictTranslation{ReDouble-(ODw)}{Redoblet} \NewDictTranslation{semi forcing-(ODw)}{RundKrav} \NewDictTranslation{Semi Forcing-(ODw)}{RundKrav} \NewDictTranslation{sf-(ODw)}{rk} @@ -140,8 +140,8 @@ \NewDictTranslation{Third Suit Forcing-(ODw)}{Tredje Farge Forcing} \NewDictTranslation{total points-(ODw)}{totalt poeng} \NewDictTranslation{Total Points-(ODw)}{Totalt Poeng} -\NewDictTranslation{tp-(ODw)}{sp} -\NewDictTranslation{TP-(ODw)}{SP} +\NewDictTranslation{tp-(ODw)}{tp} +\NewDictTranslation{TP-(ODw)}{TP} \NewDictTranslation{trial bid-(ODw)}{prøving bud} \NewDictTranslation{Trial bid-(ODw)}{Prøving bud} \NewDictTranslation{trick-(ODw)}{trekk} diff --git a/Master/texmf-dist/tex/latex/onedown/ODw-spanish.trsl b/Master/texmf-dist/tex/latex/onedown/ODw-spanish.trsl new file mode 100644 index 00000000000..db88594dd70 --- /dev/null +++ b/Master/texmf-dist/tex/latex/onedown/ODw-spanish.trsl @@ -0,0 +1,160 @@ +% this is file ODw-spanish.trsl from the OneDown bundle +% +% Entries with a "!" denote an abreviated form +% +% retrieve with e.g. \GetTranslation{dealer-(ODw)} to get donneur +% +\ProvideDictionaryFor{spanish}{ODw}[V0.51-2019/10/15] + +\NewDictTranslation{1st-(ODw)}{1er} +\NewDictTranslation{2nd-(ODw)}{2do} +\NewDictTranslation{3rd-(ODw)}{3er} +\NewDictTranslation{4th-(ODw)}{4th} +\NewDictTranslation{ace-(ODw)}{as} +\NewDictTranslation{Ace-(ODw)}{As} +\NewDictTranslation{all-(ODw)}{todos} +\NewDictTranslation{All-(ODw)}{Todos} +\NewDictTranslation{all!-(ODw)}{todos} +\NewDictTranslation{All!-(ODw)}{Todos} +\NewDictTranslation{all pass-(ODw)}{todos pasan} +\NewDictTranslation{All pass-(ODw)}{Todos pasan} +\NewDictTranslation{a-(ODw)}{a} +\NewDictTranslation{A-(ODw)}{A} +\NewDictTranslation{ap-(ODw)}{tp} +\NewDictTranslation{AP-(ODw)}{TP} +\NewDictTranslation{award-(ODw)}{premio} +\NewDictTranslation{Award-(ODw)}{Premio} +\NewDictTranslation{bid-(ODw)}{contrato} +\NewDictTranslation{Bid-(ODw)}{Contrato} +\NewDictTranslation{board-(ODw)}{estuche} +\NewDictTranslation{Board-(ODw)}{Estuche} +\NewDictTranslation{brd-(ODw)}{est} +\NewDictTranslation{Brd-(ODw)}{Est} +\NewDictTranslation{by-(ODw)}{por} +\NewDictTranslation{call-(ODw)}{annonce} +\NewDictTranslation{Call-(ODw)}{Annonce} +\NewDictTranslation{-card-(ODw)}{-carta} +\NewDictTranslation{contract-(ODw)}{contrato final} +\NewDictTranslation{Contract-(ODw)}{Contrato final} +\NewDictTranslation{contr-(ODw)}{ctrf} +\NewDictTranslation{Contr-(ODw)}{Ctrf} +\NewDictTranslation{Dbl-(ODw)}{Dbl} +\NewDictTranslation{dealer-(ODw)}{dador} +\NewDictTranslation{Dealer-(ODw)}{Dador} +\NewDictTranslation{deal!-(ODw)}{donne} +\NewDictTranslation{Deal!-(ODw)}{Donne} +\NewDictTranslation{deal-(ODw)}{donne} +\NewDictTranslation{Deal-(ODw)}{Donne} +\NewDictTranslation{declarer-(ODw)}{declarante} +\NewDictTranslation{Declarer-(ODw)}{Declarante} +\NewDictTranslation{decl-(ODw)}{decl} +\NewDictTranslation{Decl-(ODw)}{Decl} +\NewDictTranslation{distribution points-(ODw)}{puntos de distribución} +\NewDictTranslation{Distribution Points-(ODw)}{Puntos de Distribución} +\NewDictTranslation{doubled-(ODw)}{doblado} +\NewDictTranslation{Doubled-(ODw)}{Doblado} +\NewDictTranslation{double-(ODw)}{doblo} +\NewDictTranslation{Double-(ODw)}{Doblo} +\NewDictTranslation{dp-(ODw)}{pd} +\NewDictTranslation{DP-(ODw)}{PD} +\NewDictTranslation{east-(ODw)}{este} +\NewDictTranslation{East-(ODw)}{Este} +\NewDictTranslation{e-(ODw)}{e} +\NewDictTranslation{E-(ODw)}{E} +\NewDictTranslation{fourth suit forcing-(ODw)}{cuarto palo forcing} +\NewDictTranslation{Fourth Suit Forcing-(ODw)}{Cuarto Palo Forcing} +\NewDictTranslation{fsf-(ODw)}{4th\,pf} +\NewDictTranslation{FSF-(ODw)}{4th\,PF} +\NewDictTranslation{game forcing-(ODw)}{forcing a manga} +\NewDictTranslation{Game Forcing-(ODw)}{Forcing a Manga} +\NewDictTranslation{GF-(ODw)}{FG} +\NewDictTranslation{gf-(ODw)}{fg} +\NewDictTranslation{hand-(ODw)}{mano} +\NewDictTranslation{Hand-(ODw)}{Mano} +\NewDictTranslation{hcp-(ODw)}{ph} +\NewDictTranslation{HCP-(ODw)}{PH} +\NewDictTranslation{high card points-(ODw)}{puntos de honores} +\NewDictTranslation{High Card Points-(ODw)}{Puntos de Honores} +\NewDictTranslation{hlp-(ODw)}{hl} +\NewDictTranslation{HLP-(ODw)}{HL} +\NewDictTranslation{jack-(ODw)}{jaco} +\NewDictTranslation{Jack-(ODw)}{Jaco} +\NewDictTranslation{j-(ODw)}{j} +\NewDictTranslation{J-(ODw)}{J} +\NewDictTranslation{king-(ODw)}{rey} +\NewDictTranslation{King-(ODw)}{Rey} +\NewDictTranslation{k-(ODw)}{r} +\NewDictTranslation{K-(ODw)}{R} +\NewDictTranslation{lead!-(ODw)}{ent.} +\NewDictTranslation{Lead!-(ODw)}{Ent.} +\NewDictTranslation{lead-(ODw)}{entame} +\NewDictTranslation{Lead-(ODw)}{Entame} +\NewDictTranslation{length points-(ODw)}{points de longueur} +\NewDictTranslation{Length Points-(ODw)}{Points de Longueur} +\NewDictTranslation{lp-(ODw)}{pl} +\NewDictTranslation{LP-(ODw)}{PL} +\NewDictTranslation{new minor forcing-(ODw)}{neuvo menor forcing} +\NewDictTranslation{New Minor Forcing-(ODw)}{Neuvo Menor Forcing} +\NewDictTranslation{nmf-(ODw)}{nmf} +\NewDictTranslation{NMF-(ODw)}{NMF} +\NewDictTranslation{n-(ODw)}{n} +\NewDictTranslation{N-(ODw)}{N} +\NewDictTranslation{none-(ODw)}{nadie} +\NewDictTranslation{None-(ODw)}{Nadie} +\NewDictTranslation{none!-(ODw)}{nadie} +\NewDictTranslation{None!-(ODw)}{Nadie} +\NewDictTranslation{north-(ODw)}{norte} +\NewDictTranslation{North-(ODw)}{Norte} +\NewDictTranslation{no trump-(ODw)}{sin triunfo} +\NewDictTranslation{No Trump-(ODw)}{Sin Triunfo} +\NewDictTranslation{Nr-(ODw)}{\textnumero} +\NewDictTranslation{Nr.-(ODw)}{\textnumero.} +\NewDictTranslation{nt-(ODw)}{st} +\NewDictTranslation{NT-(ODw)}{S\kern-0.01emT} +\NewDictTranslation{pass-(ODw)}{paso} +\NewDictTranslation{Pass-(ODw)}{Paso} +\NewDictTranslation{pass!-(ODw)}{p} +\NewDictTranslation{Pass!-(ODw)}{P} +\NewDictTranslation{q-(ODw)}{d} +\NewDictTranslation{Q-(ODw)}{D} +\NewDictTranslation{queen-(ODw)}{dama} +\NewDictTranslation{Queen-(ODw)}{Dama} +\NewDictTranslation{ReDbl-(ODw)}{ReDbl} +\NewDictTranslation{redoubled-(ODw)}{redoblado} +\NewDictTranslation{Redoubled-(ODw)}{Redoblado} +\NewDictTranslation{redouble-(ODw)}{redoblo} +\NewDictTranslation{Redouble-(ODw)}{Redoblo} +\NewDictTranslation{semi forcing-(ODw)}{semi forcing} +\NewDictTranslation{Semi Forcing-(ODw)}{Semi Forcing} +\NewDictTranslation{SF-(ODw)}{SF} +\NewDictTranslation{sf-(ODw)}{sf} +\NewDictTranslation{s-(ODw)}{s} +\NewDictTranslation{S-(ODw)}{S} +\NewDictTranslation{south-(ODw)}{sur} +\NewDictTranslation{South-(ODw)}{Sur} +\NewDictTranslation{suiter-(ODw)}{color} +\NewDictTranslation{Suiter-(ODw)}{Color} +\NewDictTranslation{suit-(ODw)}{palo} +\NewDictTranslation{Suit-(ODw)}{Palo} +\NewDictTranslation{third suit forcing-(ODw)}{tercer palo forcing} +\NewDictTranslation{Third Suit Forcing-(ODw)}{Tercer Palo Forcing} +\NewDictTranslation{total points-(ODw)}{puntos de honor-distribución} +\NewDictTranslation{Total Points-(ODw)}{Puntos de Honor-Distribución} +\NewDictTranslation{TP-(ODw)}{PHD} +\NewDictTranslation{tp-(ODw)}{phd} +\NewDictTranslation{trial bid-(ODw)}{trial bid} +\NewDictTranslation{Trial bid-(ODw)}{Trial bid} +\NewDictTranslation{trick-(ODw)}{baza} +\NewDictTranslation{Trick-(ODw)}{Baza} +\NewDictTranslation{tsf-(ODw)}{3er\,pf} +\NewDictTranslation{TSF-(ODw)}{3er\,PF} +\NewDictTranslation{vulnerable-(ODw)}{vulnerable} +\NewDictTranslation{Vulnerable-(ODw)}{Vulnerable} +\NewDictTranslation{vul-(ODw)}{vul} +\NewDictTranslation{Vul-(ODw)}{Vul} +\NewDictTranslation{west-(ODw)}{oeste} +\NewDictTranslation{West-(ODw)}{Oeste} +\NewDictTranslation{w-(ODw)}{o} +\NewDictTranslation{W-(ODw)}{O} +% +\endinput diff --git a/Master/texmf-dist/tex/latex/onedown/ODw-swedish.trsl b/Master/texmf-dist/tex/latex/onedown/ODw-swedish.trsl index 336c5a4d3dc..5426b5e7970 100644 --- a/Master/texmf-dist/tex/latex/onedown/ODw-swedish.trsl +++ b/Master/texmf-dist/tex/latex/onedown/ODw-swedish.trsl @@ -4,7 +4,7 @@ % Thanks to Per Karlberg % retrieve with e.g \GetTranslation{dealer-(ODw)} to get givare % -\ProvideDictionaryFor{swedish}{ODw}[V0.50-2019/02/21] +\ProvideDictionaryFor{swedish}{ODw}[V0.51-2019/10/15] \NewDictTranslation{1st-(ODw)}{1:a} \NewDictTranslation{2nd-(ODw)}{2:a} diff --git a/Master/texmf-dist/tex/latex/onedown/ODw-turkish.trsl b/Master/texmf-dist/tex/latex/onedown/ODw-turkish.trsl index e4f86833943..384fa6dfb1b 100644 --- a/Master/texmf-dist/tex/latex/onedown/ODw-turkish.trsl +++ b/Master/texmf-dist/tex/latex/onedown/ODw-turkish.trsl @@ -4,7 +4,7 @@ % % retrieve with e.g. \GetTranslation{dealer-(ODw)} to get kâğıdı % -\ProvideDictionaryFor{turkish}{ODw}[V0.50-2019/02/21] +\ProvideDictionaryFor{turkish}{ODw}[V0.51-2019/10/15] \NewDictTranslation{1st-(ODw)}{1.} \NewDictTranslation{2nd-(ODw)}{2.} diff --git a/Master/texmf-dist/tex/latex/onedown/onedown.sty b/Master/texmf-dist/tex/latex/onedown/onedown.sty index 2467af97dec..a11c65c7008 100644 --- a/Master/texmf-dist/tex/latex/onedown/onedown.sty +++ b/Master/texmf-dist/tex/latex/onedown/onedown.sty @@ -21,10 +21,10 @@ %% 2005/12/01 or later. %% \NeedsTeXFormat{LaTeX2e}[2014/05/01] -\def\ODwstyleversion{1.3}\def\ODwstyledate{2019/02/21} +\def\ODwstyleversion{1.4}\def\ODwstyledate{2019/10/15} \ProvidesPackage{onedown} [\ODwstyledate\space v\ODwstyleversion\space - Typeset Bridge Diagrams - Jacob Wiersma (C) 2016-2018] + Typeset Bridge Diagrams - Jacob Wiersma (C) 2016-2019] %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% @@ -132,16 +132,16 @@ }% gamefont \fontencoding{T1}\fontfamily{stix} \fontseries{m}\fontshape{n}\selectfont -\DeclareSymbolFont{symbols}{OMS}{txsy}{m}{n} -\SetSymbolFont{symbols}{bold}{OMS}{txsy}{bx}{n} +\DeclareSymbolFont{ODw@symbols}{OMS}{txsy}{m}{n} +\SetSymbolFont{ODw@symbols}{bold}{OMS}{txsy}{bx}{n} \DeclareFontSubstitution{OMS}{txsy}{m}{n} -\DeclareSymbolFont{symbolsC}{U}{txsyc}{m}{n} -\SetSymbolFont{symbolsC}{bold}{U}{txsyc}{bx}{n} +\DeclareSymbolFont{ODw@symbolsC}{U}{txsyc}{m}{n} +\SetSymbolFont{ODw@symbolsC}{bold}{U}{txsyc}{bx}{n} \DeclareFontSubstitution{U}{txsyc}{m}{n} -\DeclareMathSymbol{\ODw@spadesuit}{\mathord}{symbols}{127} -\DeclareMathSymbol{\ODw@varheart}{\mathord}{symbolsC}{114} -\DeclareMathSymbol{\ODw@vardiamond}{\mathord}{symbolsC}{113} -\DeclareMathSymbol{\ODw@clubsuit}{\mathord}{symbols}{124} +\DeclareMathSymbol{\ODw@spadesuit}{\mathord}{ODw@symbols}{127} +\DeclareMathSymbol{\ODw@varheart}{\mathord}{ODw@symbolsC}{114} +\DeclareMathSymbol{\ODw@vardiamond}{\mathord}{ODw@symbolsC}{113} +\DeclareMathSymbol{\ODw@clubsuit}{\mathord}{ODw@symbols}{124} \def\Cl{}\def\Di{}\def\He{}\def\Sp{}% \ODw@set{% colors/0/.code={% @@ -185,6 +185,21 @@ } \ODw@set{colors/b+r/.code={\pgfkeys{/ODw/colors=2}}} \ODw@set{% + colors/3/.code={% + \ODw@monochromefalse% + \renewrobustcmd\Cl{\textcolor{gray}% + {\,[0.3]\ensuremath{\ODw@clubsuit}}\xspace}% + \renewrobustcmd\Di{\textcolor{gray}% + {\,[0.3]\ensuremath{\ODw@vardiamond}}\xspace}% + \renewrobustcmd\He{\textcolor{gray}% + {\,[0.3]\ensuremath{\ODw@varheart}}\xspace}% + \renewrobustcmd\Sp{\textcolor{gray}% + {\,[0.3]\ensuremath{\ODw@spadesuit}}\xspace}% + }% +} +\ODw@set{colors/grey/.code={\pgfkeys{/ODw/colors=3}}} +\ODw@set{colors/gray/.code={\pgfkeys{/ODw/colors=3}}} +\ODw@set{% colors/4A/.code={% \ODw@monochromefalse% \renewrobustcmd\Cl{\textcolor{green}% @@ -1860,6 +1875,13 @@ \xspace% }% Jack \def\jack{\Jack*!} +\newcommand{\Ten}{% + \bgroup% + 10% + \egroup% + \xspace% +}% Ten + \NewDocumentCommand{\All}{s t!}{% \bgroup% |