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