Skip to main content
1 of 4
Jens
  • 97.9k
  • 7
  • 215
  • 510

Here is a palette that does the slashing when you select a character and press the button:

CreatePalette[{Button["Slash it!", NotebookWrite[InputNotebook[],
     FromCharacterCode[
      Join[ToCharacterCode[
        ToString[NotebookRead[InputNotebook[]]]], {824}]]]]}];

It uses the unicode character for a combining solidus (824). This adds the slash to whatever character is printed in front of it.

Jens
  • 97.9k
  • 7
  • 215
  • 510