show x
The functions showTex and showHtml are specializations of the show method which first convert x to a TEX or Hypertext object, respectively, and display that result.
For example, the following lines would display a matrix in a browser or PDF viewer:
|
|
By default, the viewer is determined by either open on macOS or xdg-open on Linux distributions. As backup for when neither open nor xdg-open is available, the environmental variable WWWBROWSER or firefox is used.
No attempt is made to wrap large matrices or equations. The code for this function is Unix dependent at the moment, requiring that certain commands like pdflatex are present.
The object show is a method function.