[NTG-context] extra space after variant

Hans van der Meer hansm at science.uva.nl
Thu Dec 1 15:04:43 CET 2005

When I code:
      abc {\variant[xyz] pqr}
I find extra space typeset between "abc" and "pqr".

This extra space is absent when I code
       abc {\variant[xyz]pqr}
Thus the space in the source between ] and pqr makes a difference in  
the result.

Clearly visible in:
abc {\variant[xyz] pqr} abc {\variant[xyz]pqr}\crlf
abc {\Var[xyz]pqr} abc {\Var[xyz] pqr}\crlf

I would think that this should not happen.

The whitespace goes away by inserting an \ignorespaces in the variant- 
\def\variant[#1]% slow
         at \scaledfont]}\ignorespaces}

Still using version 2005-11-14, forget this if already corrected in  
the latest version of the 30th.

yours sincerely,
dr. H. van der Meer

More information about the ntg-context mailing list