## March 12, 2008

Thank you, this was very helpful!

Glad to have helped! Thanks for the comment.

Thank you! Your method made the tables in my thesis much better.

Hello and Thanks you very much for this small and really effective tutorial.

However I have a small question, what is if i want a border line on the left/right of the table?

I tried changing the header to
\begin{tabular}{|l p{.5cm} p{4cm} p{.5cm} l|},
but I got some blank on the borders,
any idea how to fix it?

I would appreciate.

thanks once more

Piccolo

Piccolo, the gaps that you see in the vertical borders are by products of the \smallskip element and the double \\ delimiters, which add a blank line. What I would recommend doing is removing those and adding a horizontal line instead.

Thanks,
It helps.
Regards

There is a much cleaner method of doing this, and it took me forever to find this too: you can call ragged right in the column deceleration:

\begin{tabular}{| >{\raggedright}p{.5cm} | >{raggedright}p{4cm} | >{\centering}p{.5cm} | }

This will work with a variety of commands, in this example the left two columns will typeset with ragged right, and the right column will center. This is for every column in the table. Then you can ditch the parbox.

wow. many thanks, you just saved me the exact same headache...