ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* \type -- extra space in TABLE
@ 2020-04-11 21:44 Tomas Hala
  2020-04-12 10:09 ` Hans Hagen
  0 siblings, 1 reply; 2+ messages in thread
From: Tomas Hala @ 2020-04-11 21:44 UTC (permalink / raw)
  To: Mailing list ConTeXt

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?

Best wishes 

Tomáš
___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki     : http://contextgarden.net
___________________________________________________________________________________

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: \type -- extra space in TABLE
  2020-04-11 21:44 \type -- extra space in TABLE Tomas Hala
@ 2020-04-12 10:09 ` Hans Hagen
  0 siblings, 0 replies; 2+ messages in thread
From: Hans Hagen @ 2020-04-12 10:09 UTC (permalink / raw)
  To: Tomas Hala, mailing list for ConTeXt users

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
-----------------------------------------------------------------
___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki     : http://contextgarden.net
___________________________________________________________________________________

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2020-04-12 10:09 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-04-11 21:44 \type -- extra space in TABLE Tomas Hala
2020-04-12 10:09 ` Hans Hagen

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).