Possible Duplicate:
What is the difference between \relax and {}?
The title suggest the question. On and off, I see macros here in TeX.SE and I see the \relax
command frequently.
- I was wondering what it does and where/when should I used it?
- Are there any precautions that I should take while using it? (Are there side-effects?)
It would be great if you support your answers with a simple example.
\if
constructions.\mymacro12345\relax 678
would make it stop at five and then do whatever else it's supposed to do. There are many more usecases but that's pretty much the main reason of its appearance in the answers here.--
for command line options in most Unix shell tools.