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 #13463 is a reply to message #13462] Wed, 11 November 1998 00:00 Go to previous messageGo to previous message
hjpsmith is currently offline  hjpsmith
Messages: 2
Registered: November 1998
Junior Member
On Wed, 11 Nov 1998 02:16:25 GMT, menakkis@my-dejanews.com wrote:

> 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.
>

Thanks a lot to David and Peter! This should do it.

Why is it so hard sometimes to find such simple solutions? <G> Or is
it just me? <GG>

Regards,

Henry
[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: Fri Oct 10 18:45:24 PDT 2025

Total time taken to generate the page: 0.96046 seconds