ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Aditya Mahajan <adityam@umich.edu>
To: mailing list for ConTeXt users <ntg-context@ntg.nl>
Subject: Re: Math symbols in Gentium
Date: Tue, 10 Apr 2007 11:57:56 -0400 (EDT)	[thread overview]
Message-ID: <alpine.WNT.0.98.0704101148300.232@nqvgln> (raw)
In-Reply-To: <20070321081310.GA15407@localhost>

On Wed, 21 Mar 2007, Kumar Appaiah wrote:

> Dear ConTeXt users,
>
> I have found Gentium to be a nice free alternative font for my
> documents. I was wondering why the Greek symbols don't get used in
> documents which use Gentium. They sem to use the same cmr fonts for
> the math parts. Is it expected to work that way, or is there a way to
> get the Gentium symbols?

You will need to create a gentium math mappings on lines of math-eul, 
math-fou, etc. Lets say, you call this family sil.

By default greek letters are taken from the mi and mr family. The 
following may work:

\definefamilysynonyms [sil] [lcgreek] [tf]
% or the appropriate gentium greek font name instead of tf

\startmathcollection [sil]

\definemathsymbol [alpha] [nothing] [lcgreek] ["08]
% Use the greek font location in Gentium. 
% Add similar settings for other greek letters. Look at
% math-tex.

\stopmathcollection

and then

\definetypeface[sil-gentium][mm][math][sil][sil][encoding=\defaultencoding]

Hopefully, this will work.

Aditya

      parent reply	other threads:[~2007-04-10 15:57 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-03-21  8:13 Kumar Appaiah
2007-03-24 13:04 ` Henning Hraban Ramm
2007-04-10 15:57 ` Aditya Mahajan [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=alpine.WNT.0.98.0704101148300.232@nqvgln \
    --to=adityam@umich.edu \
    --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).