texTable

texTable[list]
given a table in form of a list, returns the tex output of a tabular environment, displayed and/or copied to clipboard

DetailsDetails

  • The function formPick uses the function texTable inside it.
  • The 'list' can be a vector or a Matrix (usable in Latex tabular).
  • Possible options for texTable are:
  • verticalFalseInserts vertical separators in tex table (or not).
    horizontalFalseInserts horizontal separators in tex table (or not).
    alignment"c"Determines the alignment of cells in the table output.
    interpret"Print"Determines whether to copy the result to clipboard or not.
  • texTable is a simplified code built upon the package TexTableForm

ExamplesExamplesopen allclose all

Basic Examples  (1)Basic Examples  (1)

Load the package:

In[1]:=
Click for copyable input

Say this is list that you convert to Latex table form. Let's give it a name:

In[2]:=
Click for copyable input

texTable prints the required output in the 'tabular' environment. This output you can copy as plain text and use in your Latex document.

In[3]:=
Click for copyable input
Out[3]=

Let us now change all the default options for texTable to some other values.

In[4]:=
Click for copyable input
Out[4]=

This result is already copied in clipboard, thus just pasting in some Latex editor or a file will do the job for you.