ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Aditya Mahajan <adityam@umich.edu>
Subject: Re: ConTeXt equivalent of plain tex method of loading fonts
Date: Fri, 12 Jan 2007 23:22:58 -0500 (EST)	[thread overview]
Message-ID: <alpine.WNT.0.81.0701122314350.3284@nqvgln> (raw)
In-Reply-To: <45A7AA39.5060302@elvenkind.com>

On Fri, 12 Jan 2007, Taco Hoekwater wrote:

> Aditya Mahajan wrote:
> > Hi,
> > 
> > I was using rsfs (RalfSmithFormalScript) using the definition
> > 
> > then I get rsfs7 in the subscripts. So, what is the ConTeXt equivalent 
> > of the above plain tex method of loading rsfs?
> 
> Something like this, I guess (probably not enough, but it should
> give you an idea)
> 
> \starttypescript [math] [modern,computer-modern,latin-modern,ams] [size]
>    \definebodyfont [17.3pt,14.4pt,12pt,11pt,10pt,9pt][mm][mc=rsfs10 sa 1]
>    \definebodyfont [8pt,7pt] [mm] [mc=rsfs7 sa 1]
>    \definebodyfont [6pt,5pt,4pt] [mm] [mc=rsfs5 sa 1]
> \stoptypescript
> 
> \definefamilysynonym [default] [scr]   [mc]
> 
> \def\mathrsfs#1{{\scr #1}}

Thank you. This is what I finally ended up using

\starttypescript [math] [modern,computer-modern,latin-modern,ams] [size]
    \definebodyfont [17.3pt,14.4pt,12pt,11pt,10pt,9pt][mm][mc=rsfs10 sa 1]
    \definebodyfont [8pt,7pt] [mm] [mc=rsfs7 sa 1]
    \definebodyfont [6pt,5pt,4pt] [mm] [mc=rsfs5 sa 1]
\stoptypescript

\definefamilysynonym [default] [scriptfamily] [mc]

\def\scr{\fam\purefamily{scriptfamily}}

\definetypeface [modern] [mm] [math] [modern] [ams] [encoding=texnansi]

\setupbodyfont[reset,modern,11pt]

\starttext

$\sum_{x \in \scr X}$

\stoptext


Aditya

      reply	other threads:[~2007-01-13  4:22 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-01-11  9:12 Aditya Mahajan
2007-01-12 15:33 ` Taco Hoekwater
2007-01-13  4:22   ` 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.81.0701122314350.3284@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).