GeneralCR in a table cell

LaTeX specific issues not fitting into one of the other forums of this category.
Post Reply
evlabiba
Posts: 8
Joined: Sat Nov 15, 2008 6:17 pm

CR in a table cell

Post by evlabiba »

How do I force a Carriage Return in a table cell?
Thanks to you all.

Recommended reading 2024:

LaTeXguide.org • LaTeX-Cookbook.net • TikZ.org

NEW: TikZ book now 40% off at Amazon.com for a short time.

User avatar
Stefan Kottwitz
Site Admin
Posts: 10324
Joined: Mon Mar 10, 2008 9:44 pm

Re: CR in a table cell

Post by Stefan Kottwitz »

Hi,

you could use \newline inside table cells. Use p-columns for this purpose, or m,b-columns with the array package.

Stefan
LaTeX.org admin
evlabiba
Posts: 8
Joined: Sat Nov 15, 2008 6:17 pm

Re: CR in a table cell

Post by evlabiba »

Thx!
I naïvely thought "\\" and "\newline" were synonyms.
Ciao.
phi
Posts: 577
Joined: Tue Oct 21, 2008 8:10 pm

Re: CR in a table cell

Post by phi »

Outside a tabular, they are synonyms. Inside a tabular environment, \\ is let to \tabularnewline. This is because this short control sequence should be reserved for the most common application in the current situation.
Post Reply