[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [O] LaTeX export: images subplots
From: |
Suvayu Ali |
Subject: |
Re: [O] LaTeX export: images subplots |
Date: |
Fri, 13 Sep 2013 13:02:42 +0200 |
User-agent: |
Mutt/1.5.21 (2012-12-30) |
On Wed, Sep 11, 2013 at 09:47:08PM -0500, John Hendy wrote:
> On Wed, Sep 11, 2013 at 8:56 PM, Martin Leduc <address@hidden> 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.