emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: John Hendy <jw.hendy@gmail.com>
To: Stefan Nobis <stefan-ml@snobis.de>
Cc: emacs-orgmode <emacs-orgmode@gnu.org>
Subject: Re: Latex image placement (...again. H vs. h!)
Date: Sun, 21 Aug 2011 09:00:02 -0500	[thread overview]
Message-ID: <CA+M2ft9+PGEpj9zgdst1pEYD1x6JODNENj73MDQibFnYEcRDvA@mail.gmail.com> (raw)
In-Reply-To: <m162lr9t3e.fsf@nobis-it.eu>

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?


Thanks,
John

>
> --
> Until the next mail...,
> Stefan.
>

  reply	other threads:[~2011-08-21 14:00 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 [this message]
2011-08-21 14:20     ` Ista Zahn

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+M2ft9+PGEpj9zgdst1pEYD1x6JODNENj73MDQibFnYEcRDvA@mail.gmail.com \
    --to=jw.hendy@gmail.com \
    --cc=emacs-orgmode@gnu.org \
    --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).