How do I create a style in Microsoft Word 2010 that is akin to a keyboard key to represent hotkeys or keystrokes?
Ideally it would be something similar to what's used here like this.
The simplest approach seems to be to define a character style with a border, a fill color, and a suitable font (Segoe UI Semibold looks “keyboard key like” to me). The border should be rather thin, like ¼pt, to avoid line spacing issues (though such issues could be fixed by setting fixed line height for paragraphs).
The main problem seems to be the lack of horizontal padding between the characters and the border. It would be awkward to solve this by adding space character into the content (using “ this ” instead of “this”). But I’m afraid there’s nothing to be done to this with Word styles.