From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/631 Path: main.gmane.org!not-for-mail From: Tobias Burnus Newsgroups: gmane.comp.tex.context Subject: Re: [ConTeXt] Math fonts: cal etc. Date: Mon, 05 Jul 1999 19:42:48 +0200 Sender: owner-ntg-context@let.uu.nl Message-ID: <3780EE97.99EDCF6A@gmx.de> References: <3780B300.E5C73E5A@gmx.de> <3780C0C0.77A09D67@wxs.nl> NNTP-Posting-Host: coloc-standby.netfonds.no Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Trace: main.gmane.org 1035391483 25722 80.91.224.250 (23 Oct 2002 16:44:43 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Wed, 23 Oct 2002 16:44:43 +0000 (UTC) Cc: NTG-ConTeXt Original-To: Hans Hagen Xref: main.gmane.org gmane.comp.tex.context:631 X-Report-Spam: http://spam.gmane.org/gmane.comp.tex.context:631 Hi Hans, > > 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: 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