I have a problem with re-sizing the table in LyX. When I export it to
Any ideas on how to shrink it, or make it readable in
p.s. In LyX, everything seems ok.
You could use any of the methods described in Wider tables in LaTeX, which is the best solution? Here's a LyX take on it:
Insert an ERT before your table and include the necessary LaTeX code, followed by an ERT after to complete the grouping, if necessary. For example:
In the LyX "LaTeX Source" window, this will result in:
which appropriately uses
Depending on the location of this table, you may have to prepend the ERT with
Many times the problem is not the exposed by Werner of a big table with several columns that must be of reduced (also in font size in this way), but only that there are some long text in some cell that must have some line breaks, but this is not allowed by default in tabular environment.
For example, a table with big font like this:
Produce this awful result in the PDF:
To correct this, al least one column must have a defined width. Select a column in the Lyx screen and go to right-click menu ->
In the above example, setting the width of the three columns to 20% of text width produce this effect in in Lyx screen and PDF view:
Another option for a minor width fix is only reduce the space between cells contents. See Table padding in LyX.
BTW, I know that the table format is ugly. I have not changed the default in LyX to focus on the width problem.