emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: brian powell <briangpowellms@gmail.com>
To: Bastien <bastien.guerry@wikimedia.fr>
Cc: Wang Coeus <wangcoeus@gmail.com>, emacs-orgmode@gnu.org
Subject: Re: Re: Can I input multiline in a cell?
Date: Wed, 16 Feb 2011 12:48:46 -0500	[thread overview]
Message-ID: <AANLkTik3X=5teG=80b_KeH6dos+Z+OZ8mxLoNQUUen3F@mail.gmail.com> (raw)
In-Reply-To: <877hd0tht6.fsf@altern.org>


[-- Attachment #1.1: Type: text/plain, Size: 2863 bytes --]

This worked too:
...
|---+-----+-------------+-----+-----+-------------+-----+-------+-----+-----+---|
| * | 11B |         21W | 31B | 41W |         51B | 61W |   71B | 81W | 91B
| * |
|---+-----+-------------+-----+-----+-------------+-----+-------+-----+-----+---|
| * | 12W | /u/0802.jpg |   0 |   0 | [[file:/u/d.j]] |   0 | multi |   0 |
  * |   |
|   |     |             |     |     |             |     |  line |     |
|   |
|   |     |             |     |     |             |     |  text |     |
|   |
|---+-----+-------------+-----+-----+-------------+-----+-------+-----+-----+---|
| * | 13B |           0 |   0 |   0 |           0 |   0 |     0 |   0 |   0
| * |
|---+-----+-------------+-----+-----+-------------+-----+-------+-----+-----+---|
...

---to do this: I put "dummy rows" around the "12W" row--"dummy rows" have
all the cells empty--and then just deleted the "separator rows"---took less
than a minute.

A little Ck Cy magic---and good old <Tab> key.

As far as the TeX ideas; making it display as a multiline cell in
export--thats a great idea too, I've made o-ton-o LaTeX tables--once you do
this process Bastien suggests, you could probably write a simple program to
munge the .tex file and then reuse the same method over and over.  TeX is
great at displaying multiline text---its the best for that---regardless of
the font.


On Wed, Feb 16, 2011 at 4:42 AM, Bastien <bastien.guerry@wikimedia.fr>wrote:

> Hi Wang,
>
> Wang Coeus <wangcoeus@gmail.com> writes:
>
> > Will org consider to support this in future?
>
> There is no plan for this right now.
>
> But what about cheating a bit and play with the _display_ of the table?
>
> | Header      | Header |
> |-------------+--------|
> | I want to   |        |
> | write stuff |        |
> | on several  |        |
> | lines       |        |
>
> You should be able to export this table to HTML or LaTeX and simulate a
> multiline cell on the first column.  Just a workaround, but could do in
> some situations.
>
> Also, note that you can shrink the cell length by adding <length>:
>
>     |---+------------------------------|               |---+--------|
>     |   |                              |               |   | <6>    |
>     | 1 | one                          |               | 1 | one    |
>     | 2 | two                          |     ----\     | 2 | two    |
>     | 3 | This is a long chunk of text |     ----/     | 3 | This=> |
>     | 4 | four                         |               | 4 | four   |
>     |---+------------------------------|               |---+--------|
>
> which helps having long text in a single-line cell.
>
> HTH,
>
> --
>  Bastien
>
> _______________________________________________
> Emacs-orgmode mailing list
> Please use `Reply All' to send replies to the list.
> Emacs-orgmode@gnu.org
> http://lists.gnu.org/mailman/listinfo/emacs-orgmode
>

[-- Attachment #1.2: Type: text/html, Size: 3811 bytes --]

[-- Attachment #2: Type: text/plain, Size: 201 bytes --]

_______________________________________________
Emacs-orgmode mailing list
Please use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode

  reply	other threads:[~2011-02-16 17:48 UTC|newest]

Thread overview: 24+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-02-15 21:10 Can I input multiline in a cell? Wang Coeus
2011-02-15 23:32 ` suvayu ali
2011-02-16  6:06   ` Wang Coeus
2011-02-16  9:42     ` Bastien
2011-02-16 17:48       ` brian powell [this message]
2011-02-16 18:03         ` brian powell
2011-02-16 18:43           ` Bastien
2011-02-16 19:03             ` brian powell
2011-02-16 20:01               ` Nick Dokos
2011-02-16 19:16             ` brian powell
2011-02-16 19:56               ` brian powell
2011-02-16 20:26                 ` Wang Coeus
2011-02-18  9:47                 ` Bastien
2011-02-18 15:09                   ` brian powell
     [not found]                     ` <8227.1298043065@alphaville>
2011-02-18 16:03                       ` brian powell
     [not found]                         ` <9775.1298046024@alphaville>
2011-02-18 16:38                           ` brian powell
2011-02-18 16:43                     ` Joost Kremers
2011-02-18 20:53                     ` suvayu ali
2011-02-16 20:20       ` Wang Coeus
2011-02-17 17:16         ` brian powell
2011-02-18  9:46         ` Bastien
2011-02-16 11:18     ` suvayu ali
2011-02-16 17:07       ` Eric Schulte
2011-02-16 17:24 ` brian powell

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:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  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='AANLkTik3X=5teG=80b_KeH6dos+Z+OZ8mxLoNQUUen3F@mail.gmail.com' \
    --to=briangpowellms@gmail.com \
    --cc=bastien.guerry@wikimedia.fr \
    --cc=emacs-orgmode@gnu.org \
    --cc=wangcoeus@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* 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

	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

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).