[NTG-context] Why does every new \setupTABLE add more whitespace to the left of table?

Hamid Kamrani hamid.kamrani at gmail.com
Wed Jul 4 09:46:13 CEST 2007


This is what I meant:

\starttext
\startbuffer
\setupTABLE[c][1][align=right]
\setupTABLE[c][1][align=right]
\setupTABLE[c][1][align=right]
\setupTABLE[c][1][align=right]
\setupTABLE[c][1][align=right]
\setupTABLE[r][1][topframe=on,bottomframe=on]
\bTABLE
 \bTR\bTD \input knuth \relax \eTD\eTR
\eTABLE
\stopbuffer

% vertical mode
\getbuffer

% horizontal mode
%\dontleavehmode\getbuffer

\placetable[frame=off]
   {whow}
   {\placelegend[align={right}]
      {\dontleavehmode\getbuffer}
      {NOTE: hmode or not hmode the legend is still off to the left}
   }

\stoptext


On 7/4/07, Wolfgang Schuster <schuster.wolfgang at googlemail.com> wrote:
> 2007/7/4, Hamid Kamrani <hamid.kamrani at gmail.com>:
> > Not exactly. I only framed it in order to demonstrate my problem. You
> > may encounter it even when you don't explicitly frame the table. I
> > became aware of it when I noticed that my legends under the table were
> > slightly off to the left. That means that the code that joins the
> > legend to the table must put an invisible frame around the table.
>
> \starttext
>
> \showframe
>
> \startbuffer
> \setupTABLE[c][1][align=right]
> \setupTABLE[c][1][align=right]
> \setupTABLE[c][1][align=right]
> \setupTABLE[c][1][align=right]
> \setupTABLE[c][1][align=right]
> \bTABLE
>   \bTR\bTD text \eTD\eTR
> \eTABLE
> \stopbuffer
>
> % vertical mode
> \getbuffer
>
> % horizontal mode
> \dontleavehmode\getbuffer
>
> \stoptext
>
> Wolfgang
> ___________________________________________________________________________________
> If your question is of interest to others as well, please add an entry to the Wiki!
>
> maillist : ntg-context at ntg.nl / 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
> ___________________________________________________________________________________
>


More information about the ntg-context mailing list