[Tugindia] # from \string

David Kastrup tugindia@tug.org
Sun, 3 Nov 2002 10:21:10 +0100


H S Rai <hsraidce@iitr.ernet.in> writes:

> How to get "#" printed using \string.
> 
> \string# rest of message
> 
> give error, while
> 
> \string\# rest of message
> 
> print \# where I want #.

\message{\string#}

works fine here.

You are aware that inside of macros # introduces macro parameters,
and that you need to write ## inside of macros for that reason?

-- 
David Kastrup, Kriemhildstr. 15, 44793 Bochum
Email: David.Kastrup@t-online.de