Horizontally aligning custom dynamics (e.g. "sempre pp", "piu f", "subito p")

Some dynamic expressions involve additional text, like sempre pp. Since dynamics are usually centered under the note, the \pp would be displayed way after the note it applies to.
To correctly align the sempre pp horizontally, so that it is aligned as if it were only the \pp, there are several approaches: