Adds support for latexbox