gobbling previous space
Dear gang, For some macro writing, I need a low-level command that will gobble the space before it so that ========= Here is some text.% \mycommand ========= is equivalent to ========= Here is some text. \mycommand ========= without the %. I'm sure there's a context command for this hidden somewhere... Best Idris -- Professor Idris Samawi Hamid, Editor-in-Chief International Journal of Shi`i Studies Department of Philosophy Colorado State University Fort Collins, CO 80523 -- Using Opera's revolutionary e-mail client: http://www.opera.com/mail/
2007/12/9, Idris Samawi Hamid
Dear gang,
For some macro writing, I need a low-level command that will gobble the space before it so that
========= Here is some text.% \mycommand =========
is equivalent to
========= Here is some text. \mycommand =========
without the %. I'm sure there's a context command for this hidden somewhere...
Best Idris
You can use \removeunwantedspaces, it use plain TeX's \unskip primtive but only in horizontal mode. Wolfgang
participants (2)
-
Idris Samawi Hamid
-
Wolfgang Schuster