From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/44297 Path: news.gmane.org!not-for-mail From: Taco Hoekwater Newsgroups: gmane.comp.tex.context Subject: Re: math font size in captions (and other places) Date: Thu, 25 Sep 2008 10:01:24 +0200 Message-ID: <48DB4554.3090308@elvenkind.com> References: Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1222331243 32431 80.91.229.12 (25 Sep 2008 08:27:23 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 25 Sep 2008 08:27:23 +0000 (UTC) To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Thu Sep 25 10:28:17 2008 connect(): Connection refused Return-path: Envelope-to: gctc-ntg-context-518@m.gmane.org Original-Received: from ronja.vet.uu.nl ([131.211.172.88] helo=ronja.ntg.nl) by lo.gmane.org with esmtp (Exim 4.50) id 1KimCu-0001lw-8l for gctc-ntg-context-518@m.gmane.org; Thu, 25 Sep 2008 10:28:16 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 520EF1FE35; Thu, 25 Sep 2008 10:27:12 +0200 (CEST) Original-Received: from ronja.ntg.nl ([127.0.0.1]) by localhost (smtp.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 22210-02-7; Thu, 25 Sep 2008 10:26:32 +0200 (CEST) Original-Received: from ronja.vet.uu.nl (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 505DF1FE75; Thu, 25 Sep 2008 10:02:01 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 790471FE75 for ; Thu, 25 Sep 2008 10:01:59 +0200 (CEST) Original-Received: from ronja.ntg.nl ([127.0.0.1]) by localhost (smtp.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 08555-01-11 for ; Thu, 25 Sep 2008 10:01:25 +0200 (CEST) Original-Received: from plane.elvenkind.com (elvenknd.xs4all.nl [82.95.203.226]) by ronja.ntg.nl (Postfix) with ESMTP id 1DF6C1FE6E for ; Thu, 25 Sep 2008 10:01:25 +0200 (CEST) Original-Received: from glenlivet.elvenkind.com (glenlivet.elvenkind.com [10.10.0.6]) by plane.elvenkind.com (Postfix) with ESMTP id 0C7118041715 for ; Thu, 25 Sep 2008 10:01:25 +0200 (CEST) User-Agent: Thunderbird 2.0.0.12 (X11/20080305) In-Reply-To: X-Virus-Scanned: amavisd-new at ntg.nl X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.1.9 Precedence: list List-Id: mailing list for ConTeXt users List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: ntg-context-bounces@ntg.nl Errors-To: ntg-context-bounces@ntg.nl X-Virus-Scanned: amavisd-new at ntg.nl Xref: news.gmane.org gmane.comp.tex.context:44297 Archived-At: Mikael Persson wrote: > > In both cases the text is small, but math font is not changed. I can > solve this by doing a \switchtobodyfont in the caption, You can put the \switchtobodyfont in the style argument: \setupcaptions[style={\switchtobodyfont[small]}] or you could redefine 'small': \def\bodyfontsmall{\switchtobodyfont[small]} \definealternativestyle [small] [\bodyfontsmall] [] (untested) If redefinition doesn't work, you have to define a new alternative style \definealternativestyle [MySmall] [\bodyfontsmall] [] but then you would have to go through the style changing "style=small" to "style=MySmall" etc. Best wishes, Taco ___________________________________________________________________________________ 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 : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___________________________________________________________________________________