Angstrom sign [message #2076] |
Thu, 19 May 1994 07:38  |
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  |
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  |
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
|
|
|