From mboxrd@z Thu Jan 1 00:00:00 1970 From: jiewuza Subject: How to create tables with multi-rows/columns cells? Date: Mon, 11 Sep 2017 11:36:19 +0800 Message-ID: Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:43399) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1drFf5-0007zu-My for emacs-orgmode@gnu.org; Sun, 10 Sep 2017 23:45:28 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1drFf0-000593-Ll for emacs-orgmode@gnu.org; Sun, 10 Sep 2017 23:45:27 -0400 Received: from [195.159.176.226] (port=46207 helo=blaine.gmane.org) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1drFf0-00058R-Ep for emacs-orgmode@gnu.org; Sun, 10 Sep 2017 23:45:22 -0400 Received: from list by blaine.gmane.org with local (Exim 4.84_2) (envelope-from ) id 1drFeo-0004wV-UY for emacs-orgmode@gnu.org; Mon, 11 Sep 2017 05:45:10 +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 It is quite common to have multi-rows/columns cells in talbe. But as far as I know, it seems impossible with the org built-in table editor. So I turned to the emacs built-in table, and create a simple example: #+BEGIN_SRC org +-----+-----+-----+ | h | | +-----+-----+ h3 | | h1 | h2 | | +-----+-----+-----+ | a | b | c | +-----+-----+-----+ | d | e | f | +-----+-----+-----+ #+END_SRC It works. However, when I export it to HTML, I find it does not contain tag (I would like to style the table head). So I'd like to know how do you guys to create such tables in org-mode. p.s. One workaround would be add support for the exporter to recognize `===` as a separator of table head and body #+BEGIN_SRC org +-----+-----+-----+ | h | | +-----+-----+ h3 | | h1 | h2 | | +=====+=====+=====+ | a | b | c | +-----+-----+-----+ | d | e | f | +-----+-----+-----+ #+END_SRC