From mboxrd@z Thu Jan 1 00:00:00 1970 From: John Hendy Subject: Latex image placement (...again. H vs. h!) Date: Sat, 20 Aug 2011 12:32:17 -0500 Message-ID: Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Return-path: Received: from eggs.gnu.org ([140.186.70.92]:35173) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QupPB-0004ai-18 for emacs-orgmode@gnu.org; Sat, 20 Aug 2011 13:32:22 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1QupPA-0004nW-24 for emacs-orgmode@gnu.org; Sat, 20 Aug 2011 13:32:21 -0400 Received: from mail-bw0-f41.google.com ([209.85.214.41]:40169) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QupP9-0004nL-Rd for emacs-orgmode@gnu.org; Sat, 20 Aug 2011 13:32:19 -0400 Received: by bkbzt4 with SMTP id zt4so3387985bkb.0 for ; Sat, 20 Aug 2011 10:32:18 -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 Was just rediscovering how to properly get floats to drop in where I want them in LaTeX export (right where I say vs. where LaTeX thinks is convenient). I knew I'd posted on this about a year ago and was trying to search for the thread. In the process, I came across this from the manual [1]: ,--- | To modify the placement option of the floating environment, | add something like =E2=80=98placement=3D[h!]=E2=80=99 to the attributes. `--- Now, I'm not sure what all the options are, but this didn't work for me. Only [H] properly dropped my floats in where I wanted them. Is there a reason for this? In looking in wikibooks, they seem to indicate that there are a few variants on the "here" option: [2] ,--- | h: Place the float here, i.e., approximately at the same point it occurs | in the source text (however, not exactly at the spot) | | !: Override internal parameters Latex uses for determining "good" float positions. | | H: Places the float at precisely the location in the LaTeX code. | Requires the float package,[1] e.g., \usepackage{float}. | This is somewhat equivalent to h!. `--- So, does my need for [H] mean that LaTeX just really, really, really wanted to space my images differently than I wanted? It does seem like h! *should* work based on the wikibooks description, but it didn't. Is [H] the only absolutely positive way to make sure floats are right where you want them based on the surrounding text? Thanks, John --- [1] http://orgmode.org/manual/Images-in-LaTeX-export.html [2] http://en.wikibooks.org/wiki/LaTeX/Floats,_Figures_and_Captions