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

Home » Public Forums » archive » Angstrom sign
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
Angstrom sign [message #2076] Thu, 19 May 1994 07:38 Go to next message
nick is currently offline  nick
Messages: 4
Registered: July 1993
Junior Member
Does anyone know how to make a decent looking angstrom sign using the text
formatting commands? I have a version which is passible, but I'd like to
create one with somewhat more resemblance to the sign generated by the
\AA command in Tex.

Any ideas?

Thanks in advance.

Nick


--
Nick Maliszewskyj | Graduate school - it's not just a job, it's an indenture.
U. Penn Physics |----------------------------------------------------------- -
| A real hoopy frood who knows where his towel is ...
Re: Angstrom sign [message #2147 is a reply to message #2076] Wed, 25 May 1994 09:43 Go to previous message
bhill is currently offline  bhill
Messages: 2
Registered: July 1992
Junior Member
On page 9-7 of the IDL User's Guide (V 3.1) you see that the angstrom
sign is octal 305. So, for example:

xyouts, 100, 100, 'Wavelength = 1500'+string("305B)

This works with the Hershey fonts; I'm not sure about PostScript.
Many other letters with diacritical marks from non-English European
alphabets are also available in the same way.

Bob Hill

--
Robert.S.Hill@gsfc.nasa.gov Not speaking for any of these:
Hughes STX Corp., Code 681, NASA/GSFC, Greenbelt, MD 20771
"There's nothing you can't prove if your outlook is
only sufficiently limited." -- Lord Peter Wimsey
Re: Angstrom sign [message #2151 is a reply to message #2076] Tue, 24 May 1994 15:24 Go to previous message
deutsch is currently offline  deutsch
Messages: 19
Registered: February 1992
Junior Member
In article 6l9@netnews.upenn.edu, nick@sol1.lrsm.upenn.edu (Nick Maliszewskyj) writes:
> Does anyone know how to make a decent looking angstrom sign using the text
> formatting commands? I have a version which is passible, but I'd like to
> create one with somewhat more resemblance to the sign generated by the
> \AA command in Tex.
>
> Any ideas?

I don't think there has been much success with the Hershey fonts. It
is possible to come up with something for a single smallish font, but
one solution will break down when you switch fonts or sizes.

If you are not terribly interested in fancy screen characters, but
rather you need nice-looking Postscript printer output, I posted an
example of how to generate excellent quality Postscript output using
hardware fonts a few months ago. The example includes an Angstrom
symbol. The psspecxmpl.pro procedure and some other routines it calls
are still located in the orca.astro.washington.edu anonymous ftp site
in the /pub/idl/postscript directory.

This is not quite what you asked for, but I hope it helps.

Eric


Eric Deutsch Email: deutsch@astro.washington.edu
Department of Astronomy FM-20 Voice: (206) 543-1979
University of Washington FAX: (206) 685-0403
Seattle, WA 98195 Johnson Hall, Room 226
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: Re: how to find the size of the array
Next Topic: IDL output -> Mac PICT ** SOLUTION **

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

Current Time: Wed Oct 08 14:01:06 PDT 2025

Total time taken to generate the page: 0.00601 seconds