Re: special characters in iTools annotation [message #58095 is a reply to message #58093] |
Tue, 15 January 2008 11:00   |
Benjamin Hornberger
Messages: 258 Registered: March 2004
|
Senior Member |
|
|
Paul van Delst wrote:
> Benjamin Hornberger wrote:
>> Hi all,
>>
>> I am trying to put a "times" symbol (like the letter x, but not
>> exactly, LaTeX $\times$) into an iTools annotation. I found it in the
>> Helvetica font table at position 327 (octal), but I don't know how to
>> add it to the iTools annotation.
>>
>> David's description on
>> http://www.dfanning.com/ographics_tips/greek.html doesn't seem to help
>> because since I am not creating the text object programmatically I
>> can't use the string() function. Or can I somehow?
>>
>> Thanks for your help,
>> Benjamin
>
> Does this work:
>
> IDL> window
> IDL> x="327B
> IDL> xyouts, 0.5,0.5,string(x),/norm,charsize=6
>
>
> ?
Yes, but this is direct graphics. Also it uses the string() function,
which I know how to use one the command line / programmatically, but I
don't know how to use it in the graphical interface of iTools. If I just
type string(), the string "string()" is added in my annotation ...
|
|
|