8

How can you set the vertical alignment of table cells in LyX? The right-click menu shows three choices ("Top", "Middle", "Bottom") but none of them is enabled, they are all greyed out.

  • You need to load the array package (no idea how that translates to lyx, sorry) – David Carlisle Jan 25 '13 at 11:45
  • 1
    This corresponds to p, m or b type columns, respectively, which means you have to assign a width to the columns. Once you do so you should be able to set the vertical alignment as well. (LyX should load array itself). – clemens Jan 25 '13 at 12:26
7

Vertical alignment of cells in LyX is TeXnically based on the p, m, or b column types offered by the array package. However, for these types you also have to specify a width.

In LyX, just open the "Table Settings" window. After you have specified a width, the "Vertical alignment in row" combo box becomes enabled.

enter image description here

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.