ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: David Arnold <david-arnold@redwoods.edu>
Subject: Iwona again (solved?)
Date: Wed, 30 Nov 2005 12:17:08 -0800	[thread overview]
Message-ID: <7182BDEC-993C-4797-A185-46AE0B7791F9@redwoods.edu> (raw)

Hans,

How does this look?

%output=pdf

\setupwhitespace[medium]
\setupindenting[medium,yes]

\starttypescript[map][iwona,iwona-light,iwona-medium,iwona-heavy] 
[ec,texnansi]
\loadmapfile[iwona-\typescriptthree.map]
\loadmapfile[iwona-rm.map]
\loadmapfile[iwona-mi.map]
\loadmapfile[iwona-sy.map]
\loadmapfile[iwona-ex.map]
\stoptypescript

\starttypescript [sans] [iwona,iwona-light,iwona-medium]  
[texnansi,ec,qx,t5]
   \definefontsynonym[Iwona-Light]         [\typescriptthree-iwonal]   
[encoding=\typescriptthree]
   \definefontsynonym[Iwona-Regular]       [\typescriptthree-iwonar]   
[encoding=\typescriptthree]
   \definefontsynonym[Iwona-Medium]        [\typescriptthree-iwonam]   
[encoding=\typescriptthree]
   \definefontsynonym[Iwona-Bold]          [\typescriptthree-iwonab]   
[encoding=\typescriptthree]
   \definefontsynonym[Iwona-Heavy]         [\typescriptthree-iwonah]   
[encoding=\typescriptthree]
   \definefontsynonym[Iwona-LightItalic]   [\typescriptthree-iwonali]  
[encoding=\typescriptthree]
   \definefontsynonym[Iwona-RegularItalic] [\typescriptthree-iwonari]  
[encoding=\typescriptthree]
   \definefontsynonym[Iwona-MediumItalic]  [\typescriptthree-iwonami]  
[encoding=\typescriptthree]
   \definefontsynonym[Iwona-BoldItalic]    [\typescriptthree-iwonabi]  
[encoding=\typescriptthree]
   \definefontsynonym[Iwona-HeavyItalic]   [\typescriptthree-iwonahi]  
[encoding=\typescriptthree]
\stoptypescript

\starttypescript [math] [iwona] [default]
   \definefontsynonym [Iwona-Math-Letters-Regular]       [rm-iwonar]
   \definefontsynonym [Iwona-Math-Letters-RegularItalic] [mi-iwonari]
   \definefontsynonym [Iwona-Math-Symbols-Regular]       [sy-iwonarz]
   \definefontsynonym [Iwona-Math-Extension-Regular]     [ex-iwonar]
\stoptypescript

\starttypescript [math] [iwona-light] [default]
   \definefontsynonym [Iwona-Math-Letters-Light]       [rm-iwonal]
   \definefontsynonym [Iwona-Math-Letters-LightItalic] [mi-iwonali]
   \definefontsynonym [Iwona-Math-Symbols-Light]       [sy-iwonalz]
   \definefontsynonym [Iwona-Math-Extension-Light]     [ex-iwonal]
\stoptypescript

\starttypescript [math] [iwona-medium] [default]
   \definefontsynonym [Iwona-Math-Letters-Medium]       [rm-iwonam]
   \definefontsynonym [Iwona-Math-Letters-MediumItalic] [mi-iwonami]
   \definefontsynonym [Iwona-Math-Symbols-Medium]       [sy-iwonamz]
   \definefontsynonym [Iwona-Math-Extension-Medium]     [ex-iwonam]
\stoptypescript

\usetypescript[map][iwona][texnansi]

\definetypeface[david][rm][sans][iwona][default][encoding=texnansi]
\definetypeface[david][mm][math][iwona][default]

\setupbodyfont[david,ss,10pt]

\starttext

In attempting to {\bf explain} this {\em typesetting ritual}, I found  
myself going {\sl round in circles}.
Not necessariy a {\sc bad} thing.

\input knuth

\placeformula[-]
\startformula
f(x)={1 \over {3-1}}\int_1^3 (x^2-2x-3)\, dx
\stopformula

\input knuth

\placeformula[-]
\startformula
f(x)=\cases{%
   1/3,& if $0\le x\le 1$;\cr
   2/3,& if $3\le x\le 4$;\cr
   0,& elsewhere.}
\stopformula
\stoptext


David Arnold
College of the Redwoods
Mathematics Department
Eureka, CA 95501
(707) 476-4222
http://online.redwoods.edu/instruct/darnold/

             reply	other threads:[~2005-11-30 20:17 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-11-30 20:17 David Arnold [this message]
2005-11-30 21:12 ` 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=7182BDEC-993C-4797-A185-46AE0B7791F9@redwoods.edu \
    --to=david-arnold@redwoods.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).