On 12/22/2024 2:44 AM, vm via ntg-context wrote:
if the last column of a tabulate table is a paragraph, an extra blank line is added at the top, making the last column not align.
adding data in the last (non) paragraph column, will make them top align correctly.
8<--- \starttext
\starttabulate[|p|p|p|l|][width=\textwidth, split=yes,margin=2mm, align=right] \dorecurse{3}{ \dorecurse{3}{ \NC Lorem ipsum dolor sit amet, consectetur adip iscing elit. Curabitur massa turpis, semper quis fringilla ut, viverra nec risus. }% <<< no data here \AR } \stoptabulate
\page \starttabulate[|p|p|p|l|][width=\textwidth, split=yes,margin=2mm, align=right] \dorecurse{3}{ \dorecurse{3}{ \NC Lorem ipsum dolor sit amet, consectetur adip iscing elit. Curabitur massa turpis, semper quis fringilla ut, viverra nec risus. }\NC\recurselevel %%%%%%%% <<< add data here \AR } \stoptabulate
\stoptext --->8
\starttext \starttabulate[|p|p|p|l|][width=\textwidth, split=yes,margin=2mm, align=right] \expandedrepeat 3 { \NC \expandedrepeat 3 { \the\currentloopiterator: Lorem ipsum dolor sit amet, consectetur adip iscing elit. Curabitur massa turpis, semper quis fringilla ut, viverra nec risus. \NC } \AR } \stoptabulate \starttabulate[|p|p|p|l|][width=\textwidth, split=yes,margin=2mm, align=right] \expandedrepeat 3 { \NC \expandedrepeat 3 { \the\currentloopiterator: Lorem ipsum dolor sit amet, consectetur adip iscing elit. Curabitur massa turpis, semper quis fringilla ut, viverra nec risus. \NC } \the\currentloopiterator \NC \NR } \stoptabulate \stoptext ----------------------------------------------------------------- Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | www.pragma-ade.nl | www.pragma-pod.nl -----------------------------------------------------------------