I am new to LaTeX. I have been working on a .tex file and very unexpectedly, encountered the following error:
Error message - **There is a '}' missing: unexpected end of line.**
in the following line of my IEEEtrans.cls files.
{\catcode`\|=0 \catcode`\\=12
|xdef|@IEEEbackslash{\}}
Any pointers or remedies?
|xdef|@IEEEbackslash{}}I'd have expected|xdef|@IEEEbackslash{\}– David Carlisle Jun 28 '12 at 13:08{\escapechar=\m@ne\xdef\@IEEEbackslash{\string\\}}the editor wouldn't complain. Alternatively,\edef\@IEEEbackslash{\expandafter\@gobble\string\\}. Or, even better,\let\@IEEEbackslash\@backslashchar– egreg Jun 28 '12 at 23:04