watersnail wrote:
> I am having problems setting up correct sizes of tables for lyx.
> 1. Table 1 has 3 columns: set for 10%, 20%, and 70% (making a total of 100%)
> 2. Table 2 has 4 columns: set for 10%, 20%, 30%, and 40%.
> 3. Table 3 has 5 columns: set for 10%, 20%, 20%, 20%, and 30%.
> 
> I need all the three tables of equal width. And they are not regardless of
> setting. 

That's because there's an inter-column space added between each two columns. 
This makes the tables with more columns larger.

> However, if I set the three tables to 5 columns and then adjust
> accordingly, then the sizes are same. The idea is merging 3 columns to one
> for table 1 and 2 columns to 1 for table 2. This technique works. My
> question is “Is there a better way?”

You can suppress the inter-column spacewith some LaTeX trickery: instead of 
specifying the column width in the "width" field, use the "LaTeX argument" 
field and enter something like

@{}p{.1\textwidth}@{}

@{} suppresses the inter-column width at each side of the column, 
p{.1\textwidth} specifies the column width (10% text width here)

Alternatively, you can adjust the width of the tables until it fits.

HTH,
Jürgen

> Thank you

Reply via email to