Changes

Jump to navigation Jump to search
854 bytes added ,  10:53, 15 May 2022
<texcode>
\setupheadertexts[\directsetup{headertable}]
 
\startsetups [headertable]
\bTABLEnested[option=stretch,frame=off]
\setupTABLE[c][1][align=flushleft]
\setupTABLE[c][2][align=flushright]
\bTR
\bTD
Firstname Lastname \par
123, First street \par
Ph: 1234567890 \par
\eTD
\bTD
Company Name \par
123, First street \par
Ph: 9876543210 \par
\eTD
\eTR
\eTABLEnested
\stopsetups
 
\starttext
 
\bTABLE[split=repeat, option=stretch]
\bTABLEhead
\bTR[style=bold]\dorecurse{8}{\bTH Header #1\eTH}\eTR
\eTABLEhead
\bTABLEbody
\dorecurse{100}{\bTR\dorecurse{8}{\bTD#1-##1\eTD}\eTR}
\eTABLEbody
\eTABLE
 
\stoptext
</texcode>
 
Compiling the above by using {{cmd|bTABLE}} and {{cmd|eTABLE}} instead of {{cmd|bTABLEnested}} and {{cmd|eTABLEnested}} in the setup for <tex>headertable</tex> one notices the need for the nested type.
= Tables in multiple columns =
107

edits

Navigation menu