From mboxrd@z Thu Jan 1 00:00:00 1970 From: Christian Moe Subject: Re: Orthogonality of blocks Date: Wed, 28 Dec 2011 00:19:02 +0100 Message-ID: <4EFA5266.6010407@christianmoe.com> References: <4EFA208B.6040905@gmail.com> <87zkedkaz5.fsf@gmx.com> <4EFA34C0.3000200@christianmoe.com> <87boqt3em5.fsf@gmx.com> Reply-To: mail@christianmoe.com Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Return-path: Received: from eggs.gnu.org ([140.186.70.92]:50777) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RfgC8-00039z-Qz for emacs-orgmode@gnu.org; Tue, 27 Dec 2011 18:12:33 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1RfgC6-0004rf-Gy for emacs-orgmode@gnu.org; Tue, 27 Dec 2011 18:12:32 -0500 Received: from b1.hitrost.net ([91.185.211.67]:20777) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RfgC6-0004rZ-4f for emacs-orgmode@gnu.org; Tue, 27 Dec 2011 18:12:30 -0500 In-Reply-To: <87boqt3em5.fsf@gmx.com> 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-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: Eric Schulte Cc: emacs-orgmode@gnu.org, Charles Turner Oh, right, it gets a bit more complicated if you want better control of the tabulated blocks, i.e. border separation and spacing between the table cells. Then you first need to wrap them in a
. You could do that with literal HTML, or (my preference) with org-special-blocks. Use CSS to display the div as a table, and set border separation and spacing on it. Reworked example: #+title: Side by side code blocks #+style: How to say hello in two languages: #+begin_parallel #+name: Perl_hello #+begin_src perl :results output # Perl sub say_hello { print "Hello, world"; } say_hello; #+end_src #+name: Python_hello #+begin_src python :results output # Python def say_hello(): print("Hello, world") say_hello() #+end_src #+end_parallel