To display Greek letters or other special characters in Jmol, simply
use the Unicode character "escape" sequence:

select (atomno=3);label "alpha \u03B1 beta \u03B2 gamma \u03B1 Angstroms \u00C5"

These are not properly saved in terms of the state, though.
I'll look into that.

Bob


On 3/20/07, rspinney <[EMAIL PROTECTED]> wrote:
>
> Message: 5
> Date: Tue, 20 Mar 2007 21:45:20 +0100
> From: "Angel Herraez" <[EMAIL PROTECTED]>
> Subject: Re: [Jmol-users] symbol font in labels
> To: jmol-users@lists.sourceforge.net
> Message-ID: <[EMAIL PROTECTED]>
> Content-Type: text/plain; charset=US-ASCII
>
>
> >Rick, how do you get echo &alpha; to work?
> >Not from the command line!
>
> >I agree that some way of showing symbols on echo and label would be
> >excellent. Java
> >happily accepts accented characters which I have in my keyboard, even those
> >entered as
> >Alt+numeric pad (e.g. Alt+230 for mu) so there should be a way.
>
>
> Hi Angel,
>
> I have been using the echo or message command in a script that loads with
> the applet (i.e. var script = 'echo &alpha; &beta; &gamma;";'). This works
> fine, showing the correct symbol character(s). I never tried it from the
> console until just now, and it does not work? Strange, not the behavior I
> would expect.
>
> Rick
>
>
> -------------------------------------------------------------------------
> Take Surveys. Earn Cash. Influence the Future of IT
> Join SourceForge.net's Techsay panel and you'll get the chance to share your
> opinions on IT & business topics through brief surveys-and earn cash
> http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
> _______________________________________________
> Jmol-users mailing list
> Jmol-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/jmol-users
>

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Jmol-users mailing list
Jmol-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jmol-users

Reply via email to