Using LyX, how can I make a 6 column table with the second row having multiple lines of text? I am trying to create the following layout in LyX:
I'm using LyX 2.0 for mac.
What are ways to accomplish this?
To fill in a little on the LyX side of things:
You can create a tabular by either choosing Insert --> Table ... or clicking the button on the toolbar. In both cases, you choose the number of columns and rows for your table. Say you create a table with 6 columns and 2 rows, then you'll get something like this:
You'll want to remove most of the lines in the table, so start by selecting all the cells, and clicking the appropriate buttons on the toolbar at the bottom of the LyX window (that's where the toolbar appears on my installation, at least):
The button on the far right in the red oval removes all the lines. However, you'll still want the horizontal lines above and below the top row, so select just this, and add the lines:
Following cmhughes, you can set the column width. You can do this by right clicking in a cell, choosing More --> Settings, and writing a width in the appropriate text box.
I think you have to do this for each column, but I may be wrong, as I don't use LyX that much.
Another thing you want to do in the settings, is to go to the Borders tab, and select the "Formal" style. This will make LyX use
You can add more rows to your table, by clicking the Add row button in the bottom left of the tabular toolbar, or using the keyboard shortcut. On Windows this is Alt + M, W I, i.e., hold down Alt and press M, then release both and type WI. (May be different on your Mac, but it will probably show up as a tooltip then hovering the mouse over the button.)
I'm not sure about the Lyx side of things, but here's some code that should get you started.
Note that I've used the column type
A lot of users on this site would recommend using the
I wished to leave an example, of a LyX file that implements the recomended solution, as a text file.