Paulina Restrepo wrote:
Hi,

I'm using Lyx 1.5.3 on a Mac, with Mac OS X version 10.4.11.

I have a table inside a float, and the word "Measure" on the table looks aligned in Lyx, but when I compile into pdf it moves up. I haven't been able to fix its alignment. Here is the Lyx
file. Any ideas?

Thank you,

Paulina

If you turn off centering in each of the other cells in that row, "Measure" will align correctly, and all the titles will be centered in the output (but not in the GUI). The problem is that when you set fixed widths for the other columns, you also specified that they be centered. LyX correctly recorded that, and LaTeX will in fact center them (including the heading cells), but LyX displays the headings with default alignment. I suspect that caused you to manually center all but "Measure", which led LyX to add redundant centering. So, for instance, "20" became

\begin{center}\textbf{\small 20}}\par\end{center}

and so on. The problem is that the begin/end environment stuff adds some vertical space, which does not happen in the "Measure" cell. You cannot add the center stuff to the "Measure" cell, but you can remove it from the other cells (if you are will to tolerate incorrect alignment in the GUI).

/Paul

Reply via email to