On Wed, Nov 17 2010, Lukas Prochazka wrote:

> I'm creating a table, but I cannot center it horizontally:
> 
> ---
> \starttext
>   \startalignment[center]
>     \dontleavehmode
> 
>     \starttable[|c|]
>       \NC CCC \NC\NR
>     \stoptable
>   \stopalignment
> \stoptext
> ---

I can't explain, what happens, but a \vbox helps:

\starttext
  \startalignment[middle]
    \dontleavehmode
    \vbox{%
      \starttable[|c|]
        \NC CCC \NC\NR
      \stoptable
    }
  \stopalignment
\stoptext

Cheers, Peter

-- 
Contact information: http://pmrb.free.fr/contact/
___________________________________________________________________________________
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://tex.aanhet.net
archive  : http://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
___________________________________________________________________________________

Reply via email to