* white space after a float in a column
@ 2019-08-10 10:20 Sytse Knypstra@home.nl
0 siblings, 0 replies; 2+ messages in thread
From: Sytse Knypstra@home.nl @ 2019-08-10 10:20 UTC (permalink / raw)
To: ntg-context
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
___________________________________________________________________________________
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: white space after a float in a column
[not found] <mailman.0.1565517602.20002.ntg-context@ntg.nl>
@ 2019-08-12 9:59 ` Sytse Knypstra
0 siblings, 0 replies; 2+ messages in thread
From: Sytse Knypstra @ 2019-08-12 9:59 UTC (permalink / raw)
To: ntg-context
Hi all,
In my recent question I had overlooked the possibility of using
\startplaceintermezzo
...
\stopplaceintermezzo
and inserting a \blank before the \stopplaceintermezzo.
Sorry for this stupid mistake and the noise.
With kind regards,
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
___________________________________________________________________________________
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2019-08-12 9:59 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-08-10 10:20 white space after a float in a column Sytse Knypstra@home.nl
[not found] <mailman.0.1565517602.20002.ntg-context@ntg.nl>
2019-08-12 9:59 ` Sytse Knypstra
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).