[NTG-context] \type -- extra space in TABLE

Hans Hagen j.hagen at xs4all.nl
Sun Apr 12 12:09:13 CEST 2020


On 4/11/2020 11:44 PM, Tomas Hala wrote:
> Hi all,
> 
> in the following code
> 
> \starttext
> \type{6\az12}    % \az = \anycommand
> 
> \bTABLE
>    \bTR\bTD\type{6\az12}\eTD\eTR
> \eTABLE
> \stoptext
> 
> there is a different behaviour of \type: while its parametr
> in normal text is printed out as is (expected), in the TABLE
> the extra space is displayed after the command.
> 
> Is it ok?
> How could I suppress the extra space?
\definetype[mytype][type][compact=absolute]

\mytype{6\az 12\bz{123}}

\bTABLE
   \bTR\bTD\mytype{6\az12\bz{12}}\eTD\eTR
\eTABLE
\stoptext

but it doesn't look at numbers. I can send you a patch (but maybe it 
should become options or so, not tham manu use this i guess)

Hans

-----------------------------------------------------------------
                                           Hans Hagen | PRAGMA ADE
               Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
        tel: 038 477 53 69 | www.pragma-ade.nl | www.pragma-pod.nl
-----------------------------------------------------------------


More information about the ntg-context mailing list