From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/4100 Path: main.gmane.org!not-for-mail From: "Uwe Koloska" Newsgroups: gmane.comp.tex.context Subject: how to: switch to another font Date: Fri, 16 Feb 2001 16:56:53 +0100 Sender: owner-ntg-context@let.uu.nl Message-ID: <01021616565303.00577@bilbo> NNTP-Posting-Host: coloc-standby.netfonds.no Mime-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 8bit X-Trace: main.gmane.org 1035394788 22886 80.91.224.250 (23 Oct 2002 17:39:48 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Wed, 23 Oct 2002 17:39:48 +0000 (UTC) Original-To: ntg-context Xref: main.gmane.org gmane.comp.tex.context:4100 X-Report-Spam: http://spam.gmane.org/gmane.comp.tex.context:4100 Hello Hans, hello all, I have defined a font that shall only be used for some words (think of it as a logo font). \definefontsynonym[Batmos-Regular] [...] Now I want to write "Hello this is {\switchFont{Batmos-Regular}cool stuff} and ..." without defining an extra font with \definefont. Is this possible, or do I have to explicitly define all fonts that I wann use in the document. Now I have: \def\setBatmosFont% {\definefont[batmosFont][Batmos-Regular sa \multiply\currentfontscale by 1.4]\batmosFont} that switches to this particular font and honours the current fontsize. Since the font has a smaller x-height, I have to scale it. If there is no easy way to say: "Switch to this font and honour the current size" -- is my solution well defined? Uwe -- mailto:koloska@rcs.urz.tu-dresden.de http://rcswww.urz.tu-dresden.de/~koloska/ -- -- right now the web page is in german only but this will change as time goes by ;-)