I have trouble with macros expanding to an abbreviated expression. Say I have \WHP which expands to "with high prob." (artificial example). I want to avoid the dot after the abbreviation colliding with full stops later on, like
"We concluded that hypothesis holds \WHP."
which should not expand to
"We concluded that hypothesis holds with high prob.."
but simply end with one full stop.
\@ifnextchar.{}{.}bit a separate macro and use it in the definition of any abbreviation. – Harald Hanche-Olsen Feb 25 '11 at 20:27\makeatlettermakes@to a normal letter. So the question what's\@is wrong ... ;-) the name of the macro is@ifnextchar– Jul 21 '15 at 10:28