Eliminate space between float and caption
I am trying to find a way to reduce/eliminate the space between a figure and a caption. The default amount looks rather large to me: larger than the spacing between the caption and the body text. I tried to use the inbetween option in \setupcation, but I can only seem to increase the space between the figure and caption and not reduce it. I saw a reference to details.pdf in the mailing list about more advanced examples of captions, but when I went to www.pragma-ade.com/temp the page no longer exists and I couldn't find details.pdf. Thanks, Mike
You can find the document at http://www.pragma-ade.com/dir? path=general/manuals Willi On Mar 5, 2009, at 4:55 PM, Michael Bynum wrote:
I am trying to find a way to reduce/eliminate the space between a figure and a caption. The default amount looks rather large to me: larger than the spacing between the caption and the body text. I tried to use the inbetween option in \setupcation, but I can only seem to increase the space between the figure and caption and not reduce it. I saw a reference to details.pdf in the mailing list about more advanced examples of captions, but when I went to www.pragma-ade.com/temp the page no longer exists and I couldn't find details.pdf.
Thanks, Mike ______________________________________________________________________ _____________ 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 : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ______________________________________________________________________ _____________
Thanks, that was the file I was looking for. It seems I was correctly
specifying the term "inbetween=", but it would seem the inbetween
distance is based on the body font as opposed to the caption font. As
a result, if a smaller font is used in the caption, "inbetween=" no
longer results in the caption touching the bottom of the figure. Is
there a way to base the inbetween distance on the caption font size?
Mike
\starttext
\setupcaption[figure][style=tfa,inbetween=]
\reservefigure
[height=2cm,width=10cm,frame=on][here][fig:reservation]
{An example of a reservation.}
\setupcaption[figure][style=tf,inbetween=]
\reservefigure
[height=2cm,width=10cm,frame=on][here][fig:reservation]
{An example of a reservation.}
\setupcaption[figure][style=tfx,inbetween=]
\reservefigure
[height=2cm,width=10cm,frame=on][here][fig:reservation]
{An example of a reservation.}
\setupcaption[figure][style=tfxx,inbetween=]
\reservefigure
[height=2cm,width=10cm,frame=on][here][fig:reservation]
{An example of a reservation.}
\stoptext
On Thu, Mar 5, 2009 at 1:16 PM, Willi Egger
You can find the document at http://www.pragma-ade.com/dir?path=general/manuals
Willi On Mar 5, 2009, at 4:55 PM, Michael Bynum wrote:
I am trying to find a way to reduce/eliminate the space between a figure and a caption. The default amount looks rather large to me: larger than the spacing between the caption and the body text. I tried to use the inbetween option in \setupcation, but I can only seem to increase the space between the figure and caption and not reduce it. I saw a reference to details.pdf in the mailing list about more advanced examples of captions, but when I went to www.pragma-ade.com/temp the page no longer exists and I couldn't find details.pdf.
Thanks, Mike
___________________________________________________________________________________ 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 : https://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 : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___________________________________________________________________________________
participants (2)
-
Michael Bynum
-
Willi Egger