emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* How can I write side by side code comparison table
@ 2013-07-10 22:00 Jisang Yoo
  2013-07-11 11:13 ` Jambunathan K
  2013-07-11 18:17 ` Rick Frankel
  0 siblings, 2 replies; 3+ messages in thread
From: Jisang Yoo @ 2013-07-10 22:00 UTC (permalink / raw)
  To: emacs-orgmode

I can write a table:

| Python | Emacs Lisp |
|--------+------------|
|        |            |

and I can write two source code blocks:

#+BEGIN_SRC python
  a = [0, 1, 2]
  a[0] += 10
#+END_SRC

#+BEGIN_SRC elisp
  (setq a (vector 0 1 2))
  (cl-incf (elt a 0) 10)
#+END_SRC

but I don't know how to combine the two-column table with the two
source code blocks in a way that exports to code tables like in
Emergency Elisp

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2013-07-11 18:17 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2013-07-10 22:00 How can I write side by side code comparison table Jisang Yoo
2013-07-11 11:13 ` Jambunathan K
2013-07-11 18:17 ` Rick Frankel

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).