Defines a command \shabox (analgous to \fbox), and supporting mechanisms.