ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Giuseppe Bilotta <gip.bilotta@iol.it>
Subject: Using Fraktur (and Gothic and Calligraphic) fonts in ConTeXt
Date: Sat, 7 Dec 2002 20:07:12 +0100	[thread overview]
Message-ID: <124930209.20021207200712@iol.it> (raw)

Hello,

I just wanted to report the conclusions I reached after the
hoop-jumping I had to go through to be able to use Fraktur in
ConTeXt, especially in math environments: it seems that the \frak,
\goth, \cal font switches are ignored in math mode (which is
somewhat ridiculous, considering that this is where they are used
more often).

A workaround (stolen from the old math module) is to define

\def\fraktur    #1{\ifmmode\@EA\text\fi{{\frak#1}}}
\def\gothic     #1{\ifmmode\@EA\text\fi{{\goth#1}}}
\def\caligraphic#1{\ifmmode\@EA\text\fi{{\cal #1}}} 

and use \fraktur{a} instead of {\frak a}. This has the
disadvantage that you cannot set Fraktur as the (math) font for a
complex math construct. Can this be fixed, please?

-- 
Giuseppe "Oblomov" Bilotta

             reply	other threads:[~2002-12-07 19:07 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-12-07 19:07 Giuseppe Bilotta [this message]
2002-12-08 17:30 ` 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=124930209.20021207200712@iol.it \
    --to=gip.bilotta@iol.it \
    --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).