emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Matthew Lundin <mdl@imapmail.org>
To: Yu Zhao <zhaoyu@iis.u-tokyo.ac.jp>
Cc: emacs-orgmode@gnu.org
Subject: Re: word wrapping inside org table
Date: Thu, 15 Jan 2009 10:26:48 -0600	[thread overview]
Message-ID: <87vdsgh6wn.fsf@fastmail.fm> (raw)
In-Reply-To: <000001c9765e$eecf5ba0$cc6e12e0$@u-tokyo.ac.jp> (Yu Zhao's message of "Thu\, 15 Jan 2009 00\:44\:05 +0900")

Hi Yu,

"Yu Zhao" <zhaoyu@iis.u-tokyo.ac.jp> writes:

> Is it possible to do word wrapping inside org table as MS Word did? I know
> that one table mode can do this. (http://www.emacswiki.org/emacs/TableMode)

I don't believe you can do word wrapping within a single field and
still preserve the integrity of the field, since, as I understand it,
a field in org-tbl is limited to a single line.

But you can "wrap" a long field for the sake of appearance. For
instance if you have the following table:

| | table | this is a long field with a lot of text that stretches on and on |

You can select the text in the second column as a region and type C-u
5 M-RET, which will reformat the text to fill five rows. (Change the
prefix argument to get more or fewer rows.)

| | table | this is a long |
| |       | field with a   |
| |       | lot of text    |
| |       | that stretches |
| |       | on and on      |

Your other option is to create narrow columns that hide the full text
in a column. See this page of the manual:



  reply	other threads:[~2009-01-15 16:29 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <1231940592318385.1056129401@mailgw2.iis.u-tokyo.ac.jp>
2009-01-14 15:44 ` word wrapping inside org table Yu Zhao
2009-01-15 16:26   ` Matthew Lundin [this message]
2009-01-15 16:30   ` Matthew Lundin
2009-01-17  8:00     ` Carsten Dominik

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:

  List information: https://www.orgmode.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87vdsgh6wn.fsf@fastmail.fm \
    --to=mdl@imapmail.org \
    --cc=emacs-orgmode@gnu.org \
    --cc=zhaoyu@iis.u-tokyo.ac.jp \


* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox


This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).