I've updated the documentation to reflect this.

http://www.stolaf.edu/people/hansonr/jmol/docs/index.htm#label



Miguel wrote:

Jmol prerelease 10.00.43 is now available for download from:

  http://www.jmol.org/files

It has been several weeks, so I am sure that this release contains a few
things, but I have forgotten what I did.

One important thing that it does contain is new functionality for
formatting label strings.

Lengths and widths can now be applied to formatting tags in the 'label'
and 'hover' commands.

This formatting basically follows the printf formatting conventions in the
c programming language.

It is easier to give examples:

To show the X coordinate with 2 digits of decimal precision:

 label "my x coordinate is %.2x";

To show x,y,z with 1 digit of precision:

 label "%.1x,%.1y,%.1z"


To display the partial charge, left aligned in an 8 character field with 3
digits to the right of the decimal point

  label "%-8.3P"



Miguel



-------------------------------------------------------
This SF.Net email is sponsored by the JBoss Inc.
Get Certified Today * Register for a JBoss Training Course
Free Certification Exam for All Training Attendees Through End of 2005
Visit http://www.jboss.com/services/certification for more information
_______________________________________________
Jmol-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jmol-users

--

Robert M. Hanson, [EMAIL PROTECTED], 507-646-3107
Professor of Chemistry, St. Olaf College
1520 St. Olaf Ave., Northfield, MN 55057
mailto:[EMAIL PROTECTED]
http://www.stolaf.edu/people/hansonr

"Imagination is more important than knowledge."  - Albert Einstein


-------------------------------------------------------
This SF.Net email is sponsored by the JBoss Inc.
Get Certified Today * Register for a JBoss Training Course
Free Certification Exam for All Training Attendees Through End of 2005
Visit http://www.jboss.com/services/certification for more information
_______________________________________________
Jmol-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jmol-users

Reply via email to