From mboxrd@z Thu Jan 1 00:00:00 1970 From: "Sebastien Vauban" Subject: Re: Latex Listings & Floats Date: Thu, 15 Mar 2012 21:33:32 +0100 Message-ID: <80aa3heh9f.fsf@somewhere.org> References: <20120315174519.GS31713@x201> Mime-Version: 1.0 Content-Type: text/plain Return-path: 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-mXXj517/zsQ@public.gmane.org Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org-mXXj517/zsQ@public.gmane.org To: emacs-orgmode-mXXj517/zsQ@public.gmane.org Hi Russell, Russell Adams wrote: > 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 never experienced it -- while I don't have (let's say, I don't find) any particular custom which I'd have done!? Would you have an ECM? > Does anyone know how to force a global default to force all placements > to *RIGHT HERE*? If really, really, really "right here": same as the one you propose -- there is no other better. > 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. #+BIND: org-latex-default-figure-position "H" for a value local to a file. setq for a global value for all files... Best regards, Seb -- Sebastien Vauban