ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Hans Hagen <pragma@wxs.nl>
Cc: NTG-ConTeXt <ntg-context@ntg.nl>
Subject: Re: [ConTeXt] Math fonts: cal etc.
Date: Mon, 05 Jul 1999 16:27:12 +0200	[thread overview]
Message-ID: <3780C0C0.77A09D67@wxs.nl> (raw)
In-Reply-To: <3780B300.E5C73E5A@gmx.de>

Tobias Burnus wrote:

> I can use \cal{HI THERE} \frak{And also there} \goth{I am a fraktur font again}

No you can't, because it's a font switch and needs grouping! They are
defined as:

\definefont [frak] [Fraktur     sa \currentfontscale]
\definefont [goth] [Gothic      sa \currentfontscale]
\definefont [cal]  [Caligraphic sa \currentfontscale]

So by adapting file mappings you can have different ones. 

> but using $\cal F$, $\frak F$ doesn't work.

\def\fraktur    #1{\ifmmode\hbox\fi{\frak#1}}
\def\gothic     #1{\ifmmode\hbox\fi{\goth#1}}
\def\caligraphic#1{\ifmmode\hbox\fi{\cal #1}}

will do what you want. I can add those if needed/wanted/agreed upon. 

> (I would also like to use the "Ralf Smith Formal Script" font, which is also a
> math font.
> I think adding it (e.g. to font-rsf.tex shouldn't be difficult, but I'd like to
> have some pointer.)

\definefontsynonym [MathRoman]          [RalfSmith...]
\definefontsynonym [MathExtension]      [...]
\definefontsynonym [MathItalic]         [...]
\definefontsynonym [MathSymbol]         [...]

\definebodyfont
  [14.4pt,12pt,11pt,10pt,9pt,8pt,7pt,6pt,5pt,4pt]
  [mm]
  [default]

Or something like that, 

Hans

-----------------------------------------------------------------
                                          Hans Hagen | PRAGMA ADE
              Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
      tel: 038 477 53 69 | fax: 038 477 53 74 | www.pragma-ade.nl
-----------------------------------------------------------------


  reply	other threads:[~1999-07-05 14:27 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1999-07-05 13:28 Tobias Burnus
1999-07-05 14:27 ` Hans Hagen [this message]
1999-07-05 17:42   ` Tobias Burnus
1999-07-05 18:13     ` Hans Hagen
1999-07-06 12:47   ` Ed L. Cashin
1999-07-06 13:17     ` Hans Hagen
1999-07-06 15:03       ` Ed L. Cashin
1999-07-06 15:13         ` Hans Hagen
1999-07-06 15:37           ` Ed L. Cashin
1999-07-07  8:42 Gilbert van den Dobbelsteen
1999-07-07 21:39 ` 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=3780C0C0.77A09D67@wxs.nl \
    --to=pragma@wxs.nl \
    --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).