From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/11232 Path: main.gmane.org!not-for-mail From: Hans Hagen Newsgroups: gmane.comp.tex.context Subject: Re: fontsize in math Date: Thu, 06 Mar 2003 14:29:57 +0100 Sender: ntg-context-admin@ntg.nl Message-ID: <5.1.0.14.1.20030306142322.03552e80@server-1> References: <6949B866-4F0C-11D7-A82F-003065568054@science.uva.nl> Reply-To: ntg-context@ntg.nl NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii"; format=flowed X-Trace: main.gmane.org 1046957728 21561 80.91.224.249 (6 Mar 2003 13:35:28 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Thu, 6 Mar 2003 13:35:28 +0000 (UTC) Original-X-From: ntg-context-admin@ntg.nl Thu Mar 06 14:35:26 2003 Return-path: Original-Received: from ref.vet.uu.nl ([131.211.172.13] helo=ref.ntg.nl) by main.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 18qvWv-0005bR-00 for ; Thu, 06 Mar 2003 14:35:25 +0100 Original-Received: from ref.ntg.nl (localhost.localdomain [127.0.0.1]) by ref.ntg.nl (Postfix) with ESMTP id C059210B46; Thu, 6 Mar 2003 14:35:51 +0100 (MET) Original-Received: from mail.solcon.nl (mail.solcon.nl [212.45.33.11]) by ref.ntg.nl (Postfix) with ESMTP id 1C06710B2F for ; Thu, 6 Mar 2003 14:30:07 +0100 (MET) Original-Received: from server-1.pragma-net.nl (wc-58016.solcon.nl [212.45.58.16]) by mail.solcon.nl (8.12.5/pre1.0-MySQL/8.12.5) with ESMTP id h26DU0Rp007604 for ; Thu, 6 Mar 2003 14:30:01 +0100 Original-Received: from LAPTOP-3.wxs.nl (laptop-3 [10.100.1.191]) by server-1.pragma-net.nl (8.12.3/8.12.2) with ESMTP id h26DU3aa022220 for ; Thu, 6 Mar 2003 14:30:03 +0100 X-Sender: hagen-mail@server-1 X-Mailer: QUALCOMM Windows Eudora Version 5.1 Original-To: ntg-context@ntg.nl In-Reply-To: <6949B866-4F0C-11D7-A82F-003065568054@science.uva.nl> X-RAVMilter-Version: 8.4.1(snapshot 20020919) (mail.solcon.nl) Errors-To: ntg-context-admin@ntg.nl X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.0.13 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: mailing list for ConTeXt users List-Unsubscribe: , List-Archive: Xref: main.gmane.org gmane.comp.tex.context:11232 X-Report-Spam: http://spam.gmane.org/gmane.comp.tex.context:11232 At 02:14 PM 3/5/2003 +0100, you wrote: >Hi Hans, > >I encountered an issue in fontsizing in math mode that I do not understand. >Searched the manual but couldn't find (or missed) the clue. > >Using the green presentation style but changed to a somewhat larger >fontsize by adding: >\setupbodyfont[lbr, sans, 17.3pt] % lucidabright > >typesetting the following text: >{abc$abc$abc} --- {\tfx abc$abc$abc} --- {\tfx abc}{$\tfx abc$}{\tfx abc} > >In the first the abc's have the same size. >In the second the math part has kept its size, the other two are smaller. >In the third the math part is now so small is doesn't match in size as it >did in the first. > >I would have thought the math would vary in accordance with the \tfx. >However, within $'s the font does not follow the outside \tfx, while >inside a different size seems to be chosen. I am baffled. >Can you point in the right direction? Thanks. The x and xx sizes are meant for text purposes, like text super and subscripts and pseudo kaps; opposite to a-d sizes that are meant for heads and so; as a result, x and xx are fast, a-d are slower due to the fact that math is synchronzied (can be turned on/off) When you want to switch to a smaller/larger bodyfont, you should use \smallbodyfont == \switchtobodyfont[smallbodyfont] \bigbodyfont == ... This will switch the whole thing (kee pin mind that for math also the two smaller super/sub sizes have to be set up). When using typescripts (i.e. namespaces font sets with global file resolving) the penalty in terms of time is small. So: use \smallbidyfont instead of \tfx in your case btw, in the third example the second tfx is actually a tfxx, so {text \tfx text \tfx text} makes the last one real small; as said, the main reason for the x sizes in in super/sub scripts and pseudo kaps (we use those a lot in educ docs and these commands also obey the font style) Hans ------------------------------------------------------------------------- Hans Hagen | PRAGMA ADE | pragma@wxs.nl Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: +31 (0)38 477 53 69 | fax: +31 (0)38 477 53 74 | www.pragma-ade.com ------------------------------------------------------------------------- information: http://www.pragma-ade.com/roadmap.pdf documentation: http://www.pragma-ade.com/showcase.pdf -------------------------------------------------------------------------