[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [O] Latex Listings & Floats
From: |
Nick Dokos |
Subject: |
Re: [O] Latex Listings & Floats |
Date: |
Thu, 15 Mar 2012 15:56:35 -0400 |
Russell Adams <address@hidden> wrote:
> Folks,
>
> I've had to fight in the past to set placement on every graphic I
> include in a Latex document to insert *RIGHT HERE* instead of floating
> to the end of the section.
>
> I just encountered this issue on source listings (listing /
> lstlisting), and can't seem to get the placement to stick.
>
I don't understand: from the docs, it seems you *can* make listings float by
adding a [float,caption=foo] option to the lstlisting environment, but
they do not float by default. So why do yours float? A small org
example (plus the tex file) might help.
> Does anyone know how to force a global default to force all placements
> to *RIGHT HERE*?
>
> I am including the float package, because it adds the "H" option
> versus "h". Now I just need a way to set a global default.
>
>From a cursory read of the float doc, I don't think you can.
Nick