> \setkeys{psset}{#1} That will not work with other (updated) pstricks packages. Always use \psset{#1} to have some chance of backward compatibility... -Hendri. PS: don't forget `%' at relevant places, for instance if the line end with `}'...