PrettyChemical v2.03
(from Screetch with thanks to
Dietmar, 2000-08-19)
Installation:
download 'HP48_PrettyChemicalV2_03' and save it as 'PC' or whatever you want in
any port or directory. To run the program proper you need the Universal Font
Library 'ufl.hp', which you can find in the zip file and has to be ATTACHED to
the HOME directory (see http://www.hpcalc.org/apps/editors/fonts/ufl102.zip
for further information).
Usage:
".." <PC> or PC [ENTER]
Output#1 in
pretty print (between the components and + and
between the components and the arrow a space will be added.)
Left1 + Left2 + LeftN
® Right1 + Right2
+ RightN
Syntax#2 (remark the required spaces between the last component and Up1 and the
first component after Down.)
(or only ".. Up1_®.." or "..®_Down ..")
Up1 + UpN
Left1 + Left2 + LeftN
-----------> Right1 + Right2 + RightN
Down
· LeftX, RightX
and UpX are pretty printed and therefore the following
syntaxes recommended:
- size
unlimited indices (printed in subscript); e.g. "C12H22O11" -
example 1 or 2
- use [ ] and (
) as you want; e.g. "K2[CoFe(CN)6]" - example 1
- everything in
{curved parenthesis} will be printed in superscript; e.g.
"Na{+}" or "C{+IV}" or
"1s{2}" - example 1,4 or 5
- as indicator
for crystal water use *; e.g. "MgCl2*6H2O" - example 6
- as indicator
for radicals use .; e.g. "Br." - example 3
- instead of
spaces use _; e.g. "1s{2}_2s{2}" - example 3 or 5
- use R’’-COOH
or R’CH3 for organic chemistry; example 2 or 3
· Down
will be treated as text and therefore you are able to use all characters you
want, but you have to use "_" instead of spaces (all spaces are
ignored completely); e.g. 100_-_200°C - example 2
PrettyChemical works with the system font or the minifont (from the ufl). The following flags influence the output:
user flag clear* set
#1 Left, Right are printed with
the current mini font
#2 Up, Down are printed with
the mini current font
(*default)
examples (flag #1 cleared and flag #2 set;
pictures are captured after use of SCROLL with a HP49G):
1)
"4Au+8CN{-}+O2+2H2O®4[Au(CN)2]{-}+4OH{-}"
2)
"2R-X+CH2(COOR')2 C2H5O{-}_®_alkylation R-CH(COOR')2"
3)
"2R-COO. -_2CO2_®2R."
(remark:you
have to use ".. -_2CO2.." instead of ".. –2CO2..")
4)
"Ca{+II}C{+IV}O{-II}3"
5)
"C_1s{2}_2s{2}_2p{2}"
6)
"Na2SO4*10H2O"