Re: Coyote Tex [message #78223] |
Wed, 02 November 2011 12:44  |
David Fanning
Messages: 11724 Registered: August 2001
|
Senior Member |
|
|
Avian writes:
> Oh, sorry for the confusion. The symbol after values and
> before 1-sigma uncertainties. \pm in tex. And
> inversely, also the "-/+" symbol.
OK, I have added the plus-minus symbol, designated as
"+-" in cgSymbol. But the minus-plus symbol does not
exist in the Symbol true-type font distributed with
IDL. Thus, I can only do this symbol in a Hershey font,
but not in a PostScript font. So, I have not implemented
the minus-plus symbol.
The updated program is here:
http://www.idlcoyote.com/programs/cgsymbol.pro
Cheers,
David
--
David Fanning, Ph.D.
Fanning Software Consulting, Inc.
Coyote's Guide to IDL Programming: http://www.idlcoyote.com/
Sepore ma de ni thui. ("Perhaps thou speakest truth.")
|
|
|
|
|
|
|
|
|
|
Re: Coyote Tex [message #78237 is a reply to message #78236] |
Wed, 02 November 2011 09:51   |
David Fanning
Messages: 11724 Registered: August 2001
|
Senior Member |
|
|
Avian writes:
> I am completely spoiled by Coyote's graphics. A great package, David!
>
> However, I noticed that when I try and use textoidl() to display tex, it looks fine in the resizeable graphics window, but saves somewhat scrambled in the postscript file. For instance, Greek letters show up as different letters, /pm shows up as a plus.
>
> Is there any way around this?
Yes, see the end of this article:
http://www.idlcoyote.com/cg_tips/kwexpressions.php
This can be made slightly easier by using cgSymbol instead of
TexToIDL, if you can, since cgSymbol can return the PostScript
value by simply setting the PS keyword.
Cheers,
David
--
David Fanning, Ph.D.
Fanning Software Consulting, Inc.
Coyote's Guide to IDL Programming: http://www.idlcoyote.com/
Sepore ma de ni thui. ("Perhaps thou speakest truth.")
|
|
|
|