# Rockbox

## FS#4944 - use tabularx for tables to eliminate overful boxes

Attached to Project: Rockbox
Opened by Dominik Riebeling (bluebrother) - Wednesday, 29 March 2006, 16:02 GMT
Task Type Patches Manual Closed No-one All players Low Normal Undecided Undecided 0 No

### Details

The tables in the manual are using the standard "tabular" environment. This leads to a lot of overful boxes (at least in the current cvs version) and long lines need to be broken by hand.
Using the "tabularx" environment makes it possible to break lines within table columns automatically. It also has the advantage that you can specify the width of the table.

The attached patch changes the following for the wps section of the manual:
- use tabularx for tables
- make all tables as width as \\textwidth (which looks way better imo)
- remove some hand-splitted lines and let LaTeX break them automatically.

Closed by  Martin Arver (tucoz)
Wednesday, 29 March 2006, 18:40 GMT
Reason for closing:  Accepted
Comment by Martin Arver (tucoz) - Wednesday, 29 March 2006, 16:22 GMT
I like it. I was actually looking for something like this, so nice catch :)
I will probably commit this later tonight.
Comment by Dominik Riebeling (bluebrother) - Wednesday, 29 March 2006, 16:47 GMT
If you're interested I'm willing to look over the manual replacing tabular on more sections the next time. Unfortunately I haven't done LaTeX for quite some time but this shouldn't be a big problem ;-)

Another note: I noticed the manual uses the standard LaTeX "report" style with a4paper. This produces pretty big margins (as the stlyes are designed to use letter formats). Maybe using KOMA-Script (which is designed to use the A4 format as default) makes this look more nice? For my documents I like KOMA-Script a lot better than the standard styles. Just tried it on the rockbox manual and also like it better.
Comment by Dominik Riebeling (bluebrother) - Wednesday, 29 March 2006, 17:57 GMT
I just noticed I missed a table in my last patch. Attached is an updated version