add superscript and fix int for latex