next | previous | forward | backward | up | top | index | toc | Macaulay2 web site
Macaulay2Doc :: htmlWithTex

htmlWithTex -- convert to html format with some TeX math

Synopsis

Description

Converts the input to HTML, with mathematical objects converted to TeX surrounded by \( \). Used by the WebApp printing mode.
i1 : R = ZZ[x];
i2 : htmlWithTex (x-1)^6

o2 = \(\displaystyle x^{6}-6\,x^{5}+15\,x^{4}-20\,x^{3}+15\,x^{2}-6\,x+1\)
i3 : htmlWithTex "Hello world"

o3 = <pre>Hello world</pre>

See also