ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Aditya Mahajan <adityam@umich.edu>
Subject: Re: Font Question
Date: Wed, 7 Dec 2005 19:05:16 -0500 (EST)	[thread overview]
Message-ID: <Pine.WNT.4.63.0512071900300.3928@nqvgln> (raw)
In-Reply-To: <43977410.9080004@comp.lancs.ac.uk>

Hi Adam,

<--- On Dec 7, Adam Lindsay wrote --->

> Aditya Mahajan wrote:
>> I want to use palatino text with euler math in my document. This is how 
>> I proceed.
>> 
>> 1. I downloaded latest mswincontext environment from pragma website.
>> 2. To test if palatino works correctly, I tested the simple document.
>> 
>> %---------
>> \usetypescript[palatino][texnansi]
>> \switchtobodyfont[palatino,11pt]
>> \starttext
>> This is a test .
>> \stoptext
>> %---------------
>> 
>> Everything works fine, and the text is in pallatino (the urw clone). 
>> However, when I look at fonts included in the document, Latin Modern is 
>> also there. I am just curious as how LM got into the document, and can 
>> I get rid of it.
>
> You'll find that the page number is latin modern. You can expunge that by 
> saying:
> \setupbodyfont[palatino,11pt] % instead of \switchtobodyfont
>
> (setupbodyfont is document-wide)

Thanks, that did the trick.

> Okay. Time to dust off the web pages and insert disclaimers. That's an 
> old article. Euler support got (improved and) included into the ConTeXt 
> core.

That is great.

> Current usage looks something like:
>
> \definetypeface [pal] [rm] [serif] [palatino]
>                   [default] [encoding=texnansi]
> \definetypeface [pal] [tt] [mono]  [modern]
>                   [default] [encoding=texnansi,rscale=1.1]
> \definetypeface [pal] [mm] [math]  [euler]
>                   [euler]   [rscale=1.03]
>
> \loadmapfile[original-ams-euler] % This needs to be added!
>
> \setupbodyfont [pal,11pt]
> \starttext
> This is a test $a \neq \frac{b}{c}$.
> \stoptext
>
> Lengthy explanations aren't on offer tonight, sorry.
> I hope this sets you in the right direction, though.
>

The above setup works perfectly. Thanks a lot.

Aditya

-- 
Aditya Mahajan, EECS Systems, University of Michigan
http://www.eecs.umich.edu/~adityam || Ph: 7342624008

  reply	other threads:[~2005-12-08  0:05 UTC|newest]

Thread overview: 35+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-12-07 22:46 Aditya Mahajan
2005-12-07 23:45 ` Adam Lindsay
2005-12-08  0:05   ` Aditya Mahajan [this message]
2005-12-07 23:55 ` Hans Hagen
  -- strict thread matches above, loose matches on Subject: below --
2008-02-29 19:42 Font question Marcin Borkowski
2008-02-29 20:54 ` Hans Hagen
2008-02-29 22:31   ` Marcin Borkowski
2008-02-29 22:57     ` Hans Hagen
2008-03-01  0:17       ` Marcin Borkowski
2008-03-01  0:22         ` Idris Samawi Hamid
2008-03-02  8:48           ` Marcin Borkowski
2008-03-02 13:08             ` Mojca Miklavec
2008-03-02 13:20               ` Wolfgang Schuster
2008-03-04 20:58               ` Marcin Borkowski
2008-03-04 21:09                 ` Wolfgang Schuster
2008-03-04 21:49                   ` Marcin Borkowski
2008-03-05  8:40                 ` Hans Hagen
2008-03-04 22:55     ` Marcin Borkowski
2008-03-05  6:55       ` Thomas A. Schmitz
2008-03-05 14:23         ` Marcin Borkowski
2008-03-05  9:17       ` Taco Hoekwater
2008-03-05 14:29         ` Marcin Borkowski
2008-03-11 14:07         ` Marcin Borkowski
2005-12-12 15:32 Font Question Henry Blodgiitt
2002-02-19 15:04 font question Frans Goddijn
2002-02-19 16:32 ` Bill McClain
2002-02-19 17:22   ` Frans Goddijn
2002-02-19 18:31     ` Bill McClain
     [not found]     ` <003701c1b976$6ab1c800$0100a8c0@digitpaint.nl>
2002-02-19 21:27       ` Frans Goddijn
2002-02-20 12:39         ` Bill McClain
2002-02-20 18:47         ` W. Egger
2001-08-02 17:01 Font Question Marco Kuhlmann
2001-08-03 14:01 ` Hans Hagen
2001-08-05 21:02   ` Marco Kuhlmann
2001-08-06  7:42     ` Hans Hagen

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=Pine.WNT.4.63.0512071900300.3928@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).