2007/12/9, Idris Samawi Hamid <[EMAIL PROTECTED]>: > 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 ___________________________________________________________________________________ If your question is of interest to others as well, please add an entry to the Wiki! maillist : [email protected] / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___________________________________________________________________________________
