[pstricks] Testing key-value pairs and \psset
Herbert Voss
Herbert.Voss at FU-Berlin.DE
Thu Dec 6 21:45:44 CET 2007
Hensh, Richard schrieb:
> Suppose that
>
> \define at key[psset]{pNode}{PointName}{\edef\psk at PointName{#1}}%
\define at key[psset]{family name}{keyname}{\def\macro{#1}}
\psset[family name]{keyname=...}
or
\psset{keyname=...} then keyname in _all_ families are set.
> How do I test for each of the following?
>
> \psset{PointName={}} or \psset{PointName=}
>
> versus
>
> \psset{}
>
> I've tried looking at the pstricks packages but I can't figure out what anyone is doing along these lines.
do you want to write a new macro? Then there is an easy solution,
otherwise use
\def\pst at tempA{#1}
\ifx\pst at tempA\pst at empty ... \else ... \fi
Herbert
More information about the PSTricks
mailing list