# How to <return> in a org table?

|   | some value         |
|-- +--------------------|
| a | aaaaaaaa           |
|---+--------------------|
| b | bbbbbbb bbbbbbbbb  |
|---+--------------------|


I want

|   | some value         |
|-- +--------------------|
| a | aaaaaaaa           |
|---+--------------------|
| b | bbbbbbb            |
|   | bbbbbbbbb          |
|---+--------------------|


because sometimes the table is too long to display and I have to use scroll commands or bol/eol to view the table. Also I have no idea about how to get it nicely export to LaTeX. Thanks in advance!

• Does M-<RET> (org-table-wrap-region) work for you? – Roman Susi Dec 26 '16 at 18:39
• @RomanSusi It does! I've tried <RET>, C-<RET>, newline, newline-and-indent etc. but this one! Thank you! – stackunderflow Dec 27 '16 at 0:43

It's possible to make text to wrap by pressing M-, take a look at the table editor docs

As for export into latex, M-x org-table-export and specifying file name with .tex extension should work.

Here is what I got for your second table:

\begin{tabular}{ll}
& some value\\
\hline
a & aaaaaaaa\\
\hline
b & bbbbbbb\\
& bbbbbbbbb\\
\hline
\end{tabular}


It adds an explicit break though.