From mboxrd@z Thu Jan 1 00:00:00 1970 From: Suvayu Ali Subject: Re: LaTeX export: images subplots Date: Fri, 13 Sep 2013 13:02:42 +0200 Message-ID: <20130913110242.GH2369@kuru.dyndns-at-home.com> References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:60992) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VKR9E-0003CE-UK for emacs-orgmode@gnu.org; Fri, 13 Sep 2013 07:02:50 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1VKR9D-0005Cn-EC for emacs-orgmode@gnu.org; Fri, 13 Sep 2013 07:02:48 -0400 Received: from mail-ea0-x234.google.com ([2a00:1450:4013:c01::234]:62695) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VKR9D-0005Ci-7N for emacs-orgmode@gnu.org; Fri, 13 Sep 2013 07:02:47 -0400 Received: by mail-ea0-f180.google.com with SMTP id h10so490450eaj.39 for ; Fri, 13 Sep 2013 04:02:46 -0700 (PDT) Content-Disposition: inline In-Reply-To: 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: emacs-orgmode@gnu.org On Wed, Sep 11, 2013 at 09:47:08PM -0500, John Hendy wrote: > On Wed, Sep 11, 2013 at 8:56 PM, Martin Leduc wrote: > > Hi all, > > I am using org-mode to write a report with several figures. I would like > > to group some images into a same figure, let say a 2x2 panel. I know that I > > can directly embed latex code in my org file, for example by using the > > subfloats (from the latex subfig package). > > > > However, I would prefer to use an org-based solution of inserting the image > > links in order to keep the convenient way of previewing images right into > > the buffer with C-c C-x C-v. > > > > The only solution I found is by using tables such as: > > > > #+CAPTION: Insert caption here. > > #+ATTR_LATEX: :align p{0.5\textwidth}p{0.5\textwidth} > > | [[pathtoimage]] | [[pathtoimage]] | > > | [[pathtoimage]] | [[pathtoimage]] | > > > > where the size of the images is controled by p{} and C-cxv is working. > > However, in the exported TeX file, it is a table, not a figure. Is there a > > cleaner way to make image panels that would preserve the figure environment > > in the exported TeX file ? > > Just wanted to cite my similar (same?) question from a bit back: > - http://lists.gnu.org/archive/html/emacs-orgmode/2013-03/msg01800.html Actually this might be easier than we might think. AFAIK, there is already a feature of writing matrices with tables (sorry no citation). Maybe that can adapted for images? Hope this helps, -- Suvayu Open source is the future. It sets us free.