LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 03-30-2010, 02:17 AM   #1
Lakki
Member
 
Registered: Jul 2008
Posts: 32

Rep: Reputation: 15
Red face 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
 
Old 03-30-2010, 03:29 AM   #2
evo2
LQ Guru
 
Registered: Jan 2009
Location: Japan
Distribution: Mostly Debian and CentOS
Posts: 6,724

Rep: Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705
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.
Attached Files
File Type: pdf foo.pdf (26.9 KB, 16 views)

Last edited by evo2; 03-30-2010 at 03:31 AM.
 
Old 03-30-2010, 06:46 AM   #3
Lakki
Member
 
Registered: Jul 2008
Posts: 32

Original Poster
Rep: Reputation: 15
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?
 
Old 03-30-2010, 06:57 AM   #4
evo2
LQ Guru
 
Registered: Jan 2009
Location: Japan
Distribution: Mostly Debian and CentOS
Posts: 6,724

Rep: Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705
Quote:
Originally Posted by Lakki View Post
I should have the latex or pdflatex installed on my system to create a document with formatted table is it?
Correct.

Evo2.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Python formatted printing athreyavc Programming 2 05-25-2009 09:28 AM
printing formatted text Mano3 Linux - Software 4 12-22-2006 07:49 PM
Creating Tables in OpenOffice Impress MSwal2846 Linux - Software 4 04-10-2006 05:17 PM
Bash scripting, mysql, and creating tables. hondaman Linux - General 2 09-25-2005 05:17 AM
Creating Multiple user accounts from a formatted file collern2 Programming 2 03-09-2005 09:15 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 07:14 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration