From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/4254 Path: main.gmane.org!not-for-mail From: Taco Hoekwater Newsgroups: gmane.comp.tex.context Subject: Re: how to switch font family Date: Thu, 01 Mar 2001 15:34:04 +0100 Sender: owner-ntg-context@let.uu.nl Message-ID: <3A9E5DDC.650CF044@elvenkind.com> References: <20010228172746.A9845@anxur.fi.muni.cz> NNTP-Posting-Host: coloc-standby.netfonds.no Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Trace: main.gmane.org 1035394934 24148 80.91.224.250 (23 Oct 2002 17:42:14 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Wed, 23 Oct 2002 17:42:14 +0000 (UTC) Original-To: ntg-context@ntg.nl Xref: main.gmane.org gmane.comp.tex.context:4254 X-Report-Spam: http://spam.gmane.org/gmane.comp.tex.context:4254 Han The Thanh wrote: > > Hi all, > > can someone please tell me how to change the current font family, so that > other atributes (size, weight and style) remain the same? \def\familyswitch#1[#2]{% \edef\oldalternative{\fontalternative}% \switchtobodyfont[#2]% \getvalue{\oldalternative}} \familyswitch[pos] -- groeten, Taco