Re: [NTG-context] Styling captions inside \startcombination ... \stopcombination
On Sat, Mar 14, 2015 at 1:10 PM, Hans Hagen 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 ___
Re: [NTG-context] Styling captions inside \startcombination ... \stopcombination
On Sat, 14 Mar 2015 13:10:28 +0100 Hans Hagen wrote: > the obvious: > > \setupcombinations[style={\switchtobodyfont[8pt]}] How about \switchtobodyfont[small] to handle nesting? Alan ___ 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 ___
Re: [NTG-context] Styling captions inside \startcombination ... \stopcombination
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 - ___ 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 ___
[NTG-context] Styling captions inside \startcombination ... \stopcombination
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 ___ 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 ___