From: S2P development <taco.hoekwater@wkap.nl>
Subject: Re: how to switch font family
Date: Wed, 07 Mar 2001 13:04:52 +0100 [thread overview]
Message-ID: <3AA623E4.31332C19@wkap.nl> (raw)
In-Reply-To: <20010307111324.A10810@anxur.fi.muni.cz>
Han The Thanh wrote:
>
> thanks for the tip. It works, however everytime I switched to another
> family, then the font definition file is loaded again (font-pos.tex). Is
> there anyway to prevent it? My need is to typeset a few characters in the
> body text in different font than the main font, so the switching is used
> quite frequently.
Can't help you straight away. But perhaps you can define this (the
alternate fontfamily) as 'hw' or 'cg'? Context has 5 different text
families at the same time:
\tt \ss \rm \hw \cg
The previous macro then becomes something like:
\def\familyswitch#1{%
{\edef\oldalternative{\fontalternative}%
\hw \getvalue{\oldalternative}#1}}
With call:
\familyswitch{The chars for the other fontfamily}
next prev parent reply other threads:[~2001-03-07 12:04 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2001-02-28 16:27 Han The Thanh
2001-03-01 14:34 ` Taco Hoekwater
2001-03-07 10:13 ` Han The Thanh
2001-03-07 12:04 ` S2P development [this message]
2001-03-07 14:35 ` Hans Hagen
2001-03-07 15:14 ` Han The Thanh
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=3AA623E4.31332C19@wkap.nl \
--to=taco.hoekwater@wkap.nl \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).