improved \prd and \sm magic
manual reflowing of W_s
Merge pull request #490 from mikeshulman/prdmagic

improved \prd and \sm magic