ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Tobias Burnus <burnus@gmx.de>
Cc: NTG-ConTeXt <ntg-context@ntg.nl>
Subject: Re: [ConTeXt] Math fonts: cal etc.
Date: Mon, 05 Jul 1999 19:42:48 +0200	[thread overview]
Message-ID: <3780EE97.99EDCF6A@gmx.de> (raw)
In-Reply-To: <3780C0C0.77A09D67@wxs.nl>

Hi Hans,

> > I can use\x03\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:

I mean: {\cal HI THERE} {\frak And also there} {\goth I am a fraktur font again}
(\cal isn't nice for in this case: it eats all spaces.)

> \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}}

Maybe better:
 \definefont [fraktur]      [Fraktur     sa \currentfontscale]
 \definefont [gothic]       [Gothic      sa \currentfontscale]
 \definefont [caligraphic]  [Caligraphic sa \currentfontscale]
 \def\frak    #1{\ifmmode\hbox{\fractur     #1}\else\factur #1\fi}
 \def\goth    #1{\ifmmode\hbox{\gothic      #1}\else\gothic #1\fi}
 \def\cal     #1{\ifmmode\hbox{\caligraphic #1}\else\caligraphic #1\fi}

So the plain TeX and LaTeX style $\cal M = \{f\colon V\rightarrow V'\}$ works
(Ok I've to admit in plain TeX/LaTeX you have to type ${\cal M} = \{f\colon
V\rightarrow V'\}$)

> will do what you want. I can add those if needed/wanted/agreed upon.
I think this makes sense, especially \cal makes outside of math not that much
sense.
(so small letters), I don't know whether it is possible with Fraktur to obtain
umlauts, ligatures etc., if not I think this is also a ''math only'' candidate.

> > (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]         [...]
Well it is similar to \cal, so I think this is better:
 \definefontsynonym [RalfSmithFS]         [rsfs10]
 \definefont [ralfsmithfs] [RalfSmithFS  sa \currentfontscale]
 \def\rsfs #1{\ifmmode\hbox{\ralfsmithfs #1}\else\ralfsmithfs #1\fi}

The question is: Where should we put something like this?
It might be frequently use by some users, but they only made up a small basis.
 J"org Knappen wrote about his LaTeX style:
   Physicists don't like the appearance of the standard calligraphic fonts
   when speaking about Lagrangian density, Hamiltonian density, or the measure 
   in the path integral. Fortunately, the Ralph Smith Formal Script (rsfs) 
   fonts provide the desired shapes.

Tobias


  reply	other threads:[~1999-07-05 17:42 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
1999-07-05 17:42   ` Tobias Burnus [this message]
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=3780EE97.99EDCF6A@gmx.de \
    --to=burnus@gmx.de \
    --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).