LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   creating & printing formatted tables in linux (https://www.linuxquestions.org/questions/linux-software-2/creating-and-printing-formatted-tables-in-linux-798812/)

Lakki 03-30-2010 02:17 AM

creating & printing formatted tables in linux
 
Hi,

We are using RHEL 5.3 version. We would like to create a table and print it in linux.For multilingual support, we have refined ourselves to use unicode supported translator like u2ps, paps or lasiprint

Is there any tool to create the table in linux, so that it automatically adjusts the cell widht and height based on the entries. Also can it be easily converted into postscript format without losing its format.

Thanks in advance for your valuable suggestions!

Lakshmi

evo2 03-30-2010 03:29 AM

1 Attachment(s)
Latex.

Code:

% cat foo.tex
\documentclass{article}
\begin{document}
  \begin{tabular}{|l|l|l|}\hline
    foo & bar & baz\\ \hline
    fooooo & barrrrrrrrr& baaz\\ \hline
    fooo & \huge{barrrrrrrrr}& baaz \\ \hline
    \large{fooooo} & barrrrrr& bz \\ \hline
  \end{tabular}
\end{document}
% pdflatex foo.tex


See the attached pdf file.

If you want ps instead of pdf you'd run
Code:

% latex foo.tex
% dvips foo.dvi

Cheers,

Evo2.

Lakki 03-30-2010 06:46 AM

Hi, Please clarify my understanding!
I should have the latex or pdflatex installed on my system to create a document with formatted table is it?

evo2 03-30-2010 06:57 AM

Quote:

Originally Posted by Lakki (Post 3917818)
I should have the latex or pdflatex installed on my system to create a document with formatted table is it?

Correct.

Evo2.


All times are GMT -5. The time now is 04:14 PM.