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

Home » Public Forums » archive » Re: Superscripts in IDL [x-y]title
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: Superscripts in IDL [x-y]title [message #13474 is a reply to message #13462] Wed, 11 November 1998 00:00 Go to previous messageGo to previous message
menakkis is currently offline  menakkis
Messages: 37
Registered: June 1998
Member
hjpsmith@bigfoot.com (Henry J. P. Smith) wrote:
> My co-author on a paper would like to see superscripts in the axis
> titles of simple 2-d plots, e.g. instead of something like cm**-3 ot
> have cm^{-3} - using TeX notation.
>
> I am using PS fonts so I think there must be a way to do this. Is
> there any way to get IDL to do it directly? I suppose I could do it in
> POSTSCRIPT but I don't really know PS and don't have time to learn it
> right now. At least I think I don't - perhaps the same thing? <G>

I speak from a standpoint of relative ignorance (I usually don't mess with
fonts :-), but I think something like this IS quite easy. Search the IDL
online docs for "Embedded Formatting Commands" and all shall be revealed. In
brief, !E embedded in your character string will kick following text up to
superscript, and !N will put following text back to normal. This stuff
reportedly works for various devices (on a pot-luck basis, apparently). It
DOES work for PS, on IDL/NT at least.

Peter Mason

-----------== Posted via Deja News, The Discussion Network ==----------
http://www.dejanews.com/ Search, Read, Discuss, or Start Your Own
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Re: passing object references
Next Topic: Re: 24-bit image planes (was Colored MPEGs)

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

Current Time: Tue Dec 02 08:08:50 PST 2025

Total time taken to generate the page: 0.00283 seconds