create math/tex script elements instead of using delimiters