![](https://secure.gravatar.com/avatar/46562c7d27388490d62e8d7a5bc960dd.jpg?s=120&d=mm&r=g)
On 5/17/2020 5:00 PM, Wolfgang Schuster wrote:
Bruce Horrocks schrieb am 17.05.2020 um 13:47:
If I want the words Top and Bottom at the top and bottom of a page then "Top \vfill Bottom" works as expected. If I use the same in an extreme table I get an error and I don't know why.
What's the 'official' way to align top and bottom in an xrow?
%%%% MWE \setuppapersize [A4] [A4] \starttext \startxtable[width=\textwidth] \startxrow[height=150mm] \startxcell[align=middle] Top \vfill Bottom \stopxcell \stopxrow \stopxtable \stoptext %%%%
It's not a real fix but you can you exclude the \vfill command when ConTeXt does its cell calculations.
\starttext
\startxtable[align=middle,width=\textwidth,height=15cm] \startxrow \startxcell Top \doifnotmode{*trialtypesetting}{\vfill} Bottom \stopxcell \stopxrow \stopxtable
\stoptext Neat!
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 -----------------------------------------------------------------