slib_lang_exists_tmp=yes

slib_title=
slib_parms=2\
,molecule name or data\
,option (for example : label=true bond="ffffff")

slib_out=applet code for visualizing molecule. The java applet used is \
LatticeViewer. Extract from the source :\

\
 LatticeViewer.java\
 Date :       18th Feb 1998	\
 Adapted by : Simon P.A.Gill\
 http://www.le.ac.uk/engineering/spg3/lattice/\
 The following java code is an adaptation of the Molecule Viewer XYZApp.java\
 freely distributed by Sun Microsystems. The conditions stated below apply\
 to this code. S.P.A. Gill takes no responsibility for this code. \
 Requires class Matrix3D.java (also from Sun at\
 http://www.javasoft.com:80/applets/js-applets.html)
 
slib_index=!record 0 of data/molecule_pdb/index
slib_comment=the first parameter can be the name of a molecule\
of the (small) database (see below)\
or the content of a pdb file or an xyz file. \

Allowed options are the followings:\

label can be true or false, if true, the points are labelled\
by a number\

box can be true  or false if true, \
bonds between atoms of radius 0 are displayed\

scale\

format can be pdb  or xyz\

width in pixels\

height in pixels\

bgcolor as "ffffff" : background color\

bondcolor as "ffffff" : color of the bonds \

Defaults are: label=false bgcolor="000000" bondcolor="9966CC" \
box=true bonds=true scale=0.8 format=pdb width=300 height=300\

 An example of a xyz-file is\

ATOM C 255 0 0 1.0\
ATOM X 0 0 0 0.0\
c 0 0 0 2\
c 0.985977 0.985977 0.985977 3 7\
c 0 1.97195 1.97195 4\
c 0.985977 2.95792 2.95792 9 12\
c 1.97195 0 1.97195 2 6\
c 2.95792 0.985977 2.95792 10 13\
c 1.97195 1.97195 0 8\
c 2.95792 2.95792 0.985977 9 11\
c 1.97195 3.94389 1.97195\
c 3.94389 1.97195 1.97195 8\
c 3.94389 3.94389 0\
c 0 3.94389 3.94389\
c 1.97195 1.97195 3.94389 4\
c 3.94389 0 3.94389 6\
x 0 0 3.94389\
x 3.94389 0 0\
x 0 3.94389 0\
x 3.94389 3.94389 3.94389\

\

 Index of database (pdb format): 
$slib_index 

