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) Jan 25, 2013 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).
    – cgnieder
    Jan 25, 2013 at 12:26

1 Answer 1


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

  • This is having no effect for me. The dialog shows a width and Top or Middle for vertical alignment, but the contents still show up at the bottom.. odd.
    – CPBL
    May 27 at 23:59

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.