Customising the GUI


setfont

{Default, Picture_labels} {choosefont(), font detail}

Brings up the dialog to choose font for the Console or Labels which end up on the picture. The built-in function choosefont([olex2]) to choose a system font (or specially prepared/portable font) can be used to specify the font.

Example

setfont Default choosefont()
setfont Default choosefont(getfont(default))

This will bring up the choice of font to change to along with the current font.

EditMaterial

{helpcmd, helptxt, execout, error, exception, any object name available with lstgo}

Brings up a dialog to change properties of the specified text section or graphical object.

  • helpcmd - material for the command name in the help window
  • helptxt - material for the body of the help item
  • execout - material for the output text printed in the console of external programs
  • error - material for reporting errors in the console
  • exception - material for reporting exception in the console

This command can be used to edit properties of any objects printed by 'lstgo' macro. An example of that could be editing material of the console text:

Example

EditMaterial Console

Note: The object name is case sensitive.

save

{scene, style, view, model} [file_name]

If the file name is not provided, the 'Save as...' dialog will be shown which allows to save current settings to file. The scene save current font names/sizes as well as the materials for the specific console output, like external programs output, error and exception reporting.
The style saves information about the appearance of objects in the scene.
The view saves current zoom and the scene orientation.
The model saves current view including the crystallographic mode and style.

load

{scene, style, view model} [file_name]

Load one of the previously saved items. If no file name is provided, the 'Open file...' dialog will appear, otherwise if just a file name is provided (the extension will be guessed by Olex2), for styles and scene the last used folders will be used by default, whereas the current folder will be used for the views and models.

grad

[C1 C2 C3 C4]
[-p]

Choose the colour of the four corners of the graduated background.

  • -p: a file name for the picture to be placed at the background

brad

r [hbonds]
operates on all or selected bonds

Adjust the bond radii in the display. If the 'hbonds' is provided the second argument, the given radius is applied to all hydrogen bonds.

ads

{elp, sph, ort, std}

A function for drawing styles development. Changes atom draw style for all/selected atoms.

  • elp - represents atoms as ellipsoids (if ADP is available)
  • sph - represents atoms as spheres
  • ort - same as elp, but spheres have one of the quadrants cut out
  • std - a standalone atom (i.e. grown as a cross in wire-frame mode)

arad

{sfil, pers, isot, isoth, bond, vdw}

A function for drawing styles development; applies different radii to all/selected atoms.

  • sfil - sphere packing radii (as in ShelXTL XP)
  • pers - a fixed radii for model viewing
  • isot - each atom has it's own radius depending on the value of the Uiso or ADP
  • isoth - same as isot, but the H atoms are also displayed with their real Uiso's
  • bond - all atoms get same radii as default bond radius
  • vdw - the default/loaded Van der Waals radii used in most of the calculations

azoom

% [atoms]

Changes the radii of all/given atoms, the change is given in percents.