emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Ista Zahn <izahn@psych.rochester.edu>
To: John Hendy <jw.hendy@gmail.com>
Cc: emacs-orgmode <emacs-orgmode@gnu.org>,
	Stefan Nobis <stefan-ml@snobis.de>
Subject: Re: Latex image placement (...again. H vs. h!)
Date: Sun, 21 Aug 2011 10:20:12 -0400	[thread overview]
Message-ID: <CA+vqiLG3mbf__dKd_T+iw5SwBx_YLmRCPGk1HyTTo_=q0h7p8g@mail.gmail.com> (raw)
In-Reply-To: <CA+M2ft9+PGEpj9zgdst1pEYD1x6JODNENj73MDQibFnYEcRDvA@mail.gmail.com>

On Sun, Aug 21, 2011 at 10:00 AM, John Hendy <jw.hendy@gmail.com> wrote:
> On Sun, Aug 21, 2011 at 1:28 AM, Stefan Nobis <stefan-ml@snobis.de> wrote:
>> John Hendy <jw.hendy@gmail.com> 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

      reply	other threads:[~2011-08-21 14:20 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-08-20 17:32 Latex image placement (...again. H vs. h!) John Hendy
2011-08-20 17:57 ` Thomas S. Dye
2011-08-21 14:00   ` John Hendy
2011-08-21  6:28 ` Stefan Nobis
2011-08-21 14:00   ` John Hendy
2011-08-21 14:20     ` Ista Zahn [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.orgmode.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='CA+vqiLG3mbf__dKd_T+iw5SwBx_YLmRCPGk1HyTTo_=q0h7p8g@mail.gmail.com' \
    --to=izahn@psych.rochester.edu \
    --cc=emacs-orgmode@gnu.org \
    --cc=jw.hendy@gmail.com \
    --cc=stefan-ml@snobis.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).