From: Wolfgang Schuster <schuster.wolfgang@googlemail.com>
To: mailing list for ConTeXt users <ntg-context@ntg.nl>
Subject: Re: rscale (only for integers?)
Date: Fri, 1 Apr 2011 19:46:49 +0200 [thread overview]
Message-ID: <E62982A3-693E-4CB8-A161-78B0054512E9@googlemail.com> (raw)
In-Reply-To: <EBB55F58-D3BD-4BE6-AF6F-8E73CF674495@st.estfiles.de>
Am 01.04.2011 um 19:28 schrieb Steffen Wolfrum:
> My aim was to find one solution that fits in both cases (once running only a component, then running the entire product).
You can set the font before \starttext where the typeface and the size
are set with two separate \setupbodyfont commands:
\definetypeface [times] [rm] [serif] [times] [default]
\definetypeface [times] [ss] [sans] [helvetica] [default] [rscale=2]
\setupbodyfont[times]
\setupbodyfont[10.1pt]
\starttext
text {\ss text}
\stoptext
or you use Thomas solution which works even when you set the font
after \starttext (which is the case with products/components):
\definetypeface [times] [rm] [serif] [times] [default]
\definetypeface [times] [ss] [sans] [helvetica] [default] [rscale=2]
\setupbodyfont[times]
\setupbodyfont[10.1pt]
\starttext
text {\ss text}
\stoptext
> That's why I assumed the project file could serve for both.
No because the project is loaded too late.
Wolfgang
___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the Wiki!
maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage : http://www.pragma-ade.nl / http://tex.aanhet.net
archive : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___________________________________________________________________________________
prev parent reply other threads:[~2011-04-01 17:46 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-03-31 15:22 Steffen Wolfrum
2011-03-31 22:09 ` Thomas A. Schmitz
2011-04-01 9:00 ` Steffen Wolfrum
2011-04-01 9:18 ` Thomas A. Schmitz
2011-04-01 9:36 ` Wolfgang Schuster
2011-04-01 10:15 ` Steffen Wolfrum
2011-04-01 17:23 ` Wolfgang Schuster
2011-04-01 17:28 ` Steffen Wolfrum
2011-04-01 17:46 ` Wolfgang Schuster [this message]
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=E62982A3-693E-4CB8-A161-78B0054512E9@googlemail.com \
--to=schuster.wolfgang@googlemail.com \
--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).