From mboxrd@z Thu Jan 1 00:00:00 1970 From: Rasmus Subject: Re: Exporting multiple images in a float (LaTeX) Date: Fri, 07 Aug 2015 00:31:37 +0200 Message-ID: <877fp8kq0m.fsf@gmx.us> References: <20150806164208.GB2797@chitra.no-ip.org> <87bnekkq81.fsf@gmx.us> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:36147) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZNTko-00045B-4w for emacs-orgmode@gnu.org; Thu, 06 Aug 2015 18:35:15 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ZNTkk-00084p-1G for emacs-orgmode@gnu.org; Thu, 06 Aug 2015 18:35:14 -0400 Received: from plane.gmane.org ([80.91.229.3]:32965) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZNTkj-00084f-R0 for emacs-orgmode@gnu.org; Thu, 06 Aug 2015 18:35:09 -0400 Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1ZNTke-0001q8-Pf for emacs-orgmode@gnu.org; Fri, 07 Aug 2015 00:35:04 +0200 Received: from tsn109-201-152-239.dyn.nltelcom.net ([109.201.152.239]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Fri, 07 Aug 2015 00:35:04 +0200 Received: from rasmus by tsn109-201-152-239.dyn.nltelcom.net with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Fri, 07 Aug 2015 00:35:04 +0200 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 Rasmus writes: > Hi, > > Suvayu Ali writes: > >> #+name: fig:myfig1 >> #+caption: This is a single figure, entered in the usual way. >> >> file:myfig1.pdf >> >> #+begin_latex >> \begin{figure}[htb] >> \centering >> \includegraphics[width=0.8\linewidth]{myfig2.pdf} >> \includegraphics[width=0.8\linewidth]{myfig3.pdf} >> \caption{\label{fig:myfig23} Two images in one floating environment.} >> \end{figure} >> #+end_latex > > > You should probably use subcaption for that. If so see maybe here: > > http://thread.gmane.org/gmane.emacs.orgmode/92820 > > For archiving the above you could just use a special block > > #+caption: foo > #+attr_latex: :options [htb] > > #+begin_figure > [[file:fig2.png]] > [[file:fig3.png]] > #+end_figure Also, note that :float nil now handles captions and that you should be able to give arbitrary citations commands. Thus, you should be able to recreate any old latex structure for images. Rasmus -- With monopolies the cake is a lie!