comp.lang.idl-pvwave archive
Messages from Usenet group comp.lang.idl-pvwave, compiled by Paulo Penteado

Home » Public Forums » archive » Re: Greek Symbols in Plot Annotations
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Return to the default flat view Create a new topic Submit Reply
Re: Greek Symbols in Plot Annotations [message #69293 is a reply to message #69283] Mon, 11 January 2010 05:44 Go to previous messageGo to previous message
David Fanning is currently offline  David Fanning
Messages: 11724
Registered: August 2001
Senior Member
wlandsman writes:

> Those of us who know LateX have probably been using the TeXtoIDL
> package for this task. (The original version is at
> http://physweb.mnstate.edu/mcraig/textoidl/ ; a slightly improved
> package is available in the excellent Sloan Digital Sky Survey (SDSS)
> library http://code.google.com/p/sdssidl/ ). One finds the string
> for the Greek alpha symbol as string = textoidl('\alpha'). But I
> don't believe that TeXtoIDL handles true-type fonts, so greek.pro
> should still be useful even for TeXtoIDL users -- thanks.

Maarten Sneep gave me a great suggestion this morning. As
an alternative to setting the CAPITAL keyword to getting
the uppercase Greek letter, you can now also capitalize
the first letter of the Greek name. So, before to get
a capital letter you did this:

Print, Greek('omega', /CAPITAL)

But now you can also do this:

Print, Greek('Omega')

The program is here:

http://www.dfanning.com/programs/greek.pro

Cheers,

David



--
David Fanning, Ph.D.
Fanning Software Consulting, Inc.
Coyote's Guide to IDL Programming: http://www.dfanning.com/
Sepore ma de ni thui. ("Perhaps thou speakest truth.")
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Re: Removing if then else loop for efficiency
Next Topic: Re: pointer & structure

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ] [ PDF ]

Current Time: Sat Oct 11 06:18:58 PDT 2025

Total time taken to generate the page: 1.20213 seconds