How do I remove the indent of a table-in-itemize?

Hello, here's a sample code: ---- \starttext \startitemize[packed_,joinedup_][headstyle_=] \head Ccc: \startitemize[packed][width=0pt] \item Ddd \starttabulate[|||r|] \NI Aaa \NC Bbb \AR \stoptabulate \stopitemize \stopitemize \stoptext ---- How do I remove the blank space in front of the table, marked by the green line in the picture, so that the text "- Aaa Bbb" moves just below the "- Ddd"? TIA. Best regards, Lukas

Am 15.04.2025 um 15:50 schrieb LPr Pontex:
Hello,
here's a sample code:
---- \starttext \startitemize[packed_,joinedup_][headstyle_=]
\head Ccc:
\startitemize[packed][width=0pt] \item Ddd \starttabulate[|||r|] \NI Aaa \NC Bbb \AR \stoptabulate \stopitemize \stopitemize \stoptext ----
How do I remove the blank space in front of the table, marked by the green line in the picture, so that the text "- Aaa Bbb" moves just below the "- Ddd"?
Use either \startnarrower[-left] \starttabulate[|||r|] \NI Aaa \NC Bbb \AR \stoptabulate \stopnarrower when you use the default width-value for itemize or \startnarrow[left=1.5em][-left] \starttabulate[|||r|] \NI Aaa \NC Bbb \AR \stoptabulate \stopnarrow and change width=... to the correct value when you have a custom value for the width setting for itemize. The narrow(er) environment is necessary in this case because you want to shift the table a bit to the left to counter the indentation of each itemize entry, which is used to place the symbol for the regular item entries. Wolfgang

Hello Wolfgang, thanks for the code. Best regards, Lukas On Tue, Apr 15, 2025, 23:38 Wolfgang Schuster < wolfgang.schuster.lists@gmail.com> wrote:
Am 15.04.2025 um 15:50 schrieb LPr Pontex:
Hello,
here's a sample code:
---- \starttext \startitemize[packed_,joinedup_][headstyle_=]
\head Ccc:
\startitemize[packed][width=0pt] \item Ddd \starttabulate[|||r|] \NI Aaa \NC Bbb \AR \stoptabulate \stopitemize \stopitemize \stoptext ----
How do I remove the blank space in front of the table, marked by the green line in the picture, so that the text "- Aaa Bbb" moves just below the "- Ddd"?
Use either
\startnarrower[-left] \starttabulate[|||r|] \NI Aaa \NC Bbb \AR \stoptabulate \stopnarrower
when you use the default width-value for itemize or
\startnarrow[left=1.5em][-left] \starttabulate[|||r|] \NI Aaa \NC Bbb \AR \stoptabulate \stopnarrow
and change width=... to the correct value when you have a custom value for the width setting for itemize.
The narrow(er) environment is necessary in this case because you want to shift the table a bit to the left to counter the indentation of each itemize entry, which is used to place the symbol for the regular item entries.
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
___________________________________________________________________________________
participants (2)
-
LPr Pontex
-
Wolfgang Schuster