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

htmlWithTex -- convert to HTML format with some TeX

Synopsis

Description

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

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

o3 = <pre style="display:inline">
     Hello world</pre>

See also