\newcommand within a question has in my experience failed to work in titles.
In this question when I hit "reload", I see the backslash and Th in red; i.e. it doesn't work. But when I click on "edit" and then "save", then it does work. This can mislead people who edit questions.