Styling captions inside \startcombination ... \stopcombination
![](https://secure.gravatar.com/avatar/6114858d84b0f40cf715f12237ab67a1.jpg?s=120&d=mm&r=g)
Hello, I'm using the following code to make the figure captions smaller: \setupcaptions[style={\switchtobodyfont[8pt]}] Now I'm looking for the magic keywoard to also decrease the size of captions inside combinations, as in the following case for example (otherwise the "subcaptions" are too big in comparison): \setupcaptions[style={\switchtobodyfont[8pt]}] \setupexternalfigures[location={default}] \starttext \placefigure{Cows in \ConTeXt} {\startcombination[2*1] {\mirror{\externalfigure[cow][width=4cm]}}{First cow} {\externalfigure[cow][width=4cm]}{Second cow} \stopcombination} \stoptext Thank you, Mojca
![](https://secure.gravatar.com/avatar/49e63acb01f2ca80efce7eed08310ce8.jpg?s=120&d=mm&r=g)
On 3/14/2015 10:50 AM, Mojca Miklavec wrote:
Hello,
I'm using the following code to make the figure captions smaller: \setupcaptions[style={\switchtobodyfont[8pt]}]
Now I'm looking for the magic keywoard to also decrease the size of captions inside combinations, as in the following case for example (otherwise the "subcaptions" are too big in comparison):
\setupcaptions[style={\switchtobodyfont[8pt]}] \setupexternalfigures[location={default}] \starttext \placefigure{Cows in \ConTeXt} {\startcombination[2*1] {\mirror{\externalfigure[cow][width=4cm]}}{First cow} {\externalfigure[cow][width=4cm]}{Second cow} \stopcombination} \stoptext
the obvious: \setupcombinations[style={\switchtobodyfont[8pt]}] ----------------------------------------------------------------- Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | voip: 087 875 68 74 | www.pragma-ade.com | www.pragma-pod.nl -----------------------------------------------------------------
![](https://secure.gravatar.com/avatar/6114858d84b0f40cf715f12237ab67a1.jpg?s=120&d=mm&r=g)
On Sat, Mar 14, 2015 at 1:10 PM, Hans Hagen
On 3/14/2015 10:50 AM, Mojca Miklavec wrote:
Hello,
I'm using the following code to make the figure captions smaller: \setupcaptions[style={\switchtobodyfont[8pt]}]
Now I'm looking for the magic keywoard to also decrease the size of captions inside combinations, as in the following case for example (otherwise the "subcaptions" are too big in comparison):
\setupcaptions[style={\switchtobodyfont[8pt]}] \setupexternalfigures[location={default}] \starttext \placefigure{Cows in \ConTeXt} {\startcombination[2*1] {\mirror{\externalfigure[cow][width=4cm]}}{First cow} {\externalfigure[cow][width=4cm]}{Second cow} \stopcombination} \stoptext
the obvious:
\setupcombinations[style={\switchtobodyfont[8pt]}]
I'm sorry and thank you. Blush. I feel ashamed that I actually looked into the source code and found the following inside pack-com.mkiv: \setupcombination [\c!width=\v!fit, \c!height=\v!fit, \c!distance=\emwidth, \c!location=\v!bottom, % can be something {top,left} \c!before=\blank, \c!after=, \c!inbetween={\blank[\v!medium]}, %\c!style=, %\c!color=, \c!nx=2, % new \c!ny=1, % new \c!align=\v!middle] However I failed to notice the commented-out command "style=". Luckily I can blame the syntax highlighting that makes the comments more hidden than the rest of the code ;) Mojca
participants (3)
-
Alan BRASLAU
-
Hans Hagen
-
Mojca Miklavec