Merge pull request #536 from drlippman/feature.hatcommand

Add \hat command