<?xml version="1.0" encoding="utf-8" ?> <!-- for emacs: -*- coding: utf-8 -*- --> <!-- Apache may like this line in the file .htaccess: AddCharset utf-8 .html --> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1 plus MathML 2.0 plus SVG 1.1//EN" "http://www.w3.org/2002/04/xhtml-math-svg/xhtml-math-svg-flat.dtd" > <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en"> <head><title>showTex -- convert to TeX and display on screen</title> <link rel="stylesheet" type="text/css" href="../../../../Macaulay2/Style/doc.css"/> </head> <body> <table class="buttons"> <tr> <td><div><a href="_show__User__Structure.html">next</a> | <a href="_show__Structure.html">previous</a> | <a href="_show__User__Structure.html">forward</a> | <a href="_show__Structure.html">backward</a> | up | <a href="index.html">top</a> | <a href="master.html">index</a> | <a href="toc.html">toc</a> | <a href="http://www.math.uiuc.edu/Macaulay2/">Macaulay2 web site</a></div> </td> </tr> </table> <hr/> <div><h1>showTex -- convert to TeX and display on screen</h1> <div class="single"><h2>Synopsis</h2> <ul><li><div class="list"><dl class="element"><dt class="heading">Usage: </dt><dd class="value"><div><tt>showTex x</tt></div> </dd></dl> </div> </li> <li><div class="single">Inputs:<ul><li><span><tt>x</tt>, any Macaulay2 object</span></li> </ul> </div> </li> <li><div class="single">Consequences:<ul><li><tt>showTex x</tt> converts <tt>x</tt> to TeX format, and displays it on the screen.</li> </ul> </div> </li> <li><div class="single"><a href="_using_spfunctions_spwith_spoptional_spinputs.html">Optional inputs</a>:<ul><li><span><tt>Format => </tt><span><span>default value dvi</span>, currently an unused option</span></span></li> </ul> </div> </li> </ul> </div> <div class="single"><h2>Description</h2> <div>For example, the following line would display a matrix in another window.<pre>showTex matrix{{1,2,3},{4,5,6}}</pre> </div> </div> <div class="single"><h2>Caveat</h2> <div><ul><li>No attempt is made to wrap large matrices or equations.</li> <li>The code for this function is Unix dependent at the moment, requiring that the commands latex and xdvi are present.</li> </ul> </div> </div> <div class="single"><h2>See also</h2> <ul><li><span><a href="_tex.html" title="convert to TeX format">tex</a> -- convert to TeX format</span></li> <li><span><a href="_tex__Math.html" title="convert to TeX math format">texMath</a> -- convert to TeX math format</span></li> <li><span><a href="_math__M__L.html" title="convert to MathML format">mathML</a> -- convert to MathML format</span></li> </ul> </div> </div> </body> </html>