ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* typo in math-tex
@ 2003-01-08 21:38 Adam Lindsay
  2003-01-09  1:21 ` sharps and flats and Euler (was Re: typo in math-tex) Adam Lindsay
                   ` (2 more replies)
  0 siblings, 3 replies; 5+ messages in thread
From: Adam Lindsay @ 2003-01-08 21:38 UTC (permalink / raw)


Hi,

There's a small typo in math-tex.tex (line 220 in my version):
\definemathsymbol [flat]        [ord] [sy] ["5B]
   ...should be...
\definemathsymbol [flat]        [ord] [mi] ["5B]

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?

adam

--
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
 Adam Lindsay                  +44(0)1524 594 537
 atl@comp.lancs.ac.uk
 http://www.comp.lancs.ac.uk/computing/users/atl/
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=

^ permalink raw reply	[flat|nested] 5+ messages in thread

* sharps and flats and Euler (was Re: typo in math-tex)
  2003-01-08 21:38 typo in math-tex Adam Lindsay
@ 2003-01-09  1:21 ` Adam Lindsay
  2003-01-12 13:00   ` Hans Hagen
  2003-01-09  8:07 ` typo in math-tex Hans Hagen
  2003-01-09  8:08 ` Hans Hagen
  2 siblings, 1 reply; 5+ messages in thread
From: Adam Lindsay @ 2003-01-09  1:21 UTC (permalink / raw)


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?


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?  

Cheers,
adam

--
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
 Adam Lindsay                  +44(0)1524 594 537
 atl@comp.lancs.ac.uk
 http://www.comp.lancs.ac.uk/computing/users/atl/
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: typo in math-tex
  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-09  8:07 ` Hans Hagen
  2003-01-09  8:08 ` Hans Hagen
  2 siblings, 0 replies; 5+ messages in thread
From: Hans Hagen @ 2003-01-09  8:07 UTC (permalink / raw)


At 09:38 PM 1/8/2003 +0000, you wrote:
>Hi,
>
>There's a small typo in math-tex.tex (line 220 in my version):
>\definemathsymbol [flat]        [ord] [sy] ["5B]
>    ...should be...
>\definemathsymbol [flat]        [ord] [mi] ["5B]
>
>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?

You can try:

   \showfont[fontname]

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

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: typo in math-tex
  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-09  8:07 ` typo in math-tex Hans Hagen
@ 2003-01-09  8:08 ` Hans Hagen
  2 siblings, 0 replies; 5+ messages in thread
From: Hans Hagen @ 2003-01-09  8:08 UTC (permalink / raw)


At 09:38 PM 1/8/2003 +0000, you wrote:
>Hi,
>
>There's a small typo in math-tex.tex (line 220 in my version):
>\definemathsymbol [flat]        [ord] [sy] ["5B]
>    ...should be...
>\definemathsymbol [flat]        [ord] [mi] ["5B]

ok, changed

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

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: sharps and flats and Euler (was Re: typo in math-tex)
  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
  0 siblings, 0 replies; 5+ messages in thread
From: Hans Hagen @ 2003-01-12 13:00 UTC (permalink / raw)


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

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2003-01-12 13:00 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
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
2003-01-09  8:07 ` typo in math-tex Hans Hagen
2003-01-09  8:08 ` Hans Hagen

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).