Dear List:

 

I have a tabulate table inside an indented item group and I would like to set the width of the table to the \hbox size of the surrounding text.  If I use \textwidth as a width parameter, the table spills into the right margin (see attached).

 

What is the correct parameter to use to set the width of the table to the width of the text in the item group?

 

MWE

 

\starttext

\showframe

\startitemize[n,3*broad]

    \startitem{%

        \input ward

        \starttabulate[|cp(.25\textwidth)|cp(.75\textwidth)|]

            \HL

            \NC Column A \NC Column B \NC \NR

            \HL

            \NC 1 \NC 2 \NC \NR

            \NC 2 \NC 3 \NC \NR

            \NC 3 \NC 4 \NC \NR

            \NC 4 \NC 5 \NC \NR

            \NC 5 \NC 6 \NC \NR

            \BL

        \stoptabulate

        \input ward

        }

    \stopitem

\stopitemize

\stoptext

 

Thanks,

Clyde