From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/3372 Path: main.gmane.org!not-for-mail From: Hans Hagen Newsgroups: gmane.comp.tex.context Subject: Re: more font switches Date: Sun, 19 Nov 2000 23:47:19 +0100 Sender: owner-ntg-context@let.uu.nl Message-ID: <3.0.6.32.20001119234719.00a57880@pop.wxs.nl> References: <20001119162433.819602317E@client44-3.kabela.oprit.rug.nl> NNTP-Posting-Host: coloc-standby.netfonds.no Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" X-Trace: main.gmane.org 1035394108 16457 80.91.224.250 (23 Oct 2002 17:28:28 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Wed, 23 Oct 2002 17:28:28 +0000 (UTC) Cc: ntg-context@ntg.nl Original-To: siepo@cybercomm.nl In-Reply-To: <20001119162433.819602317E@client44-3.kabela.oprit.rug.nl> Xref: main.gmane.org gmane.comp.tex.context:3372 X-Report-Spam: http://spam.gmane.org/gmane.comp.tex.context:3372 At 05:21 PM 11/19/00 +0100, you wrote: >Size commands appear to wipe out bold settings too: > > \ss\bold > > {\tf normalsize} > > {\tfx x-size} > > {\tfa a-size} > >does not result in any bold text. > >Using Computer Modern instead of Times/Helvetica > > \ss\bold > > {\tf\bold normalsize} > > {\tfx\bold x-size} > > {\tfa\bold a-size} > >the last entry still isn't bold even though with ber,pos this works as >expected. Because fonts take quite some resources and because computer modern fonts have many design sizes and take even more resourses, not all sizes are defined by default. In font-cmr you can see that the big sans ones are just defined as normal ones. Since we nowadays may expect users to have set their font parameters large and if nobody objects, i can set the big bold [and alike] sans cmr's too. [originally i defined as much as emtex could reasonably handle, later i added some more, keepin ginto mind that loading soem additional ones should still fit into the amount normally allocated in web2c]. So, i can add a few more now. \definebodyfont [12pt] [ss] [bfa=cmss12 scaled \magstep1, % this then will be cmssbx ..... .... the phv and other fonts with no design sizes are defined using the settings in font-unk.tex, so there you get a few more for free. Concerning the switch, \tf* == regular/sans/mono depending on the style at hand, and the \bold will overload it. If you want the smaller one of the current font, use \tx and \txx, since they adapt themselves to \tf \bf \sl \etc while \bfx for instance is hardcoded. The basic idea behind this scheme is that you can define styles in such a way that you can switch to sans or mono using one command, which was what we needed many years ago to satisfy those customers who wanted sans instead of roman while we prefered to develop/proofread docs in roman, Hans ------------------------------------------------------------------------- Hans Hagen | PRAGMA ADE 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 -------------------------------------------------------------------------