
// Usage: pl -gif supsub.htm
//
// Superscripts and subscripts example.
// Available in versions 2.3+...
// Text must be rendered in a monospace font for it to work.
// superscripts/subscripts capability must be enabled first...
#proc settings
enable_suscripts: yes
#proc rect
rectangle: 1 1 3 3
#proc annotate
location: 2 2.8
text:
a^2^ + b^2^ + c^2^
CO`2` and H`2`O
#proc annotate
location: 1.2 1.8
verttext: yes
text:
a^2^ + b^2^ + c^2^
CO`2` and H`2`O