LyX ⇒ How to insert new line inside table cell? (wrap text)
-
- Posts: 4
- Joined: Fri Mar 25, 2011 9:31 am
How to insert new line inside table cell? (wrap text)
I am new to Lyx (just started using it today).
But I know how to program in Latex a little.
I create a table, and I want to add large text
into one cell of a table, but I want to be able
to hit carriage return and have a new line
added automatically inside the same cell.
I read that I can add \linebreak, which I tried,
but when I continue to type, the text remained on
the same line, and did not wrap around.
I am trying to add large amount of text and
want to be able to add more lines to same cell.
Is there a way to do this in Lyx?
thanks
steve
NEW: TikZ book now 40% off at Amazon.com for a short time.
And: Currently, Packt sells ebooks for $4.99 each if you buy 5 of their over 1000 ebooks. If you choose only a single one, $9.99. How about combining 3 LaTeX books with Python, gnuplot, mathplotlib, Matlab, ChatGPT or other AI books? Epub and PDF. Bundle (3 books, add more for higher discount): https://packt.link/MDH5p
- localghost
- Site Moderator
- Posts: 9202
- Joined: Fri Feb 02, 2007 12:06 pm
How to insert new line inside table cell? (wrap text)
Best regards and welcome to the board
Thorsten
Board Rules
Avoidable Mistakes
¹ System: TeX Live 2025 (vanilla), TeXworks 0.6.10
-
- Posts: 4
- Joined: Fri Mar 25, 2011 9:31 am
How to insert new line inside table cell? (wrap text)
Thanks, yes, I know in Latex how to do it. I uselocalghost wrote:The standard environment allows »p{‹width›}« column types of a certain width.
p{3in} as example.
But in Lyx, it is a GUI thing, and when I hit the
carriage return, I wanted it to start a new line
inside the table cell.
Isn't that the whole point of using a GUI?

I also tried to change the table preferences
to use p{} but do not know how yet.
thanks
steve
-
- Posts: 22
- Joined: Thu Mar 31, 2011 10:41 pm
Re: How to insert new line inside table cell? (wrap text)
Lyx 2.0RC2
Perhaps a bug in 2.0? Might try 1.6
-
- Posts: 22
- Joined: Thu Mar 31, 2011 10:41 pm
Re: How to insert new line inside table cell? (wrap text)

- localghost
- Site Moderator
- Posts: 9202
- Joined: Fri Feb 02, 2007 12:06 pm
How to insert new line inside table cell? (wrap text)
This is a LyX problem thus not related to the TeX distribution.dschneiderch wrote:And if anyone is reading, I was using TexLive2009 but just updated to 2010 and it still doesn't work :(
Board Rules
Avoidable Mistakes
¹ System: TeX Live 2025 (vanilla), TeXworks 0.6.10
-
- Posts: 22
- Joined: Thu Mar 31, 2011 10:41 pm
Re: How to insert new line inside table cell? (wrap text)
- localghost
- Site Moderator
- Posts: 9202
- Joined: Fri Feb 02, 2007 12:06 pm
How to insert new line inside table cell? (wrap text)
The quoted statement could be misleading to a problem with the TeX distribution. Therefore my remark.dschneiderch wrote:but this is the lyx forum, right?
Board Rules
Avoidable Mistakes
¹ System: TeX Live 2025 (vanilla), TeXworks 0.6.10
-
- Posts: 22
- Joined: Thu Mar 31, 2011 10:41 pm