From: Nicholas S-A <novanasa@gmail.com>
To: emacs-orgmode@gnu.org
Subject: Orgtbl-mode questions
Date: Sun, 2 Nov 2008 11:13:50 -0500 [thread overview]
Message-ID: <20081102161350.GA554@Edwards.local> (raw)
Hi all,
I have some questions pertaining to orgtbl-mode. I am really excited
about using it to compose all my LaTeX tables, and in fact learned Emacs
and Org specifically for this purpose (well, I also learned them for all
the other awesome features of Org-mode.
First of all, I was wondering how I could add vertical bars to a
table (so instead of \begin{tabular}{rrr}, something like
\begin{tabular}{r|rr} is generated when C-c C-c is executed in an
orgtbl-mode remote table). Is this possible?
Second, I have had some problems with calculations. I have the
following format for my table:
% BEGIN RECEIVE ORGTBL test
% END RECEIVE ORGTBL test
\begin{comment}
#+ORGTBL: SEND test orgtbl-to-latex :splice nil :skip 0
| Name | Age | Height |
|-------+-----+--------|
| Bob | 34 | 2 |
| James | 23 | 1.8 |
| Fred | 64 | 1.2 |
|-------+-----+--------|
| TOTAL |<pt> | |
\end{comment}
With <pt> as the location of point. I want to sum the ages and put them
in that cell, then sum the height and put them in the adjacent cell.
When I enter the formula :=vsum(@-II+1$2..-I-1$2) into the current cell
and then tab to the next cell and enter :=vsum(@-II+1$3..-I-1$3), it
works great. However, this is very tedious when many columns are used!
Is there a way to enter many formulae in a row and have the column
automatically updated?
Thanks for the help!
Nicholas
next reply other threads:[~2008-11-02 16:13 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-11-02 16:13 Nicholas S-A [this message]
2008-11-03 11:16 ` Orgtbl-mode questions Carsten Dominik
2008-11-03 12:32 ` Nicholas S-A
2008-11-03 11:53 ` Sebastian Rose
2008-11-03 12:33 ` Nicholas S-A
2008-11-03 13:30 ` 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=20081102161350.GA554@Edwards.local \
--to=novanasa@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).