This question already has an answer here:
- Space after LaTeX commands 11 answers
Is it possible to define a command
\MyCommand which does not swallow the next space (standard) but inserts a real space after itself only if the next symbol followed by it is a real space-symbol or CR? The command is supposed to have no arguments.