From mboxrd@z Thu Jan 1 00:00:00 1970 From: Uwe Brauer Subject: tables with column and row numbers Date: Fri, 23 Sep 2016 12:18:24 +0000 Message-ID: <87h996u7vz.fsf@mat.ucm.es> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:48552) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bnPRa-00030P-He for emacs-orgmode@gnu.org; Fri, 23 Sep 2016 08:19:07 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bnPRV-0002Ey-GL for emacs-orgmode@gnu.org; Fri, 23 Sep 2016 08:19:05 -0400 Received: from [195.159.176.226] (port=46032 helo=blaine.gmane.org) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bnPRV-0002DI-9n for emacs-orgmode@gnu.org; Fri, 23 Sep 2016 08:19:01 -0400 Received: from list by blaine.gmane.org with local (Exim 4.84_2) (envelope-from ) id 1bnPRD-0000Vq-JZ for emacs-orgmode@gnu.org; Fri, 23 Sep 2016 14:18:43 +0200 List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: "Emacs-orgmode" To: emacs-orgmode@gnu.org Hi I found parts of the solution on that list but the following example generates a table with column and row numbers. | 1 | 2 | 3 | 4 | 5 | |---+-----------+-----------+---+---| | 1 | x1 | | | | | 2 | some data | more data | | | |---+-----------+-----------+---+---| | 3 | more | data | | | | 4 | | | | | | 5 | | | | | #+TBLFM: @1=vlen(@I$1..0);EN::$1=@#-1 I am not sure whether this is the most elegant or robust solution but maybe some words in the manual wouldn't harm. Uwe Brauer