# how to create different column widths in different cells [closed]

I would like to ask if this is possible with Libre writer. I am doing this in Microsoft Word. For example, I have a 2x2 table, and I want the column widths for the first row be different than the second row. In Microsoft word, I just drag the column border to the width I like for both rows, and I'm finished. How do I do this in Writer? Thanks.

edit retag reopen merge delete

### Closed for the following reason the question is answered, right answer was accepted by molbio close date 2017-12-29 14:00:43.530767

Sort by » oldest newest most voted

Hold down Shift + Ctrl and then drag the column borders as needed (tested on Windows 10).

Another possibility:

1. Click in cell B2.
2. Press Ctrl + Alt + Shift + Right Arrow.
3. Drag the column borders of row 1 or row 2 as needed.

Alternatively, split and merge, as in the answer by @Mike Kaganski.

more

Thanks!

Ctrl + Alt + Right Arrow seems to be enough.

( 2017-12-28 08:51:41 +0200 )edit

In previous versions, I thought that merging and then splitting into 2 columns worked, but it seems 3 columns are required now

It works for me with 6.0.0.1, if you merge one row, resize cells in second row (so that the border isn't at the center), and then split top row. The matter is that the borders don't coincide vertically, or else they are joined together.

( 2017-12-28 09:07:18 +0200 )edit

On my Windows machine, Ctrl + Alt + Right Arrow turns the whole view 90 degrees instead.

( 2017-12-28 09:16:39 +0200 )edit

You're right; I must have merged and then resized the other row before splitting. The three cell solution is better because cell contents are not merged unnecessarily.

( 2017-12-28 09:26:00 +0200 )edit
1

Well - the screen rotation is a video driver "feature" that conflicts with the hotkeys... that's another story. It's good that adding Shift works in this case - but that must also be the driver's feature - because on my system, the ctrl+shift+alt+arrow does nothing.

( 2017-12-28 09:41:28 +0200 )edit

thanks. this works.

( 2017-12-29 13:56:04 +0200 )edit

Hmm... I was sure it's possible directly when a row (or cells) are selected. Well, I'm apparently wrong.

To achieve that, given the example you gave (2x2), you would need to do a split and then a merge, e.g.:

1. Split cell A1 horizontally (now you have 3 cells in row 1)
2. Merge cells B1 and C1 (now you have 2 cells in row 1, but their sizes are different from row 2).

Now the sizes are adjustable independently, until you make them equal, in which event they will become linked again.

more

In LO Writer, a table has a global format: all properties are shared over all rows. As such, you can't define different column widths for rows.

However, provided your customised column widths are sufficiently "rare", you can do that with different tables.

For example, you need a 4-column x 7-row table where rows 4-5 show different width. Insert first a 4-col x 3-row table, then with the cursor immediately after the table insert a 4-col x 2-row table, and again with the cursor after the second table insert a 4-col x 2-row table.

The column widths can be set independently in the tables. Space between individual tables is tuned in Table>Table Properties, Table tab.

In case you can't "join" the tables, make sure there isn't a paragraph mark between your partial tables: display formatting information with View>Nonprinting Characters and eventually delete the paragraph mark (cursor before the mark and hit Delete key.

If this answer helped you, please accept it by clicking the check mark ✔ to the left and, karma permitting, upvote it. If this resolves your problem, close the question, that will help other people with the same question.

more