[texhax] Tables from Files

Ulf Markwardt ulf.markwardt at tu-dresden.de
Wed Jul 12 14:22:10 CEST 2006


Thank you all, 

>I am looking for a package that makes it possible to directly input data from
>a file into a table like \tabularfromfile{filename.csv}[formatoptions].

here is the solution which is what I had in mind.

{
\catcode`\,=\catcode`\&
\catcode`\
=\active%
\def
{\\ \hline}%
\begin{tabular}[hbt]{|c|c|c|}
% place header
\input{tabelle.csv}%
\end{tabular}%
}

Ulf


More information about the texhax mailing list