emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Michael <wuolong@gmail.com>
To: emacs-orgmode@gnu.org
Subject: Re: Table questions
Date: Tue, 19 Dec 2006 10:54:31 -0600	[thread overview]
Message-ID: <1x3b7bbzco.fsf@bass.biostat.umn.edu> (raw)
In-Reply-To: f150b6e490588b2b43bfe31061ce415d@science.uva.nl

On 18 Dec 2006, Carsten Dominik wrote:

> On Dec 14, 2006, at 17:19, Michael wrote:

> > 1. In table calculation, how to refer to a cell in a different column and
> >    different row?  Specifically, I want column 8 row 5 to be the ratio of
> >    column 7 row 5 and column 7 row 4.

> You cannot, at least currently.  I am not sure how well this would
> work, because the table editor makes it very easy to swap rows, columns,
> to add and delete columns, and such references would become invalid
> unless one would carefully track these changes. 

I agree that you probably don't want to exactly replace the full power of
Excel.  But this simple feature makes it possible to keep track of simple
data.  I won't mind having to redo the formula after row swapping etc.,
which I think won't happen so often for a given table anyway.

> Having said this, I do want to do a bit more in this direction, but
> this is nowhere near completion.

> > 2. I think the table minor mode would be a fantastic tool in editing tables
> >    in a LaTeX file. I wonder whether it is possible to let orgtbl recognize
> >    \begin{tabular}\end{tabular} and use & as column delimiter rather than |
> >    (also respect end of line \\)?

> Yes, I think it would and I have been thinking to make this possible.
> However, once I allow this, people will want to use \multicolumn, and
> this seems for me to be beyond the scope.

I think you can ignore the rows with multicolumn in it, which would satisfy
most people I imagine.

> Have you tried

>    M-x align-current RET

> in a LaTeX table?  It does wonders.

I'll try that.  

Thanks very much for all the hard work,

Michael

  reply	other threads:[~2006-12-19 21:40 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-12-14 16:19 Table questions Michael
2006-12-15 16:08 ` Eddward DeVilla
2006-12-15 18:15   ` Michael
2006-12-18  9:39   ` Carsten Dominik
2006-12-18  9:29 ` Carsten Dominik
2006-12-19 16:54   ` Michael [this message]
2006-12-19 22:28     ` Eddward DeVilla
2006-12-19 23:25       ` Carsten Dominik
2006-12-19 23:20     ` 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:
  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=1x3b7bbzco.fsf@bass.biostat.umn.edu \
    --to=wuolong@gmail.com \
    --cc=emacs-orgmode@gnu.org \
    /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).