[Tex/LaTex] LyX: put space between first and second columns of table

lyxspacingtables

When inserting a table in LyX, there's a space between the first and second rows, which I can get rid of by selecting the first row and turning off "bottom line", or selecting the second row and turning off "top line". However, if I try to do something similar to add space between the first and second columns of the table, removing the left line of the second column blanks out the line, and adding the left line to the first column adds in a second line.

Here's an example of what I've tried:

Imgur

Best Answer

I'm assuming you need to add space between columns. You can do so by setting the width of column. In Lyx, highlight one of the entries in the column you wish to set (not just the text but the whole rectangular entry), right-click, then go to More... and Settings. In Column settings will be a width parameter. In the LaTeX output, changing that parameter produces widths (90pt and 151pt below):

\begin{tabular}{>{\raggedright}p{90pt}>{\raggedright}p{151pt}}
90 pt width & 150 pt width \\
\end{tabular} \vspace{-8bp}

Alternatively, just add blank spaces to the longest entry in your column.

Related Question