special characters [message #11946] |
Mon, 08 June 1998 00:00  |
Mirko Loehmann
Messages: 5 Registered: January 1998
|
Junior Member |
|
|
Hi,
how do I get special characters for titles for example
which would look in LaTeX like this
q_x [\AA^{-1}]
Thanks
M.L.
|
|
|
Re: Special Characters [message #15383 is a reply to message #11946] |
Mon, 17 May 1999 00:00  |
Jason Jonikas
Messages: 4 Registered: October 1998
|
Junior Member |
|
|
In the string put '!7x' this will give you a lower case omega. Upper case is
capital x. this is explained in the refference guide volume 1 under the chapter
on fonts. There are also a bunch of font tables also. Remember to reset the
font by using !3 at the end of the string or in the next string. If you do not
then all of your fonts will remain in Greek font 7.
R.Bauer wrote:
> DBorland wrote:
>
>> Greetings,
>> Does anyone know how to put a special character, in this case the symbol
>> omega, as the value of a widget_button?
>>
>> Thanks,
>> David Borland
>> Software Engineer
>> Electrical Geodesics, Inc.
>
> If it won't work with the symbolic font the onlly way is to use a bitmap
> button I believe.
>
> R.Bauer
--
-=*"*=--=*"*=--=*"*=--=*"*=--=*"*=--=*"*=-
Jason Jonikas
Frontier Technology Inc.
ph.: 978.927.4774
fax: 978.927.5155
e-mail: jjonikas@bos.fti-net.com
-=*"*=--=*"*=--=*"*=--=*"*=--=*"*=--=*"*=-
|
|
|
Re: Special Characters [message #15386 is a reply to message #11946] |
Mon, 17 May 1999 00:00  |
R.Bauer
Messages: 1424 Registered: November 1998
|
Senior Member |
|
|
DBorland wrote:
> Greetings,
> Does anyone know how to put a special character, in this case the symbol
> omega, as the value of a widget_button?
>
> Thanks,
> David Borland
> Software Engineer
> Electrical Geodesics, Inc.
If it won't work with the symbolic font the onlly way is to use a bitmap
button I believe.
R.Bauer
|
|
|
Re: Special Characters [message #15475 is a reply to message #11946] |
Mon, 17 May 1999 00:00  |
DBorland
Messages: 10 Registered: March 1999
|
Junior Member |
|
|
This just prints out !7X on the button. Reading the chapter in the
reference guide leads me to believe that this method only works with direct
graphics commands like xyouts.
David Borland
----------
In article <37403035.F76E48AF@bos.fti-net.com>, Jason Jonikas
<jjonikas@bos.fti-net.com> wrote:
> In the string put '!7x' this will give you a lower case omega. Upper case is
> capital x. this is explained in the refference guide volume 1 under the
chapter
> on fonts. There are also a bunch of font tables also. Remember to reset the
> font by using !3 at the end of the string or in the next string. If you do
not
> then all of your fonts will remain in Greek font 7.
>
> R.Bauer wrote:
>
>> DBorland wrote:
>>
>>> Greetings,
>>> Does anyone know how to put a special character, in this case the symbol
>>> omega, as the value of a widget_button?
>>>
>>> Thanks,
>>> David Borland
>>> Software Engineer
>>> Electrical Geodesics, Inc.
>>
>> If it won't work with the symbolic font the onlly way is to use a bitmap
>> button I believe.
>>
>> R.Bauer
>
>
>
> --
> -=*"*=--=*"*=--=*"*=--=*"*=--=*"*=--=*"*=-
> Jason Jonikas
> Frontier Technology Inc.
> ph.: 978.927.4774
> fax: 978.927.5155
> e-mail: jjonikas@bos.fti-net.com
> -=*"*=--=*"*=--=*"*=--=*"*=--=*"*=--=*"*=-
>
>
|
|
|
Re: Special Characters [message #15476 is a reply to message #11946] |
Mon, 17 May 1999 00:00  |
DBorland
Messages: 10 Registered: March 1999
|
Junior Member |
|
|
This would work if the symbol was the only thing I wanted to put on the
button. I neglected to mention in the original post that there was to be
regular characters there as well.
What I am trying for is 'Conductivity 1/(ohms*m)' with the symbol for ohms
in place of ohms.
David Borland
----------
In article <MPG.11a9ebbe486369539897a5@news.frii.com>, davidf@dfanning.com
(David Fanning) wrote:
> DBorland (dborland@egi.com) writes:
>
>> Does anyone know how to put a special character, in this case the symbol
>> omega, as the value of a widget_button?
>
> I am not sure about how to do this in general, but this
> works on my Windows NT machine with IDL 5.2:
>
> button = Widget_Button(tlb, Value='W', Font='Symbol')
>
> Cheers,
>
> David
> --
> David Fanning, Ph.D.
> Fanning Software Consulting
> Phone: 970-221-0438 E-Mail: davidf@dfanning.com
> Coyote's Guide to IDL Programming: http://www.dfanning.com/
> Toll-Free IDL Book Orders: 1-888-461-0155
|
|
|
Re: Special Characters [message #15477 is a reply to message #11946] |
Mon, 17 May 1999 00:00  |
davidf
Messages: 2866 Registered: September 1996
|
Senior Member |
|
|
DBorland (dborland@egi.com) writes:
> Does anyone know how to put a special character, in this case the symbol
> omega, as the value of a widget_button?
I am not sure about how to do this in general, but this
works on my Windows NT machine with IDL 5.2:
button = Widget_Button(tlb, Value='W', Font='Symbol')
Cheers,
David
--
David Fanning, Ph.D.
Fanning Software Consulting
Phone: 970-221-0438 E-Mail: davidf@dfanning.com
Coyote's Guide to IDL Programming: http://www.dfanning.com/
Toll-Free IDL Book Orders: 1-888-461-0155
|
|
|