As I understand it, the point of \relax is to stop a macro from swallowing up subsequent material (such as whitespace). But {} (\bgroup\egroup) serves the same function. Why do we need both?
|
Try the following couple examples:
Very similar examples can be used to show that |
|||
|
|
|
It's hard to answer the question as the two constructs are different in almost all respects so it's a matter of where to start.
|
||||
|
|
|
There is more than one reason. I'll give an example where
When TeX is processing the
TeX would find
which would be a disaster. Of course one might as well define
but then In any case, You mention |
|||
|
|


{}at the**prompt you get. ;-) Kill the process and retry typing\relax, this time. :) – egreg Dec 10 '12 at 15:55