I'm working on a book and want to have certain special maps labeled "a" and "d" but not in the usual math font. The standard AMS fonts don't support too many special versions of lower-case letters, and I'm not a fan of the ones that do exist. I'm also trying to avoid installing a more exotic font package. After playing around for awhile, I decided that I liked using the boldface version of the ordinary text fonts in these situations, and since I will be using these often, I set up some elementary macro commands:
This mostly works out okay, except I noticed that within theorem statement environments my a and d are subject to the italicization of the current environment, so I don't get consistent characters. Is there a way to improve my macros to avoid this phenomenon?