diff options
author | Karl Berry <karl@freefriends.org> | 2017-08-24 22:02:21 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2017-08-24 22:02:21 +0000 |
commit | 6e24188b60d5f53147e0cb85af293aa0b7d70408 (patch) | |
tree | 885f8a2544e639f619ca95479d3e3d048fe51f29 /Master/texmf-dist/tex/latex | |
parent | ddb8515fe297f1d193f5ca262b975ba7ab29c22a (diff) |
pst-poker (24aug17)
git-svn-id: svn://tug.org/texlive/trunk@45117 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/tex/latex')
-rw-r--r-- | Master/texmf-dist/tex/latex/pst-poker/pst-poker.sty | 22 |
1 files changed, 18 insertions, 4 deletions
diff --git a/Master/texmf-dist/tex/latex/pst-poker/pst-poker.sty b/Master/texmf-dist/tex/latex/pst-poker/pst-poker.sty index c40b76fcfdd..7a8b7674c51 100644 --- a/Master/texmf-dist/tex/latex/pst-poker/pst-poker.sty +++ b/Master/texmf-dist/tex/latex/pst-poker/pst-poker.sty @@ -1,4 +1,4 @@ -%% $Id: pst-poker.sty 459 2017-05-17 20:09:46Z herbert $ +%% $Id: pst-poker.sty 524 2017-08-23 09:24:14Z herbert $ %% % pst-poker.sty - LaTeX poker package % Copyright (C) 2017 Herbert Voß <hvoss@tug.org> @@ -22,12 +22,12 @@ %%% \NeedsTeXFormat{LaTeX2e} -\RequirePackage{txfonts} +%\RequirePackage{txfonts} \RequirePackage{pstricks,pst-blur,multido} \RequirePackage[tiling]{pst-fill} -\def\filedate{2017/05/16} -\def\fileversion{0.01} +\def\filedate{2017/08/23} +\def\fileversion{0.02} \ProvidesFile{pst-poker}[\filedate\ v\fileversion\ [LaTeX poker package (HV)] % % basic definitions @@ -35,6 +35,8 @@ %\newlength\xyunit %\newlength\cprunit + + \newcommand\pkr@val{A} \newcommand\pkr@suit{\pspade} \newcommand\pkr@col{\crd@Colors} @@ -130,6 +132,18 @@ \newcommand\colorbackname{pkrblue} % % initialize suit variables + +\@ifundefined{varclubsuit}{% + \def\re@DeclareMathSymbol#1#2#3#4{% + \let#1=\undefined + \DeclareMathSymbol{#1}{#2}{#3}{#4}}% + \DeclareSymbolFont{symbolsC}{U}{txsyc}{m}{n}% + \SetSymbolFont{symbolsC}{bold}{U}{txsyc}{bx}{n}% + \re@DeclareMathSymbol{\varclubsuit}{\mathord}{symbolsC}{112}% + \re@DeclareMathSymbol{\vardiamondsuit}{\mathord}{symbolsC}{113}% + \re@DeclareMathSymbol{\varheartsuit}{\mathord}{symbolsC}{114}% + \re@DeclareMathSymbol{\varspadesuit}{\mathord}{symbolsC}{115}% +}{} \newcommand{\pspade}{\ensuremath{\spadesuit}} \newcommand{\pheart}{\ensuremath{\varheartsuit}} \newcommand{\pdiamond}{\ensuremath{\vardiamondsuit}} |