Am 14.04.2025 um 21:23 schrieb Henning Hraban Ramm:
Hi,
I’d like to have a kind of questionnaire in a table and thought it would make sense to use \its.

While there’s an integration of tabulate and itemize, I can’t get it working with a natural table. Is this possible at all?


\starttext

% simple itemize works:
\startitemize[6,nowhite][items=10,width=10em,distance=1em]
\dorecurse{10}{\its \recurselevel}
\stopitemize

% this doesn’t work
\startitemize[6,nowhite][items=10,width=10em,distance=1em]
\bTABLE
\bTR\bTD Option\eTD\bTD Value\eTD\eTR
\dorecurse{10}{
\bTR
\bTD Option No.\expanded{\recurselevel}\eTD
\bTD \its … \eTD
\eTR
}
\eTABLE
\stopitemize

\stoptext

I’m also missing some expansion in the table…

Use the text option for itemize.

\starttext

\startitemize[medcircle][items=10,width=10em,distance=1em]
\bTABLE
\bTR \bTD \its Rate this answer from 1 to 10 \eTD \eTR
\eTABLE
\stopitemize

\startitemize[medcircle,text][items=10,width=10em,distance=1em]
\bTABLE
\bTR \bTD \its Rate this answer from 1 to 10 \eTD \eTR
\eTABLE
\stopitemize

\stoptext

Wolfgang

___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / 
https://mailman.ntg.nl/mailman3/lists/ntg-context.ntg.nl
webpage  : https://www.pragma-ade.nl / https://context.aanhet.net (mirror)
archive  : https://github.com/contextgarden/context
wiki     : https://wiki.contextgarden.net
___________________________________________________________________________________

Reply via email to