add superscript support (fixes issue #33)