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 | |
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')
-rw-r--r-- | Master/texmf-dist/doc/latex/pst-poker/Changes | 3 | ||||
-rw-r--r-- | Master/texmf-dist/doc/latex/pst-poker/pst-poker-doc.pdf | bin | 2478038 -> 2466606 bytes | |||
-rw-r--r-- | Master/texmf-dist/doc/latex/pst-poker/pst-poker-doc.tex | 14 | ||||
-rw-r--r-- | Master/texmf-dist/tex/latex/pst-poker/pst-poker.sty | 22 |
4 files changed, 28 insertions, 11 deletions
diff --git a/Master/texmf-dist/doc/latex/pst-poker/Changes b/Master/texmf-dist/doc/latex/pst-poker/Changes index bb5214ca89c..b57f2a34526 100644 --- a/Master/texmf-dist/doc/latex/pst-poker/Changes +++ b/Master/texmf-dist/doc/latex/pst-poker/Changes @@ -1,7 +1,8 @@ -%% $Id: Changes 459 2017-05-17 20:09:46Z herbert $ +%% $Id: Changes 524 2017-08-23 09:24:14Z herbert $ %% pst-poker.sty ----------- +0.02 2017-08-23 - do not load txfonts by default 0.01 2017-05-16 - first CTAN version diff --git a/Master/texmf-dist/doc/latex/pst-poker/pst-poker-doc.pdf b/Master/texmf-dist/doc/latex/pst-poker/pst-poker-doc.pdf Binary files differindex 8684cdeb36d..aa1c6ef4505 100644 --- a/Master/texmf-dist/doc/latex/pst-poker/pst-poker-doc.pdf +++ b/Master/texmf-dist/doc/latex/pst-poker/pst-poker-doc.pdf diff --git a/Master/texmf-dist/doc/latex/pst-poker/pst-poker-doc.tex b/Master/texmf-dist/doc/latex/pst-poker/pst-poker-doc.tex index cde8553d8c4..efbca2c0671 100644 --- a/Master/texmf-dist/doc/latex/pst-poker/pst-poker-doc.tex +++ b/Master/texmf-dist/doc/latex/pst-poker/pst-poker-doc.tex @@ -1,4 +1,4 @@ -%% $Id: pst-poker-doc.tex 459 2017-05-17 20:09:46Z herbert $ +%% $Id: pst-poker-doc.tex 524 2017-08-23 09:24:14Z herbert $ % \documentclass[11pt,english,BCOR10mm,DIV12,bibliography=totoc,parskip=false,smallheadings, headexclude,footexclude,oneside]{pst-doc} @@ -41,7 +41,9 @@ available in the \LaTeX\ \LPack{pst-poker} package. (\url{http://web.mit.edu/foley/games/Arcadia/sr/poker/pokersty}). \vfill \noindent -Thanks to: +Thanks to: \\ +Karl Berry + \end{abstract} \clearpage @@ -55,16 +57,16 @@ Thanks to: \section{Inline Poker symbols} There are several possible styles for inline cards. The default way is as small cards, i.e. -{\Ac\Kh\Qd\Js\tenc}. They can also be displayed as simple symbols -{\psset{inline=symbol}\Ac\Kh\Qd\Js\tenc} or as boxed symbols {\psset{inline=boxed}\Ac\Kh\Qd\Js\tenc}. +{\Ac{} \Kh{} \Qd{} \Js{} \tenc}. They can also be displayed as simple symbols +{\psset{inline=symbol}\Ac{} \Kh{} \Qd{} \Js{} \tenc} or as boxed symbols {\psset{inline=boxed}\Ac{} \Kh{} \Qd{} \Js{} \tenc}. A card back {\crdback[inline=symbol,backcolor=green]} is available, too. It is also possible to variate the used colorset. In addition to the standard red/black colors, a four color set {\psset{inline=card,colorset=4c}\Ac\Kh\Qd\Js\tenc} as often used in online poker can be chosen. When colors are not desired, i.e. for printing purposes, the possible -alternatives are a grayscale version {\psset{inline=symbol,colorset=gs}\Ac\Kh\Qd\Js\tenc} or -complete black/white {\psset{inline=boxed,colorset=bw}\Ac\Kh\Qd\Js\tenc} with outlined red symbols. +alternatives are a grayscale version {\psset{inline=symbol,colorset=gs}\Ac{} \Kh{} \Qd{} \Js{}\tenc} or +complete black/white {\psset{inline=boxed,colorset=bw}\Ac{} \Kh{} \Qd{} \Js{} \tenc} with outlined red symbols. %\psset{inline=card,colorset=2c} \section{Poker cards} 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}} |