Greek Letters in Legend/Axis Titles

I know you can insert Greek letters in Igor using the Symbol font, but it would be really awesome for all Greek letters (both uppercase and lowercase) to be available in Special-> Character. In a scientific field we use them a lot as a one-off for a word (ie D_alpha.)
I have a related question.
When setting the appropriate scale for a plot, the units appear for the axis label - in my case microseconds, and the mu is very pretty (matching font).
When I want to use units in a textbox or elsewhere I have been using:
\F'Symbol'm\F'Arial's

Note that other than symbols I am using the default font which seems to be Arial.
The trouble is that the mu is now ugly (not matching font - see attached).
How do I use the nice pretty mu with the matching font that Igor automatically generates?
Graph4.png (19.02 KB)
mu is available in both standard Macintosh and Windows Roman (a.k.a. Western) fonts. Unlike most non-ASCII characters, it has the same code on both platforms (181 decimal, B5 hexadecimal). Execute this in Igor:
Print num2char(0xB5)

Now copy what was printed in the history and paste into the textbox without using Symbol font. It will use whatever font is active at that point in the textbox.

This is how Igor generates the mu in an axis label. It uses whatever font is selected for the axis label. By default this is Geneva on Macintosh and Arial on Windows.
A little 'gotcha' I found:

If you want the symbol to not be stylized, you need to include the font name *after* the string you are interested in. For example:

String mu =  num2char(0xB5)
String title =  "\F'Helvetica'" + "The greek letter " + mu
Label left,(title)


Seems to italicize the symbol for me, but the following works better, with the font name flag after everything else.

String mu =  num2char(0xB5)
String title = "The greek letter " + mu +  "\F'Helvetica'"  // This line changed!
Label left,(title)


Apparently on your machine, Helvetica has a mu character and it is italicized. I guess your default font has a non-italicized mu. Moving the font specification to the end has exactly the same effect as removing it entirely. If you prefer the default font mu, but you like Helvetica for the rest, you can save the font at the start and then restore it just before the mu:
\[0\F'Helvetica'The greek letter \]0µ

John Weeks
WaveMetrics, Inc.
support@wavemetrics.com
kathreen wrote:
I know you can insert Greek letters in Igor using the Symbol font, but it would be really awesome for all Greek letters (both uppercase and lowercase) to be available in Special-> Character. In a scientific field we use them a lot as a one-off for a word (ie D_alpha.)

I've attached a picture of the character viewer you get in the Special menu in the Add Annotation dialog, or the Axis Label tab in the Modify Axis dialog from Igor 7 (from a Macintosh, I think it should be very much like this on Windows). Igor 7 is not quite in beta yet.

John Weeks
WaveMetrics, Inc.
support@wavemetrics.com
CharacterViewer.png (72.08 KB)