On Sat, Mar 14, 2015 at 1:10 PM, Hans Hagen <pra...@wxs.nl> wrote:
> 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
___________________________________________________________________________________
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 via email to