From mboxrd@z Thu Jan 1 00:00:00 1970 From: Eric S Fraga Subject: Re: org-latex and figures Date: Fri, 28 Jan 2011 15:56:50 +0000 Message-ID: <877hdpqawt.fsf@ucl.ac.uk> References: <29E1F9F4-5F76-45FE-9F02-2DB658597A07@tsdye.com> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Return-path: Received: from [140.186.70.92] (port=53679 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Piqh8-0000K5-7x for emacs-orgmode@gnu.org; Fri, 28 Jan 2011 10:57:07 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Piqh7-00022s-46 for emacs-orgmode@gnu.org; Fri, 28 Jan 2011 10:57:06 -0500 Received: from vscane-a2.ucl.ac.uk ([144.82.108.42]:64521) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Piqh6-00021T-W9 for emacs-orgmode@gnu.org; Fri, 28 Jan 2011 10:57:05 -0500 In-Reply-To: (Chris Malone's message of "Thu, 27 Jan 2011 15:35:00 -0500") List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: Chris Malone Cc: emacs-orgmode@gnu.org, Andrea Crotti Chris Malone writes: > Hi Andrea, > > I'm inclined to agree with Tom - there is no default that will work in all > instances. That being said, you can use an #ATTR_LATEX line to modify the > placement for each image - see here: > http://orgmode.org/org.html#Images-in-LaTeX-export > > Alternatively, (and this is very much a hack, which I can't guarantee will > work) you could make the org-mode default behaviour be [ptb] by replacing > the =3D(floatp "[htb]")=3D line with =3D(floatp "[ptb]")=3D in the > =3Dorg-export-latex-format-image=3D function definition in the file > org/lisp/org-latex.el ... you would have to do something similar to the > =3Dorg-export-latex-tables=3D function for tables. > > HTH, > Chris I'm not understanding something in this whole thread: all the example options seem to imply that 'h' and 'p' are somehow exclusive. I have always used [hbtp] (a sequence that essentially says: put the figure in place as soon as you can), sometimes with and sometimes without '!' before the h, and I have never had reason to complain about the placement of figures!=20=20 Well, for some journals/conferences, I've had to adapt this to [hp] if they insist on figures always at the top of a page... but I always have both h and p options. Just my two =C2=A2s... --=20 : Eric S Fraga (GnuPG: 0xC89193D8FFFCF67D) in Emacs 24.0.50.1 : using Org-mode version 7.4 (release_7.4.257.g5d90.dirty)