TeX - LaTeX Stack Exchange is a question and answer site for users of TeX, LaTeX, ConTeXt, and related typesetting systems. It's 100% free, no registration required.

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

I am trying to add linebreaks in my table cell but found that LyX doesn't allow me to. How can I insert a newline inside a table cell?

share|improve this question
1  
If you want to specify the width of the cell: How to break a line in a table. If you just want to break the line without specifying a width: How to add a forced line break inside a table cell – Jake Aug 28 '11 at 10:01
up vote 11 down vote accepted

go into the menu of the tabular (right mouse click when cursor is inside the tabular) and then choose a width for the column. Then you can have linebreaks inside this cell with \newline or with an empty line for a new paragraph.

share|improve this answer
    
Once the width has been defined, the useful shortcut for a linebreak is ctrl+shift+enter. – landroni Jan 22 at 16:06

Your Answer

 
discard

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.