ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: "Christian" <metan0r@gmx.de>
To: "'Jaroslav Hajtmar'" <hajtmar@gyza.cz>,
	"'mailing list for ConTeXt users'" <ntg-context@ntg.nl>
Subject: Re: Change the gap between image and caption
Date: Fri, 25 Nov 2011 21:02:35 +0100	[thread overview]
Message-ID: <015a01ccabad$2d11b990$87352cb0$@gmx.de> (raw)
In-Reply-To: <4ECFF268.3050408@gyza.cz>

you can also play around with included blanks. I don't know if this is a clean way, but it's working:

\setupcaptions[number=no,style=\ssxx]
\setupfloats[spacebefore=none, spaceafter=none] %
\starttext
\input tufte

\startplacefigure
    \startcombination[3*1]
      {\externalfigure[cow][frame=on,width=.3\textwidth]}{{\blank[.2cm]}This caption has to be more distanced.}
      {\externalfigure[cow][frame=on,width=.3\textwidth]}{{\blank[1cm]}This title has yet to be more distanced.}
      {\externalfigure[cow][frame=on,width=.3\textwidth]}{This label is to be closer to figure.}
    \stopcombination
\stopplacefigure
\input tufte
\stoptext


> -----Ursprüngliche Nachricht-----
> Von: ntg-context-bounces@ntg.nl [mailto:ntg-context-bounces@ntg.nl] Im
> Auftrag von Jaroslav Hajtmar
> Gesendet: Freitag, 25. November 2011 20:54
> An: mailing list for ConTeXt users
> Betreff: Re: [NTG-context] Change the gap between image and caption
> 
> Hello Christian.
> Thank you. For the entire block of images it works well. It is sufficient at this
> time.
> I just wanted to know how to do it if I do not take pictures inside
> startcombinations - stopcombinations environment
> 
> Jaroslav
> 
> 
> 
> Dne 25.11.2011 19:45, Christian napsal(a):
> > Well, since you are in a "startcombinations" block and not a figure
> environement, try this:
> >
> > \setupcombinations[inbetween={\blank[1cm]}]
> >
> >
> >
> >> -----Ursprüngliche Nachricht-----
> >> Von: ntg-context-bounces@ntg.nl [mailto:ntg-context-bounces@ntg.nl]
> >> Im Auftrag von Jaroslav Hajtmar
> >> Gesendet: Freitag, 25. November 2011 19:08
> >> An: mailing list for ConTeXt users
> >> Betreff: [NTG-context] Change the gap between image and caption
> >>
> >> 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
> >>
> __________________________________________________________
> >> _________________________
> >>
> >
> >
> 
> __________________________________________________________
> _________________________
> 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
> __________________________________________________________
> _________________________

___________________________________________________________________________________
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 20:02 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-11-25 18:07 Jaroslav Hajtmar
2011-11-25 18:45 ` Christian
2011-11-25 19:54   ` Jaroslav Hajtmar
2011-11-25 20:02     ` Christian [this message]
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='015a01ccabad$2d11b990$87352cb0$@gmx.de' \
    --to=metan0r@gmx.de \
    --cc=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).