From mboxrd@z Thu Jan 1 00:00:00 1970 From: James Harkins Subject: Re: Exporting source code blocks as LaTeX figures Date: Mon, 20 May 2013 12:06:04 +0800 Message-ID: References: <87r4h4ohx6.fsf@gmail.com> Reply-To: jamshark70@dewdrop-world.net Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Return-path: Received: from eggs.gnu.org ([208.118.235.92]:56147) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UeHMM-0006bQ-Gh for Emacs-orgmode@gnu.org; Mon, 20 May 2013 00:06:07 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1UeHML-00032I-9v for Emacs-orgmode@gnu.org; Mon, 20 May 2013 00:06:06 -0400 Received: from mail-oa0-f52.google.com ([209.85.219.52]:47181) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UeHML-00031m-3m for Emacs-orgmode@gnu.org; Mon, 20 May 2013 00:06:05 -0400 Received: by mail-oa0-f52.google.com with SMTP id h1so7022522oag.25 for ; Sun, 19 May 2013 21:06:04 -0700 (PDT) In-Reply-To: <87r4h4ohx6.fsf@gmail.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: Nicolas Goaziou Cc: "Emacs-orgmode@gnu.org" 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? hjh [1] http://en.wikibooks.org/wiki/LaTeX/Floats,_Figures_and_Captions#Wide_figures_in_two_column_documents