From mboxrd@z Thu Jan 1 00:00:00 1970 From: Martin Leduc Subject: LaTeX export: images subplots Date: Thu, 12 Sep 2013 01:56:34 +0000 Message-ID: Mime-Version: 1.0 Content-Type: multipart/alternative; boundary="_1b018322-d332-44d9-ae34-68b019839dbe_" Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:54732) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VJw9C-0006qf-R5 for emacs-orgmode@gnu.org; Wed, 11 Sep 2013 21:56:50 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1VJw95-0004gQ-HU for emacs-orgmode@gnu.org; Wed, 11 Sep 2013 21:56:42 -0400 Received: from blu0-omc1-s32.blu0.hotmail.com ([65.55.116.43]:52174) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VJw95-0004gK-Dx for emacs-orgmode@gnu.org; Wed, 11 Sep 2013 21:56:35 -0400 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" --_1b018322-d332-44d9-ae34-68b019839dbe_ Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Hi all=2C I am using org-mode to write a report with several figures. I would like = to group some images into a same figure=2C let say a 2x2 panel. I know that= I can directly embed latex code in my org file=2C for example by using the= subfloats (from the latex subfig package).=20 However=2C I would prefer to use an org-based solution of inserting the ima= ge links in order to keep the convenient way of previewing images right int= o 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. Howe= ver=2C in the exported TeX file=2C it is a table=2C not a figure. Is there = a cleaner way to make image panels that would preserve the figure environme= nt in the exported TeX file ? Thanks a lot=2C Martin = --_1b018322-d332-44d9-ae34-68b019839dbe_ Content-Type: text/html; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable
Hi all=2C
 =3B I am using= org-mode to write a report with several figures. I would like to group som= e images into a same figure=2C let say a 2x2 panel. I know that I can direc= tly embed latex code in my org file=2C for example by using the subfloats (= from the latex subfig package).

However=2C I would prefer to use an= org-based solution of inserting the image links in order to keep the conve= nient way of previewing images right into the buffer with C-c C-x C-v.
<= br>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\textwidt= h}
| [[pathtoimage]] | [[pathtoimage]] |
| [[pathtoimage]] | [[pathto= image]] |

where the size of the images is controled by p{} and C-cxv= is working. However=2C in the exported TeX file=2C it is a table=2C not a = figure. Is there a cleaner way to make image panels that would preserve the= figure environment in the exported TeX file ?

Thanks a lot=2C
Ma= rtin


= --_1b018322-d332-44d9-ae34-68b019839dbe_--