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

Home » Public Forums » archive » Re: New Lib (TeXtoIDL): Easy Greek letters in IDL
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Switch to threaded view of this topic Create a new topic Submit Reply
Re: New Lib (TeXtoIDL): Easy Greek letters in IDL [message #6573] Fri, 12 July 1996 00:00
rosentha is currently offline  rosentha
Messages: 23
Registered: November 1994
Junior Member
On 11 Jul 1996 00:38:30 GMT, matt craig <mcraig@fornax> wrote:
> Greetings,
>
> I have written a set of IDL functions to make Greek letters, special
> symbols, and sub/superscripts easier to use in IDL. The routines
> translate a string written in the TeX typesetting notation to a string
> in IDL format. The TeX notation is MUCH easier to remember. An
> excerpt from the README is below. Also in the README, though not
> included below, is an introduction to TeX notation for those not
> familiar with it.
>
> From the TeXtoIDL README:
>
> PURPOSE:
> The purpose of the TeXtoIDL routines is to make it simple to use Greek
> letters, subscripts and superscripts in making labels for plots in
> IDL. This is accomplished by allowing the user to use TeX control
> sequences for Greek letters and special symbols and for
> sub/superscripts. The TeX control sequences are simple and easy to
> remember, especially if you already use TeX for writing papers (for
> those unfamiliar with TeX, an explanation of that notation is below).
> The translation is done for either vector or PostScript fonts.
>
> EXAMPLE:
> If you type. . .
> IDL> str = TeXtoIDL("\rho^2 + 2\Gamma_{ij}")
> IDL> print, str
> STR STRING = '!7q!X!U2!N + 2!7C!X!Dij!N'
> IDL> xyouts,.5,.5,str,CHARSIZE=2.,/NORM
>
> then on the screen you will see the Greek letter rho with a 2 in the
> exponent, and then a + and then a 2 and then the uppercase Greek
> letter gamma, with an "ij" in the subscript.
>
> The library is available at:
>
> ftp://coma.berkeley.edu/pub/mcraig/idl/TeXtoIDL/

If I had a daughter I'd offer you her hand.

--
--Colin Rosenthal | ``Don't smell the flowers -
--rosentha@obs.aau.dk | They're an evil drug -
--http://www.obs.aau.dk/~rosentha | To make you lose your mind''-
--Aarhus University, Denmark | Ronnie James Dio, 1983 -
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: HELP!
Next Topic: Re: ASSOC function

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

Current Time: Wed Oct 08 18:53:13 PDT 2025

Total time taken to generate the page: 0.00502 seconds