ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Hans Hagen <pragma@wxs.nl>
Subject: Re: sharps and flats and Euler (was Re: typo in math-tex)
Date: Sun, 12 Jan 2003 14:00:45 +0100	[thread overview]
Message-ID: <5.1.0.14.1.20030112133120.02b10a70@remote-1> (raw)
In-Reply-To: <20030109012107.11971@news.comp.lancs.ac.uk>

At 01:21 AM 1/9/2003 +0000, Adam Lindsay wrote:
>I believe Adam Lindsay said this around Wed, 8 Jan 2003:
>
> >Now to figure out how to get that symbol to show up within euler. Anyone
> >know how to determine the symbols in a given font?
>
>The answer to that last one is \showfont[eurm10], of course. For some
>reason I couldn't remember getting that to work, before.
>
>In case anyone is interested, I will document my problem. Because I'm
>using Euler as my math font, I can't get at many symbols, including the
>musical ones. With my current font definitions, I didn't get much joy
>with cmr acting as a fallback in math.
>
>Not really married to the idea of using math mode for music anyway, I do
>this instead:
>\definesymbol [Flat] [\getglyph{pxmi}{\char91}] % txmi (times) or cmmi10
>(cmr)
>\definesymbol [Natural] [\getglyph{pxmi}{\char92}] %can be substituted
>for pxmi
>\definesymbol [Sharp] [\getglyph{pxmi}{\char93}]
>\def\Flat{\symbol[Flat]}
>\def\Natural{\symbol[Natural]}
>\def\Sharp{\symbol[Sharp]}
>
>Are there any better ways of doing this?

maybe create a symbol set (did you look in symb-*.tex ?) I think some 
standardization in naming is needed here

>Now, with Euler math, I'm still not getting the nice euler numerals when
>in math mode... I suspect I'm not picking up the math characters in math-
>eul, but I have no idea of how to load those definitions. Any clues on
>that one?

in order to get that working the basic math text font should be euler as 
well; also, you need to code all you numbers in the source as math, so 
"about 25 years ago" becomes "about $25$ years ago"; euler was made by 
hermann zapf and used in "concrete math" (nice book by knuth cum suis) 
combined with concrete romman (afaik no type 1 available)

Hans

-------------------------------------------------------------------------
                                   Hans Hagen | PRAGMA ADE | pragma@wxs.nl
                       Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
  tel: +31 (0)38 477 53 69 | fax: +31 (0)38 477 53 74 | www.pragma-ade.com
-------------------------------------------------------------------------
                        information: http://www.pragma-ade.com/roadmap.pdf
                     documentation: http://www.pragma-ade.com/showcase.pdf
-------------------------------------------------------------------------

  reply	other threads:[~2003-01-12 13:00 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-01-08 21:38 typo in math-tex Adam Lindsay
2003-01-09  1:21 ` sharps and flats and Euler (was Re: typo in math-tex) Adam Lindsay
2003-01-12 13:00   ` Hans Hagen [this message]
2003-01-09  8:07 ` typo in math-tex Hans Hagen
2003-01-09  8:08 ` 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=5.1.0.14.1.20030112133120.02b10a70@remote-1 \
    --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).