* [NTG-context] How do I remove the indent of a table-in-itemize?
@ 2025-04-15 13:50 LPr Pontex
2025-04-15 21:34 ` [NTG-context] " Wolfgang Schuster
0 siblings, 1 reply; 3+ messages in thread
From: LPr Pontex @ 2025-04-15 13:50 UTC (permalink / raw)
To: ntg-context
[-- Attachment #1.1: Type: text/plain, Size: 484 bytes --]
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
[-- Attachment #1.2: Type: text/html, Size: 722 bytes --]
[-- Attachment #2: TabIt.mkiv --]
[-- Type: application/octet-stream, Size: 272 bytes --]
\starttext
\startitemize[packed_,joinedup_][headstyle_=]
\head Ccc:
\startitemize[packed][width=0pt]
\item Ddd
\starttabulate[|||r|]
\NI Aaa \NC Bbb \AR
\stoptabulate
\stopitemize
\stopitemize
\stoptext
[-- Attachment #3: TabIt.jpg --]
[-- Type: image/jpeg, Size: 5710 bytes --]
[-- Attachment #4: Type: text/plain, Size: 511 bytes --]
___________________________________________________________________________________
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
___________________________________________________________________________________
^ permalink raw reply [flat|nested] 3+ messages in thread
* [NTG-context] Re: How do I remove the indent of a table-in-itemize?
2025-04-15 13:50 [NTG-context] How do I remove the indent of a table-in-itemize? LPr Pontex
@ 2025-04-15 21:34 ` Wolfgang Schuster
2025-04-16 6:41 ` LPr Pontex
0 siblings, 1 reply; 3+ messages in thread
From: Wolfgang Schuster @ 2025-04-15 21:34 UTC (permalink / raw)
To: ntg-context
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
___________________________________________________________________________________
^ permalink raw reply [flat|nested] 3+ messages in thread
* [NTG-context] Re: How do I remove the indent of a table-in-itemize?
2025-04-15 21:34 ` [NTG-context] " Wolfgang Schuster
@ 2025-04-16 6:41 ` LPr Pontex
0 siblings, 0 replies; 3+ messages in thread
From: LPr Pontex @ 2025-04-16 6:41 UTC (permalink / raw)
To: mailing list for ConTeXt users
[-- Attachment #1.1: Type: text/plain, Size: 1930 bytes --]
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
>
> ___________________________________________________________________________________
>
[-- Attachment #1.2: Type: text/html, Size: 3184 bytes --]
[-- Attachment #2: Type: text/plain, Size: 511 bytes --]
___________________________________________________________________________________
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
___________________________________________________________________________________
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2025-04-16 6:44 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2025-04-15 13:50 [NTG-context] How do I remove the indent of a table-in-itemize? LPr Pontex
2025-04-15 21:34 ` [NTG-context] " Wolfgang Schuster
2025-04-16 6:41 ` LPr Pontex
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).