A polymer element for typesetting math written in (La)TeX