ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Jaroslav Hajtmar <hajtmar@gyza.cz>
To: mailing list for ConTeXt users <ntg-context@ntg.nl>
Subject: Change the gap between image and caption
Date: Fri, 25 Nov 2011 19:07:45 +0100	[thread overview]
Message-ID: <4ECFD971.6000801@gyza.cz> (raw)

Hello ConTeXt folks.

Is it possible to adjust the size of the gap between the lower edge of 
the picture and its caption in simple externalfigure command?
By experimenting I found that this gap can be set in a floating 
environment (placefigure)  using "inbetween" parameter.
Is there possibilities do gap somehow larger or smaller in 
externalfigure environment?  See minimal example.
Thanx Jaroslav


\starttext

\setupcaptions[number=no,style=\ssxx,inbetween={\blank[1cm]}]
\setupfloats[spacebefore=none, spaceafter=none] %

\input tufte

\placefigure[here]{Here is farther caption}
{\externalfigure[mill][type=jpg,metod=jpg,width=5cm,frame=on]}

\input tufte


\page


\startTEXpage
    \startcombination[3*1]
      {\externalfigure[cow][frame=on]}{This caption has to be more 
distanced.}
      {\externalfigure[cow][frame=on]}{This title has yet to be more 
distanced.}
      {\externalfigure[cow][frame=on]}{This label is to be closer to 
figure.}
    \stopcombination
\stopTEXpage



\stoptext
___________________________________________________________________________________
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://tex.aanhet.net
archive  : http://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
___________________________________________________________________________________


             reply	other threads:[~2011-11-25 18:07 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-11-25 18:07 Jaroslav Hajtmar [this message]
2011-11-25 18:45 ` Christian
2011-11-25 19:54   ` Jaroslav Hajtmar
2011-11-25 20:02     ` Christian
2011-11-25 22:51       ` Jaroslav Hajtmar

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=4ECFD971.6000801@gyza.cz \
    --to=hajtmar@gyza.cz \
    --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).