I cannot remember how to create an invisible character in LaTeX, i.e. I want to put a space the that has the width of a particular character, say `M'. I know there is a command for this, and this is a really dumb question, but my Google fu has failed me.
You already found the answer, but let me expand a bit. There are three phantom commands. They each take a single argument.