From mboxrd@z Thu Jan 1 00:00:00 1970 From: Nicholas S-A Subject: Orgtbl-mode questions Date: Sun, 2 Nov 2008 11:13:50 -0500 Message-ID: <20081102161350.GA554@Edwards.local> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii; format=flowed Return-path: Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1KwfaO-0007rd-To for emacs-orgmode@gnu.org; Sun, 02 Nov 2008 11:13:56 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1KwfaN-0007rL-6I for emacs-orgmode@gnu.org; Sun, 02 Nov 2008 11:13:56 -0500 Received: from [199.232.76.173] (port=44070 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KwfaN-0007rI-3m for emacs-orgmode@gnu.org; Sun, 02 Nov 2008 11:13:55 -0500 Received: from qw-out-1920.google.com ([74.125.92.144]:37388) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1KwfaM-0003bi-5d for emacs-orgmode@gnu.org; Sun, 02 Nov 2008 11:13:54 -0500 Received: by qw-out-1920.google.com with SMTP id 4so847561qwk.24 for ; Sun, 02 Nov 2008 08:13:51 -0800 (PST) Content-Disposition: inline List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: emacs-orgmode@gnu.org 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 | | | \end{comment} With 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