From mboxrd@z Thu Jan 1 00:00:00 1970 From: tsd@tsdye.com (Thomas S. Dye) Subject: Re: Exporting source code blocks as LaTeX figures Date: Sun, 19 May 2013 20:30:13 -1000 Message-ID: References: <87r4h4ohx6.fsf@gmail.com> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([208.118.235.92]:52706) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UeJcR-0006xP-6X for Emacs-orgmode@gnu.org; Mon, 20 May 2013 02:30:56 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1UeJcM-0002aE-5D for Emacs-orgmode@gnu.org; Mon, 20 May 2013 02:30:51 -0400 Received: from oproxy12-pub.bluehost.com ([50.87.16.10]:34056) by eggs.gnu.org with smtp (Exim 4.71) (envelope-from ) id 1UeJcL-0002a6-SL for Emacs-orgmode@gnu.org; Mon, 20 May 2013 02:30:46 -0400 In-Reply-To: (James Harkins's message of "Mon, 20 May 2013 12:06:04 +0800") 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: jamshark70@dewdrop-world.net Cc: "Emacs-orgmode@gnu.org" , Nicolas Goaziou Aloha James, James Harkins writes: > On Sat, May 18, 2013 at 3:39 PM, Nicolas Goaziou wrote: >> instead? I.e., why don't you apply caption to src block? You can tweak >> the position of the caption with "captionpos" option in listings >> environment. > > Wow, I hadn't thought of that. Actually that works better in a lot of ways. > > Then the next problem... I'm going to have some figures that need to > span two columns. According to [1], I should use \begin{figure*} ... > \end{figure*}. Is there a way to do that using a special block? (First > guess, "#+BEGIN_figure*" causes the special block not to be > recognized.) Or do I need to write the literal LaTeX code for that? > No, you don't need to write literal LaTeX code. See Section 12.7.4 of the manual, which describes setting the :float attribute to 'multicolumn'. hth, Tom -- Thomas S. Dye http://www.tsdye.com