ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* unwanted vertical space below combinations captions
@ 2016-12-30 21:25 Mikael P. Sundqvist
  0 siblings, 0 replies; 3+ messages in thread
From: Mikael P. Sundqvist @ 2016-12-30 21:25 UTC (permalink / raw)
  To: mailing list for ConTeXt users

[-- Attachment #1: Type: text/plain, Size: 866 bytes --]

Hi,

I'm trying to get rid of some vertical space below the caption of
combinations. In the example below I want to have no space under the
captions (i.e. the frame should almost touch the captions). I thought
that height=fit would do this, but no luck. Result is attached. (The
reason I want to get rid of the space is that I want to put the
combinations at the bottom of a page (without the frames!), and then
one get the feeling that there is an extra line.)

/Mikael

\setupcombinations[
height=fit,
after=,
]

\starttext

\input knuth \par
\framed[offset=overlay]{%
\startcombination[2*2]
\startcontent
\blackrule[width=0.475\textwidth,height=4cm]
\stopcontent
\startcaption
A caption
\stopcaption
\startcontent
\blackrule[width=0.475\textwidth,height=4cm]
\stopcontent
\startcaption
Another caption
\stopcaption
\stopcombination
}
\par
\input knuth

\stoptext

[-- Attachment #2: ctx-listexample23.pdf --]
[-- Type: application/pdf, Size: 9841 bytes --]

[-- Attachment #3: Type: text/plain, Size: 492 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] 3+ messages in thread

* Re: unwanted vertical space below combinations captions
       [not found]         ` <CAHy-LL9of0n2_X-wh7Yejt5Md0t7Co3HP1UnwY1px6bzGoWkpw@mail.gmail.com>
@ 2016-12-31 12:22           ` Mikael P. Sundqvist
  0 siblings, 0 replies; 3+ messages in thread
From: Mikael P. Sundqvist @ 2016-12-31 12:22 UTC (permalink / raw)
  To: mailing list for ConTeXt users


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

Den 31 dec. 2016 12:42 em skrev "Jeong Dal" <haksan@me.com>:

Dear Mikael,

By changing the numbers [2*2] to [2*1], the space below the caption is
disappeared.
I also got no space below the caption when I add two more contents while
keeping  [2*2].
I think that it happened because of the mismatch between the numbers of
contents and the dimension.

Best regards,

Dalyoung

PS: Happy New Year to all!

>
> \framed[offset=overlay]{%
> \startcombination[2*2]

\startcombination[2*1]
____________________________________________________________
_______________________
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
____________________________________________________________
_______________________


Oh, thanks!

I somehow thought that the caption also counted. You are of course correct,
and the space has disappeared. Thanks again, and happy new year to you
aswell!

/Mikael

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

[-- Attachment #2: Type: text/plain, Size: 492 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] 3+ messages in thread

* Re: unwanted vertical space below combinations captions
       [not found] <mailman.1490.1483133171.2018.ntg-context@ntg.nl>
@ 2016-12-31 11:41 ` Jeong Dal
       [not found]   ` <CAHy-LL9CPn5_sVdeVgd2bEN_zLV4rePBaGF_mo6Nn7nc+U-SPQ@mail.gmail.com>
  0 siblings, 1 reply; 3+ messages in thread
From: Jeong Dal @ 2016-12-31 11:41 UTC (permalink / raw)
  To: ntg-context

Dear Mikael,

By changing the numbers [2*2] to [2*1], the space below the caption is disappeared.
I also got no space below the caption when I add two more contents while keeping  [2*2].
I think that it happened because of the mismatch between the numbers of contents and the dimension.

Best regards,

Dalyoung

PS: Happy New Year to all!

> 
> \framed[offset=overlay]{%
> \startcombination[2*2]

\startcombination[2*1]
___________________________________________________________________________________
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:[~2016-12-31 12:22 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-12-30 21:25 unwanted vertical space below combinations captions Mikael P. Sundqvist
     [not found] <mailman.1490.1483133171.2018.ntg-context@ntg.nl>
2016-12-31 11:41 ` Jeong Dal
     [not found]   ` <CAHy-LL9CPn5_sVdeVgd2bEN_zLV4rePBaGF_mo6Nn7nc+U-SPQ@mail.gmail.com>
     [not found]     ` <CAHy-LL_qrgxAJSLZO6574qjSyetWsE6Ktx+P7PU6hPTSS2NJBg@mail.gmail.com>
     [not found]       ` <CAHy-LL80VtFX6Ws1QCKSo4xeCgED3jo9e8SR7L0vAdXMVvEcUg@mail.gmail.com>
     [not found]         ` <CAHy-LL9of0n2_X-wh7Yejt5Md0t7Co3HP1UnwY1px6bzGoWkpw@mail.gmail.com>
2016-12-31 12:22           ` Mikael P. 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).