Writes a table as a LaTeX tabular
environment,
suitable for insertion into a document intended for publication.
This is only likely to be useful for fairly small tables.
The handler behaviour may be modified by specifying
one or more comma-separated name=value configuration options
in parentheses after the handler name, e.g.
"latex(standalone=false)
".
The following options are available:
standalone = true|false
tabular
environment within a table
within a document
. If false, the output is just a tabular
environment.
(Default: false
)
If no output format is explicitly chosen,
writing to a filename with
the extension ".tex
" (case insensitive)
will select LaTeX
format for output.
An example looks like this:
\begin{tabular}{|r|l|l|r|r|l|} \hline \multicolumn{1}{|c|}{RECNO} & \multicolumn{1}{c|}{SPECIES} & \multicolumn{1}{c|}{NAME} & \multicolumn{1}{c|}{LEGS} & \multicolumn{1}{c|}{HEIGHT} & \multicolumn{1}{c|}{MAMMAL} \\ \hline 1 & pig & Pigling Bland & 4 & 0.8 & true\\ 2 & cow & Daisy & 4 & 2.0 & true\\ 3 & goldfish & Dobbin & & 0.05 & false\\ 4 & ant & & 6 & 0.001 & false\\ 5 & ant & & 6 & 0.001 & false\\ 6 & queen ant & Ma'am & 6 & 0.002 & false\\ 7 & human & Mark & 2 & 1.8 & true\\ \hline\end{tabular}