From: Guy Worthington <guyw@multiline.com.au>
Subject: Re: Concrete and Euler
Date: 16 Mar 2003 09:58:01 +0800 [thread overview]
Message-ID: <uel58kr86.fsf@multiline.com.au> (raw)
In-Reply-To: <vg07kb25co1.fsf@localhost.localdomain>
Emil Hedevang Lohse wrote:
> Is there an easy way to make ConTeXt use the Concrete Computer
> Modern font for normal text and the AMS Euler font for math
On the assumption that a partial solution is better than none, here's
what I came up with. You'll notice when you use the \tt font switch the
script does f*ck-all -- it just ignores my rscale parameter.
The first script I've called type-concrete.tex and have installed it
in the directory ./texmf/tex/context/user/ and then updated my
filenames datebase.
% -type-concrete.tex ----
\starttypescript [concreteTT]
\definetypeface [concreteTT] [tt] [mono] [computer-modern] [default]
[rscale=1.1]
\stoptypescript
\starttypescript [ccr]
\usetypescript [serif] [concrete] [name,size]
\usetypescript [mono] [concreteTT] [name]
\usetypescript [mono] [default] [size]
\usetypescript [math] [euler] [name,size]
\stoptypescript
% ----------
The second script is a test file:
% ----------
\usetypescriptfile [type-concrete]
\usetypescript [ccr]
\setupbodyfont [serif,10pt]
\starttext
\input tufte
{\tt \input knuth }
$$ 10\mu + 20\Gamma = 30 $$
\stoptext
% ---------
next prev parent reply other threads:[~2003-03-16 1:58 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2003-03-12 9:58 Emil Hedevang Lohse
2003-03-12 11:00 ` Adam Lindsay
2003-03-14 12:12 ` Michal Kvasnicka
2003-03-14 12:57 ` Emil Hedevang Lohse
2003-03-16 1:58 ` Guy Worthington [this message]
2003-03-17 10:37 ` Michal Kvasnicka
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=uel58kr86.fsf@multiline.com.au \
--to=guyw@multiline.com.au \
--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).