diff options
Diffstat (limited to 'Master/texmf-dist/tex/latex/onedown/onedown.sty')
-rw-r--r-- | Master/texmf-dist/tex/latex/onedown/onedown.sty | 42 |
1 files changed, 32 insertions, 10 deletions
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% |