* [NTG-context] Re: which parameter is for adjust the distance between items in a list?
@ 2024-04-25 8:46 hf
2024-04-25 8:54 ` Henning Hraban Ramm
0 siblings, 1 reply; 4+ messages in thread
From: hf @ 2024-04-25 8:46 UTC (permalink / raw)
To: mailing list for ConTeXt users
thank you.
just tried, not worked out yet.
Here it is my text:
```
setuplist[height=0]
\startitemize[n]
\item It's impossible --- don't waste my time.
\item It's possible, but not worth doing.
\item I said it was a good ideal all along.
\stopitemize
```
Now the distance between the items is equal to the blank space between paragraphs.
I want to reduce it equal to the distance between the lines of a paragraph.
Best,
Hong
April 25, 2024 at 4:22 PM, "Henning Hraban Ramm" <texml@fiee.net> wrote:
> Am 25.04.24 um 10:20 schrieb hf@hongfeng.ch:
>
>> which parameter in `\setuplist` is used for adjusting the distance
>>
>> between the items of a list?
>
> Usually it’s the general line height.
>
> You can use "inbetween=\blank[3pt]" to insert extra space.
>
> (Untested)
>
> Hraban
>
> ___________________________________________________________________________________
>
> 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
>
> ___________________________________________________________________________________
___________________________________________________________________________________
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] 4+ messages in thread
* [NTG-context] Re: which parameter is for adjust the distance between items in a list?
2024-04-25 8:46 [NTG-context] Re: which parameter is for adjust the distance between items in a list? hf
@ 2024-04-25 8:54 ` Henning Hraban Ramm
0 siblings, 0 replies; 4+ messages in thread
From: Henning Hraban Ramm @ 2024-04-25 8:54 UTC (permalink / raw)
To: ntg-context
Am 25.04.24 um 10:46 schrieb hf@hongfeng.ch:
> thank you.
>
> just tried, not worked out yet.
>
> Here it is my text:
>
> ```
> setuplist[height=0]
> \startitemize[n]
> \item It's impossible --- don't waste my time.
> \item It's possible, but not worth doing.
> \item I said it was a good ideal all along.
> \stopitemize
> ```
>
> Now the distance between the items is equal to the blank space between paragraphs.
> I want to reduce it equal to the distance between the lines of a paragraph.
You asked for a list, that is e.g. a table of contents (list of numbered
items like sections or floats).
If you want to affect itemizations, use \setupitemize (same as
\setupitemgroup[itemize]).
https://wiki.contextgarden.net/Command/_setupitemgroup
Besides, height is a different parameter.
Hraban
___________________________________________________________________________________
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] 4+ messages in thread
* [NTG-context] Re: which parameter is for adjust the distance between items in a list?
@ 2024-04-25 9:43 hf
0 siblings, 0 replies; 4+ messages in thread
From: hf @ 2024-04-25 9:43 UTC (permalink / raw)
To: mailing list for ConTeXt users
You are right. I shall change the parameter `inbetween` in `\setupitemize`.
Regards,
Hong
April 25, 2024 at 4:54 PM, "Henning Hraban Ramm" <texml@fiee.net> wrote:
> Am 25.04.24 um 10:46 schrieb hf@hongfeng.ch:
>
>> thank you.
>>
>> just tried, not worked out yet.
>>
>> Here it is my text:
>>
>> ```
>>
>> setuplist[height=0]
>>
>> \startitemize[n]
>>
>> \item It's impossible --- don't waste my time.
>>
>> \item It's possible, but not worth doing.
>>
>> \item I said it was a good ideal all along.
>>
>> \stopitemize
>>
>> ```
>>
>> Now the distance between the items is equal to the blank space between paragraphs.
>>
>> I want to reduce it equal to the distance between the lines of a paragraph.
>
> You asked for a list, that is e.g. a table of contents (list of numbered items like sections or
> floats).
>
> If you want to affect itemizations, use \setupitemize (same as \setupitemgroup[itemize]).
>
> https://wiki.contextgarden.net/Command/_setupitemgroup
>
> Besides, height is a different parameter.
>
> Hraban
>
> ___________________________________________________________________________________
>
> 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
>
> ___________________________________________________________________________________
___________________________________________________________________________________
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] 4+ messages in thread
* [NTG-context] Re: which parameter is for adjust the distance between items in a list?
2024-04-25 8:20 [NTG-context] " hf
@ 2024-04-25 8:22 ` Henning Hraban Ramm
0 siblings, 0 replies; 4+ messages in thread
From: Henning Hraban Ramm @ 2024-04-25 8:22 UTC (permalink / raw)
To: ntg-context
Am 25.04.24 um 10:20 schrieb hf@hongfeng.ch:
> which parameter in `\setuplist` is used for adjusting the distance
> between the items of a list?
Usually it’s the general line height.
You can use "inbetween=\blank[3pt]" to insert extra space.
(Untested)
Hraban
___________________________________________________________________________________
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] 4+ messages in thread
end of thread, other threads:[~2024-04-25 9:46 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2024-04-25 8:46 [NTG-context] Re: which parameter is for adjust the distance between items in a list? hf
2024-04-25 8:54 ` Henning Hraban Ramm
-- strict thread matches above, loose matches on Subject: below --
2024-04-25 9:43 hf
2024-04-25 8:20 [NTG-context] " hf
2024-04-25 8:22 ` [NTG-context] " Henning Hraban Ramm
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).