[NTG-context] columns yet again

Hans Hagen j.hagen at xs4all.nl
Thu Sep 17 15:23:42 CEST 2020


On 9/13/2020 10:54 AM, Thomas A. Schmitz wrote:
> Hi all,
> 
> I hope everybody made it back home safely after the meeting. It was 
> great listening in, even if I couldn't be there in person, unfortunately!
> 
> Today's question is an old one, but I'm confused. What I need: two 
> columns, of unequal width, the left column has line numbering; two 
> column layout starts in the middle of pages. What I tried so far:
\setuplayout[width=16cm]

\starttext

\enabledirectives[tabulate.linenumbers]

\showframe

\starttabulate[|p(7cm)|A{verytolerant}i2p(\dimexpr9cm-2em\relax)|]
     \NC
         \startlinenumbering
             \dorecurse{10}{\input ward \par}
         \stoplinenumbering
     \NC
         \dorecurse{3}{\input tufte \par}
     \NC \NR
\stoptabulate

\disabledirectives[tabulate.linenumbers]

\starttabulate[|p(7cm)|A{verytolerant}i2p(\dimexpr9cm-2em\relax)|]
     \NC
         \startlinenumbering
             \dorecurse{10}{\input ward \par}
         \stoplinenumbering
     \NC
         \dorecurse{3}{\input tufte \par}
     \NC \NR
\stoptabulate

\stoptext

I'm not sure why there is no key / value interface ... probably because 
I made it one for someone as fast hack.

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
-----------------------------------------------------------------


More information about the ntg-context mailing list