lazarus-ccr/components/chemtext
wp_xxyyzz 1f45709f7c chemtext: Less hints and warnings
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@8122 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2021-10-27 13:52:00 +00:00
..
demo ChemText: Show aligned sub/superscripts in chemdemo project. 2021-03-12 21:31:58 +00:00
icons chemtext: New Hi-res palette icon by Roland Hahn 2018-01-06 14:18:51 +00:00
source chemtext: Less hints and warnings 2021-10-27 13:52:00 +00:00
laz_chemtext.lpk chemtext: Update version number to 0.1.5 2021-01-03 23:32:57 +00:00
laz_chemtext.pas chemtext: Initial commit 2017-06-25 15:56:27 +00:00
readme.txt chemtext: update package version to 0.1.4 (after releasing 0.1.3) 2018-01-06 15:25:19 +00:00

--------------------------------------------------------------------------------
CHEMTEXT
--------------------------------------------------------------------------------

This library is intended to display chemical formulas and equations with 
automatically placed subscripts and superscripts. 

The procedure ChemTextOut draws the chemical text onto any canvas object 
(useful for writing event handlers for user drawn lists and grids). 
This procedure is used by the component TChemLabel to display chemical formulas 
on the forms.

The formulas are written in a straightforward way. The "2" in H2O is automatically
subscripted, and the + in H+ is automatically displayed as superscript. Note
that multiple-charge ions must repeat the charge sign, i.e. the double-negatively
charged oxygon ion must be written as O--, not as O2-.

For chemical reactions, arrows can be entered as -->, <-- or <-->. The property
Arrow of the TChemLabel determines whether this simple is to be replaced by
a nice UTF8 character.

The code is based on "chemtxt" written by Patrick Spanel 
(Patrik.Spanel@jh-inst.cas.cz). It was adapted to Lazarus and extended by 
Werner Pamler.

The code does not work under Delphi any more.

License:
LGPL with linking exception (the same license used by Lazarus).

The palette icon was painted by Roland Hahn and is not subject to any 
restrictions.