From mboxrd@z Thu Jan 1 00:00:00 1970 From: Suvayu Ali Subject: Re: Exporting multiple images in a float (LaTeX) Date: Fri, 7 Aug 2015 19:00:20 +0200 Message-ID: <20150807170020.GJ28462@chitra.no-ip.org> References: <20150806164208.GB2797@chitra.no-ip.org> <87bnekkq81.fsf@gmx.us> <877fp8kq0m.fsf@gmx.us> <20150807042442.GD28462@chitra.no-ip.org> <87r3nfgrc5.fsf@ucl.ac.uk> <20150807141400.GH28462@chitra.no-ip.org> <874mkbnpmz.fsf@gmx.us> Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:36140) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZNl0O-0002XS-6D for emacs-orgmode@gnu.org; Fri, 07 Aug 2015 13:00:32 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ZNl0K-00046S-Bu for emacs-orgmode@gnu.org; Fri, 07 Aug 2015 13:00:28 -0400 Received: from mail-wi0-x22a.google.com ([2a00:1450:400c:c05::22a]:37734) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZNl0K-00045F-4v for emacs-orgmode@gnu.org; Fri, 07 Aug 2015 13:00:24 -0400 Received: by wibhh20 with SMTP id hh20so73612489wib.0 for ; Fri, 07 Aug 2015 10:00:23 -0700 (PDT) Received: from chitra.no-ip.org ([2001:610:120:3001:2ad2:44ff:fe4a:b029]) by smtp.gmail.com with ESMTPSA id ea2sm9358624wib.2.2015.08.07.10.00.21 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 07 Aug 2015 10:00:22 -0700 (PDT) Content-Disposition: inline In-Reply-To: <874mkbnpmz.fsf@gmx.us> 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 Fri, Aug 07, 2015 at 04:23:48PM +0200, Rasmus wrote: > Suvayu Ali writes: > > On Fri, Aug 07, 2015 at 02:28:58PM +0100, Eric S Fraga wrote: > >> On Friday, 7 Aug 2015 at 06:24, Suvayu Ali wrote: > >> > >> > This is very nice, thank you! I think this will do it for me. I have a > >> > small question, is there a better way to add a % after the first image > >> > in the above case other than adding a snippet? > >> > > >> > #+begin_figure > >> > #+attr_latex: :width 0.45\linewidth > >> > [[file:myfig2.pdf]]@@l:%@@ > >> > [[file:myfig3.pdf]] > >> > #+end_figure > >> > >> If you want the % simply to have LaTeX ignore the line end, you could > >> put the figures on the same line, such as > >> > >> #+begin_figure > >> #+attr_latex: :width 0.45\linewidth > >> [[file:myfig2.pdf]][[file:myfig3.pdf]] > >> #+end_figure > > > > Cool, that works :). Thanks a lot Eric. > > I guess there would also be no loss from actually inserting a "%" after > \includegraphics[·]{·} in ox-latex. I would agree with that :). -- Suvayu Open source is the future. It sets us free.