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

% ---------



_______________________________________________
ntg-context mailing list
[EMAIL PROTECTED]
http://www.ntg.nl/mailman/listinfo/ntg-context

Reply via email to