this parameter has to do with labels that are multiline in nature and how
the text from one line to the next aligns. Probably what you want is:

 set labelOffset
[x-offset]<file:///C:/jmol-dev/workspace/Jmol-documentation/script_documentation/index.htm#d643>
[y-offset]<file:///C:/jmol-dev/workspace/Jmol-documentation/script_documentation/index.htm#d644>{
atom expression }

*Sets the label offset relative to the atom being labeled. A positive number
indicates the number of pixels between the atom center and the beginning of
the label. A negative number indicates the number of pixels between the atom
center and the end of the label, with the entire label to the left of the
atom. Zero indicates centered.
*

*
*

So, to center a label on the atom you use:

select {some atoms}
set labelOffset 0 0

Bob


On Tue, Jun 23, 2009 at 1:34 PM, N David Brown <[email protected]>wrote:

> Dear all,
>
> I've tried using
>
>  set labelalignment center;
>
> without any other scripts running, and it fails to center the labels.
> I can right click on the applet and center them just fine through the
> appropriate submenu.
>
> Is there some nuance for 'set labelalignment' of which I'm unaware?
>
> Thanks :)
>
> - N David Brown
>
>
> ------------------------------------------------------------------------------
> _______________________________________________
> Jmol-users mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/jmol-users
>



-- 
Robert M. Hanson
Professor of Chemistry
St. Olaf College
1520 St. Olaf Ave.
Northfield, MN 55057
http://www.stolaf.edu/people/hansonr
phone: 507-786-3107


If nature does not answer first what we want,
it is better to take what answer we get.

-- Josiah Willard Gibbs, Lecture XXX, Monday, February 5, 1900
------------------------------------------------------------------------------
_______________________________________________
Jmol-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jmol-users

Reply via email to