ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* [NTG-context] Vertical Space between Text and Itemize List
@ 2023-09-06 22:53 Jeroen
  2023-09-07  5:37 ` [NTG-context] " Mikael Sundqvist
  0 siblings, 1 reply; 2+ messages in thread
From: Jeroen @ 2023-09-06 22:53 UTC (permalink / raw)
  To: mailing list for ConTeXt users


[-- Attachment #1.1: Type: text/plain, Size: 371 bytes --]

To get a packed itemize list I use this in the preamble

\setupitemgroup
  [itemize]
  [packed]

To get less vspace between the text and the first item, i changed it to this

\setupitemgroup
  [itemize]
  [packed,
   nowhite]

now there is indeed no whitespace. Is there a more granular way to place
just a little vertical whitespace between the text and the first item?

[-- Attachment #1.2: Type: text/html, Size: 442 bytes --]

[-- Attachment #2: Type: text/plain, Size: 495 bytes --]

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

maillist : ntg-context@ntg.nl / https://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : https://www.pragma-ade.nl / http://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki     : https://contextgarden.net
___________________________________________________________________________________

^ permalink raw reply	[flat|nested] 2+ messages in thread

* [NTG-context] Re: Vertical Space between Text and Itemize List
  2023-09-06 22:53 [NTG-context] Vertical Space between Text and Itemize List Jeroen
@ 2023-09-07  5:37 ` Mikael Sundqvist
  0 siblings, 0 replies; 2+ messages in thread
From: Mikael Sundqvist @ 2023-09-07  5:37 UTC (permalink / raw)
  To: mailing list for ConTeXt users

Hi,

You can use before, inbetween and after.

\setupitemgroup
[itemize]
[inbetween={\blank[1cm]},
before={\blank[2cm]},
after={\blank[3cm]}]

\starttext

\samplefile{ward}

\startitemize
\dorecurse{4}{
\startitem
\samplefile{knuthmath}
\stopitem
}
\stopitemize

\samplefile{ward}

\stoptext

/Mikael

On Thu, Sep 7, 2023 at 12:57 AM Jeroen <contextntg@gmail.com> wrote:
>
> To get a packed itemize list I use this in the preamble
>
> \setupitemgroup
>   [itemize]
>   [packed]
>
> To get less vspace between the text and the first item, i changed it to this
>
> \setupitemgroup
>   [itemize]
>   [packed,
>    nowhite]
>
> now there is indeed no whitespace. Is there a more granular way to place just a little vertical whitespace between the text and the first item?
> ___________________________________________________________________________________
> If your question is of interest to others as well, please add an entry to the Wiki!
>
> maillist : ntg-context@ntg.nl / https://www.ntg.nl/mailman/listinfo/ntg-context
> webpage  : https://www.pragma-ade.nl / http://context.aanhet.net
> archive  : https://bitbucket.org/phg/context-mirror/commits/
> wiki     : https://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://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : https://www.pragma-ade.nl / http://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki     : https://contextgarden.net
___________________________________________________________________________________

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2023-09-07  5:39 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-09-06 22:53 [NTG-context] Vertical Space between Text and Itemize List Jeroen
2023-09-07  5:37 ` [NTG-context] " Mikael Sundqvist

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).