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

Home » Public Forums » archive » Italic and upright in the same title/caption
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: Italic and upright in the same title/caption [message #66159 is a reply to message #66048] Wed, 15 April 2009 09:38 Go to previous message
Michael Galloy is currently offline  Michael Galloy
Messages: 1114
Registered: April 2006
Senior Member
Michael Williams <mjwilliams@gmail.com> wrote:
> Hi,
>
> is it possible to persuade IDL to use both italic and upright text in
> the same caption (e.g. italic for variable names, upright for units)?
> I would like to do this with Postscript output using the Times font.
> At the moment I'm creating the strings for my captions using TeXToIDL
> because they include subscripts and greek symbols, so bonus points for
> any suggestions that allow me to continue to use that!

Check the online help for embedding format codes in text written to
graphics devices. I don't have access to the online help right now, but
your string will look something like:

IDL> xyouts, 0.5, 0.5, 'Area !18A = hw!X', /normal

Mike
--
www.michaelgalloy.com
Associate Research Scientist
Tech-X Corporation
[Message index]
 
Read Message
Read Message
Previous Topic: no focus on a widget
Next Topic: How to set the default working directory?

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

Current Time: Sat Oct 11 08:22:23 PDT 2025

Total time taken to generate the page: 1.12497 seconds