Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

I think `\relax` is a better no-op than `\null`, right?


While \relax is indeed a no-op “command”, that is precisely why it doesn't affect anything here. The way TeX works is that (roughly speaking), after expanding macros and acting on other commands (primitives) it encounters, it treats every character it encounters as another member of the current horizontal list (paragraph). Then it breaks this list into lines, etc. Whether you insert \relax or not, the horizontal list is the same: the uppercase A will be followed by the period. So you need something like \hbox{} or (equivalently) \null (something that actually gets into the horizontal list) between the “A” and the “.”.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: