* Styling captions inside \startcombination ... \stopcombination @ 2015-03-14 9:50 Mojca Miklavec 2015-03-14 12:10 ` Hans Hagen 0 siblings, 1 reply; 4+ messages in thread From: Mojca Miklavec @ 2015-03-14 9:50 UTC (permalink / raw) To: mailing list for ConTeXt users 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 ___________________________________________________________________________________ ^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: Styling captions inside \startcombination ... \stopcombination 2015-03-14 9:50 Styling captions inside \startcombination ... \stopcombination Mojca Miklavec @ 2015-03-14 12:10 ` Hans Hagen 2015-03-15 21:25 ` Alan BRASLAU 2015-03-16 12:12 ` Mojca Miklavec 0 siblings, 2 replies; 4+ messages in thread From: Hans Hagen @ 2015-03-14 12:10 UTC (permalink / raw) To: mailing list for ConTeXt users 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 ___________________________________________________________________________________ ^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: Styling captions inside \startcombination ... \stopcombination 2015-03-14 12:10 ` Hans Hagen @ 2015-03-15 21:25 ` Alan BRASLAU 2015-03-16 12:12 ` Mojca Miklavec 1 sibling, 0 replies; 4+ messages in thread From: Alan BRASLAU @ 2015-03-15 21:25 UTC (permalink / raw) To: mailing list for ConTeXt users On Sat, 14 Mar 2015 13:10:28 +0100 Hans Hagen <pragma@wxs.nl> 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 ___________________________________________________________________________________ ^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: Styling captions inside \startcombination ... \stopcombination 2015-03-14 12:10 ` Hans Hagen 2015-03-15 21:25 ` Alan BRASLAU @ 2015-03-16 12:12 ` Mojca Miklavec 1 sibling, 0 replies; 4+ messages in thread From: Mojca Miklavec @ 2015-03-16 12:12 UTC (permalink / raw) To: mailing list for ConTeXt users On Sat, Mar 14, 2015 at 1:10 PM, Hans Hagen <pragma@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 ___________________________________________________________________________________ ^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2015-03-16 12:12 UTC | newest] Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed) -- links below jump to the message on this page -- 2015-03-14 9:50 Styling captions inside \startcombination ... \stopcombination Mojca Miklavec 2015-03-14 12:10 ` Hans Hagen 2015-03-15 21:25 ` Alan BRASLAU 2015-03-16 12:12 ` Mojca Miklavec
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox; as well as URLs for NNTP newsgroup(s).