ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* How to stop columns from splitting up items in a list?
       [not found] <1313347576.1984929.1643467506559.ref@mail.yahoo.com>
@ 2022-01-29 14:45 ` Joel via ntg-context
  2022-01-29 23:40   ` Bruce Horrocks via ntg-context
  0 siblings, 1 reply; 2+ messages in thread
From: Joel via ntg-context @ 2022-01-29 14:45 UTC (permalink / raw)
  To: ntg-context; +Cc: Joel


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

I am writing a workbook that contains a materials list in front of some craft activities. 
I found that simply displaying a bulleted list can take up lots of space on the page, so instead put the list in three columns. The problem is, if there is an item with a somewhat long description, it can be split across columns. See the example below:
\starttext    \startcolumns[n=3]%        \startitemize[1]%             \item pizza cutter             \item a word processor (or notebook paper)         \stopitemize%     \stopcolumns%\stoptext
In the example, it split the second item across the columns.
How can I create columns that don't allow the item to split across them?

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

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

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

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

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

* Re: How to stop columns from splitting up items in a list?
  2022-01-29 14:45 ` How to stop columns from splitting up items in a list? Joel via ntg-context
@ 2022-01-29 23:40   ` Bruce Horrocks via ntg-context
  0 siblings, 0 replies; 2+ messages in thread
From: Bruce Horrocks via ntg-context @ 2022-01-29 23:40 UTC (permalink / raw)
  To: mailing list for ConTeXt users; +Cc: Bruce Horrocks



> On 29 Jan 2022, at 14:45, Joel via ntg-context <ntg-context@ntg.nl> wrote:
> 
> I am writing a workbook that contains a materials list in front of some craft activities.
> 
> I found that simply displaying a bulleted list can take up lots of space on the page, so instead put the list in three columns. The problem is, if there is an item with a somewhat long description, it can be split across columns. See the example below:
> 
> \starttext
>     \startcolumns[n=3]%
>         \startitemize[1]%
>              \item pizza cutter
>              \item a word processor (or notebook paper)
>          \stopitemize%
>      \stopcolumns%
> \stoptext
> 
> In the example, it split the second item across the columns.
> 
> How can I create columns that don't allow the item to split across them?
> 

Have you tried 

\startitemize[columns,three]

instead of \startcolumns?

There are examples in the manual on page 16
<http://www.pragma-ade.com/general/manuals/ma-cb-en.pdf>

The spacing can be adjusted as well if the default is too big.

—
Bruce Horrocks
Hampshire, UK

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

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

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

end of thread, other threads:[~2022-01-29 23:40 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <1313347576.1984929.1643467506559.ref@mail.yahoo.com>
2022-01-29 14:45 ` How to stop columns from splitting up items in a list? Joel via ntg-context
2022-01-29 23:40   ` Bruce Horrocks via ntg-context

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