ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* Itemize lists run into floats - how to add additional spacing
@ 2018-12-19 12:15 Marco Patzer
  2018-12-19 17:29 ` Hans Hagen
  0 siblings, 1 reply; 3+ messages in thread
From: Marco Patzer @ 2018-12-19 12:15 UTC (permalink / raw)
  To: mailing list for ConTeXt users

Hi!

The bullet of itemize lists runs into the boxes and caption of
floats. How to add spacing so the bullet doesn't touch the float?

Example:

\setupexternalfigures
  [location=default]

\setupfloat
  [figure]
  [default=left]

\setupitemize
  [packed, autointro]

\starttext
\startitemize
  \startitem
    Foo
    \startplacefigure [title=Lorem ipsum dolor sit amet consectetur]
       \externalfigure [hacker]
    \stopplacefigure
    Bar
  \stopitem
  \dorecurse{15}{%%
    \startitem Foobar \stopitem
  }
\stopitemize
\stoptext

Marco
___________________________________________________________________________________
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] 3+ messages in thread

* Re: Itemize lists run into floats - how to add additional spacing
  2018-12-19 12:15 Itemize lists run into floats - how to add additional spacing Marco Patzer
@ 2018-12-19 17:29 ` Hans Hagen
  2018-12-19 18:04   ` Marco Patzer
  0 siblings, 1 reply; 3+ messages in thread
From: Hans Hagen @ 2018-12-19 17:29 UTC (permalink / raw)
  To: Marco Patzer, ntg-context

On 12/19/2018 1:15 PM, Marco Patzer wrote:
> Hi!
> 
> The bullet of itemize lists runs into the boxes and caption of
> floats. How to add spacing so the bullet doesn't touch the float?
> 
> Example:
> 
> \setupexternalfigures
>    [location=default]
> 
> \setupfloat
>    [figure]
>    [default=left]
> 
> \setupitemize
>    [packed, autointro]
> 
> \starttext
> \startitemize
>    \startitem
>      Foo
>      \startplacefigure [title=Lorem ipsum dolor sit amet consectetur]
>         \externalfigure [hacker]
>      \stopplacefigure
>      Bar
>    \stopitem
>    \dorecurse{15}{%%
>      \startitem Foobar \stopitem
>    }
> \stopitemize
> \stoptext

\setupfloat
   [figure]
   [default=left,margin=1cm]



-----------------------------------------------------------------
                                           Hans Hagen | PRAGMA ADE
               Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
        tel: 038 477 53 69 | www.pragma-ade.nl | www.pragma-pod.nl
-----------------------------------------------------------------
___________________________________________________________________________________
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] 3+ messages in thread

* Re: Itemize lists run into floats - how to add additional spacing
  2018-12-19 17:29 ` Hans Hagen
@ 2018-12-19 18:04   ` Marco Patzer
  0 siblings, 0 replies; 3+ messages in thread
From: Marco Patzer @ 2018-12-19 18:04 UTC (permalink / raw)
  To: Hans Hagen; +Cc: ntg-context

On Wed, 19 Dec 2018 18:29:33 +0100
Hans Hagen <j.hagen@xs4all.nl> wrote:

> \setupfloat
>    [figure]
>    [default=left,margin=1cm]

Thanks for the eye-opener. I realised I applied the margin on the item
group instead of the float. Sometimes it's the simple things…

Marco
___________________________________________________________________________________
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] 3+ messages in thread

end of thread, other threads:[~2018-12-19 18:04 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-12-19 12:15 Itemize lists run into floats - how to add additional spacing Marco Patzer
2018-12-19 17:29 ` Hans Hagen
2018-12-19 18:04   ` Marco Patzer

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