Russell Adams <rlad...@adamsinfoserv.com> 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


Reply via email to