From: Han The Thanh <thanh@informatics.muni.cz>
Cc: ntg-context@ntg.nl
Subject: Re: how to switch font family
Date: Wed, 7 Mar 2001 11:13:24 +0100 [thread overview]
Message-ID: <20010307111324.A10810@anxur.fi.muni.cz> (raw)
In-Reply-To: <3A9E5DDC.650CF044@elvenkind.com>; from taco@elvenkind.com on Thu, Mar 01, 2001 at 03:34:04PM +0100
Hi Taco,
> > 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]
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.
Regards
Thanh
next prev parent reply other threads:[~2001-03-07 10:13 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 [this message]
2001-03-07 12:04 ` S2P development
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=20010307111324.A10810@anxur.fi.muni.cz \
--to=thanh@informatics.muni.cz \
--cc=ntg-context@ntg.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).