From: Hans Hagen <pragma@wxs.nl>
Subject: Re: Fonts switching and styles ..
Date: Mon, 22 Nov 2004 14:26:15 +0100 [thread overview]
Message-ID: <41A1E8F7.8070201@wxs.nl> (raw)
In-Reply-To: <BAY23-F4C789DA21D654B281A444FBC60@phx.gbl>
Dirar BOUGATEF wrote:
> I have tried style={\switchtobodyfont[karat]} and it works. Now how to
> switch to a different size without going through:
you can do things like:
\usetypescript [sans][karat][map,name]
to load the appropriate defs
> \definefont[MyPartFont][SansBold at 24pt]
> \setuphead[part][style=\MyPartFont]
>
> The problem i see here is that i have to go through
> \setupbodyfont[karat] and that i can't say something like:
>
> \definefont[MyPartFont][karat at 24pt]
actually you can, goven that karat is known
Serif SerifBold Sans SansItalic
Karat KaratBold (or maybe Karat-Bold) texnansi-karat
are all valid in a \definefont
> Lets say i have 5 fonts in my document i only want to say
> \setupbodyfont[MyMainFont] once, then i should have other mecanisms for
> switching properly to other fonts at different sizes.
> Why does \definefont maps only from Sans, Serif, SansBold etc. ? This is
> quit fastidious, cause for this to work we have to use \setupbodyfont
> first and follow the steps above.
>
> I may be missing something out there ..
i think so -)
Hans
-----------------------------------------------------------------
Hans Hagen | PRAGMA ADE
Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
tel: 038 477 53 69 | fax: 038 477 53 74 | www.pragma-ade.com
| www.pragma-pod.nl
-----------------------------------------------------------------
next prev parent reply other threads:[~2004-11-22 13:26 UTC|newest]
Thread overview: 15+ messages / expand[flat|nested] mbox.gz Atom feed top
2004-11-21 15:49 Dirar BOUGATEF
2004-11-21 23:19 ` h h extern
2004-11-22 12:34 ` Dirar BOUGATEF
2004-11-22 13:26 ` Hans Hagen [this message]
2004-11-22 14:47 ` Dirar BOUGATEF
2004-11-22 19:42 ` Willi Egger
2004-11-23 7:53 ` Dirar BOUGATEF
2004-11-23 10:32 ` Willi Egger
2004-11-23 12:32 ` Christopher Creutzig
2004-11-23 14:10 ` Dirar BOUGATEF
2004-11-22 19:15 ` Problem with index generation Matthias Weber
2004-11-22 22:15 ` Hans Hagen
2004-11-23 2:22 ` How to patch ConText on the Mac for beginners (was: Problem with index generation) Matthias Weber
2004-11-23 2:46 ` Index and publication list conflict Matthias Weber
2004-11-24 12:59 ` Taco Hoekwater
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=41A1E8F7.8070201@wxs.nl \
--to=pragma@wxs.nl \
--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).