TeX - LaTeX Stack Exchange is a question and answer site for users of TeX, LaTeX, ConTeXt, and related typesetting systems. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

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.

share|improve this question
You need to load the array package (no idea how that translates to lyx, sorry) – David Carlisle Jan 25 '13 at 11:45
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
up vote 6 down vote accepted

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

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

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