Fix a typo in command name

`\textbeforeXnotes` should be `\txtbeforeXnotes`