From mboxrd@z Thu Jan 1 00:00:00 1970 From: John Hendy Subject: Inserting multiple images side-by-side in way that's compatible with multiple exporters Date: Tue, 26 Mar 2013 10:57:29 -0500 Message-ID: Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Return-path: Received: from eggs.gnu.org ([208.118.235.92]:41033) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UKWFg-0005y8-JT for emacs-orgmode@gnu.org; Tue, 26 Mar 2013 11:57:34 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1UKWFf-0007eu-0X for emacs-orgmode@gnu.org; Tue, 26 Mar 2013 11:57:32 -0400 Received: from mail-la0-x232.google.com ([2a00:1450:4010:c03::232]:43815) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UKWFe-0007em-PI for emacs-orgmode@gnu.org; Tue, 26 Mar 2013 11:57:30 -0400 Received: by mail-la0-f50.google.com with SMTP id ec20so13607812lab.23 for ; Tue, 26 Mar 2013 08:57:29 -0700 (PDT) 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 Greetings, Writing some reports at the moment and sometimes want to condense plots (which might have earned a full width place in a presentation or focus document) down to smaller versions for these sort of bi-annual summary reports. I like to put them two-wide and, since I don't know another way, have been doing this: #+attr_latex: :align cc | <15> | <15> | | \includegraphics[width=0.5\textwidth]{./plot.png} | \includegraphics[width=0.5\textwidth]{./plot.png} | | /Title/ | /Title/ | | \vspace{0.25cm} | | | \includegraphics[width=0.5\textwidth]{./plot.png} | \includegraphics[width=0.5\textwidth]{./plot.png} | | /Title/ | /Title/ | This is fine when I'm the only report author (and typically am exporting to LaTeX), but this one requires me to export my share to ODT -> Word and then provide to the project lead so he can compile the full report. Is there a way I could do the above in a more "universally Org" way so that multiple export formats would work? Org-tables seems like a decent option since it would be compatible with many exporters, but I don't know how to pass it the =#+attr_backend :width = options I would if they were just inserted separately. A LaTeX specific post on the mailing list suggested this, which mostly gives me what I want:[1] #+attr_latex: :align p{0.3\textwidth}p{0.3\textwidth} | [[./plot.png]] | [[./plot.png]] | | /Title/ | /Title/ | The caption text is no longer centered, and I don't believe there's a c{} analog to p{}. I could live with that if I gained the multi-backend compatibility I'm looking for. This works for LaTeX, but I'm not sure how to either: 1) to set a ~col width="Xpx"~ for html export or some sort of width for ODT images contained in columns (the table itself looks like it gets a 50/50 split width, but the images aren't scaled to fit) 2) Insert some of these #+attr_backend options into the table somehow, or universally apply them to all images in the table Thanks for suggestions! John [1] http://osdir.com/ml/emacs-orgmode-gnu/2012-03/msg00108.html