render math a displaymath latex using katex