As far as I can see TeXForm
of a matrix produces LaTeX
arrays, which assume LaTeX is in math mode. However, Mathematica can be used to produce whole tables programmatically. Therefore I was wondering if there is a way to tell TeXForm
to spit out LaTeX
in a tabular environment, including the annoying $
needed for each cell that is in math mode.
I cannot see any option for TeXForm
to do this.
Of course one could program this, but is going to be tedious, I guess, because one has to figure out what is math and what is not, plus do the necessary substitutions. So I was wondering if this wheel has been already invented, or I have to make it, in case I accept suggestions ...
Thanks, Roberto