From: jiewuza <jiewuza@163.com>
To: emacs-orgmode@gnu.org
Subject: How to create tables with multi-rows/columns cells?
Date: Mon, 11 Sep 2017 11:36:19 +0800 [thread overview]
Message-ID: <m21snd52ks.fsf@163.com> (raw)
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
<thead> 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
next reply other threads:[~2017-09-11 3:45 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-09-11 3:36 jiewuza [this message]
2017-09-11 8:47 ` How to create tables with multi-rows/columns cells? Eric S Fraga
2017-09-12 17:34 ` Grant Rettke
2017-09-13 1:49 ` jiewuza
2017-09-13 2:22 ` jiewuza
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=m21snd52ks.fsf@163.com \
--to=jiewuza@163.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).