[texhax] \protect in Plain TeX

Paul Isambert zappathustra at free.fr
Sun Oct 16 09:31:10 CEST 2011

Le 16/10/2011 09:18, Vafa Khalighi a écrit :
> \protect is defined in LaTeX but not in Plain TeX. I was wondering if 
> one also would need to use \protect in Plain TeX for making macro 
> definitions with moving arguments. If so, then what should you use 
> instead \protect in Plain TeX or how should \protect be defined for 
> Plain TeX?

Use eTeX's \protected prefix when defining the command:


prints "\foo /BAR!" on the log and terminal.


More information about the texhax mailing list