From mboxrd@z Thu Jan 1 00:00:00 1970 From: Ista Zahn Subject: Re: Latex image placement (...again. H vs. h!) Date: Sun, 21 Aug 2011 10:20:12 -0400 Message-ID: References: Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Return-path: Received: from eggs.gnu.org ([140.186.70.92]:55047) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Qv8t9-0007nt-Kg for emacs-orgmode@gnu.org; Sun, 21 Aug 2011 10:20:36 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Qv8t8-00056B-7o for emacs-orgmode@gnu.org; Sun, 21 Aug 2011 10:20:35 -0400 Received: from mail-wy0-f169.google.com ([74.125.82.169]:50107) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Qv8t8-000560-0T for emacs-orgmode@gnu.org; Sun, 21 Aug 2011 10:20:34 -0400 Received: by wyi11 with SMTP id 11so3486768wyi.0 for ; Sun, 21 Aug 2011 07:20:32 -0700 (PDT) In-Reply-To: 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: John Hendy Cc: emacs-orgmode , Stefan Nobis On Sun, Aug 21, 2011 at 10:00 AM, John Hendy wrote: > On Sun, Aug 21, 2011 at 1:28 AM, Stefan Nobis wrote: >> John Hendy writes: >> >>> 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). >> >> Another way to tackle this problem may be to just not use floats. As >> the name suggests, these construct is meant to let things float. :) >> >> If you want a figure or table to be placed at exactly the point where >> you place it, why are you using a float environment? Most people >> answer at this point, because they want the captions and all examples >> with captions use the float environment. Thats because with captions >> and in the general case it makes sense to let LaTeX find the right >> place for these things. > > Huh. I didn't realize the captions triggered something than just using > [[./path/to/image]] with attr_latex options passed. I just duplicated > the same section and removed all captions as well as placement=[H] > options and they exported right where I would have wanted them. That's > interesting -- learned something new! > >> >> If you want exact, controlled placements and also a caption, have a >> look at the package 'caption' (version 3.1, author Axel >> Sommerfeldt). Then you can get rid of floats and don't have to bother >> with obscure placement rules. :) > > I'll definitely take a look at that. I may also just use descriptive > intros prior to each picture, as that would do the same as a caption, > I suppose. It's just weird to me that sometimes the floats don't drop > until a later section, in which case I think that's definitely *too* > late. Sure, if they dump at the end of Section 1.1, fine -- that's > where they are discussed. But now they're showing up in 1.2? The placeins package offers a solution to this problem. Best, Ista > > > Thanks, > John > >> >> -- >> Until the next mail..., >> Stefan. >> > > -- Ista Zahn Graduate student University of Rochester Department of Clinical and Social Psychology http://yourpsyche.org