ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: "Sytse Knypstra@home.nl" <sytse.knypstra@home.nl>
To: ntg-context@ntg.nl
Subject: white space after a float in a column
Date: Sat, 10 Aug 2019 12:20:47 +0200 (CEST)	[thread overview]
Message-ID: <1507351512.2418130.1565432447618@mail.ziggo.nl> (raw)

Dear list members,

I am struggling with floats in a two-column layout. I understand that there are three up-to-date mechanisms for columns: columnsets, pagecolumns and pagegrids.

However, in neither setup I succeed in producing some extra vertical whitespace after the float if a caption is omitted (i.e. location=none in \setupcaption).

My example:



\definepapersize[square21][width=21cm,height=21cm]

\setuppapersize[square21][square21]

\definecolumnset[Two][n=2]

\setupcolumnset[Two]

\setupcaption[intermezzo][location=none,spaceafter=1cm]
 % no value for spaceafter seems to work
\setuptolerance[verytolerant,stretch]

\setupframedtexts[frame=on,corner=round,width=local]

\setuplayout[grid=yes]

\starttext

\startcolumnset[Two]

	\input knuth \par

	\placeintermezzo[bottom][]{}

	\startframedtext

		\input tufte \par

	\stopframedtext

	\input knuth \par

\stopcolumnset
\stoptext

If 'columnset' is replaced everywhere by 'pagecolumns' or by 'pagegrid' through a find-and-replace operation, the result remains identical.

Is it possible to insert more vertical white space after the intermezzo?

A secondary remark: \placeintermezzo always puts the framed text at the top of the next column, no matter whether the parameter is top or bottom. But this is not a big deal.

Sytse Knypstra
___________________________________________________________________________________
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
___________________________________________________________________________________

             reply	other threads:[~2019-08-10 10:20 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-08-10 10:20 Sytse Knypstra@home.nl [this message]
     [not found] <mailman.0.1565517602.20002.ntg-context@ntg.nl>
2019-08-12  9:59 ` Sytse Knypstra

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1507351512.2418130.1565432447618@mail.ziggo.nl \
    --to=sytse.knypstra@home.nl \
    --cc=ntg-context@ntg.nl \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).