A presentation system using TeX as a back end might allow you to insert inline markup, such as $x^2$, using TeX syntax directly.