Evaluated proc symbolab_fix a { set a [regsub -all {\\sqrt\{(.+)\}} $a "sqrt(\\1)"]; set a [regsub {\\cdot } $a {*}]; set a [regsub -all {\\ln} $a {ln}] }