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
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 __________________________________________________________ _________________________
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 __________________________________________________________ _________________________
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 __________________________________________________________ _________________________
Thanx Christian. I dont konw it this is clean way too, but it works fine and emergency it is certainly applicable :-) Jaroslav Dne 25.11.2011 21:02, Christian napsal(a):
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 __________________________________________________________ _________________________
participants (2)
-
Christian
-
Jaroslav Hajtmar