From mboxrd@z Thu Jan 1 00:00:00 1970 From: "Thomas S. Dye" Subject: Re: Latex export bug? Odd behavior with figures... Date: Tue, 25 May 2010 21:11:43 -1000 Message-ID: <1443387B-A24A-4D48-8AD1-ACF11A3C014E@tsdye.com> References: <15804.1274847820@gamaville.dokosmarshall.org> Mime-Version: 1.0 (Apple Message framework v936) Content-Type: text/plain; charset=US-ASCII; format=flowed; delsp=yes Content-Transfer-Encoding: 7bit Return-path: Received: from [140.186.70.92] (port=59668 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1OHAmO-0003eW-T4 for emacs-orgmode@gnu.org; Wed, 26 May 2010 03:11:54 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1OHAmN-0006dZ-HT for emacs-orgmode@gnu.org; Wed, 26 May 2010 03:11:52 -0400 Received: from oproxy1-pub.bluehost.com ([66.147.249.253]:58855 helo=outbound-mail-359.bluehost.com) by eggs.gnu.org with smtp (Exim 4.69) (envelope-from ) id 1OHAmN-0006cu-Ae for emacs-orgmode@gnu.org; Wed, 26 May 2010 03:11:51 -0400 In-Reply-To: <15804.1274847820@gamaville.dokosmarshall.org> List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: nicholas.dokos@hp.com Cc: emacs-orgmode Hi John, Roughly speaking, the larger the floating figure the farther it will float in LaTeX. If there is a large floating figure at the beginning of a group of figures, then the later ones will dam up behind it and get pushed to the back of the document. Often, changing figure size by a small amount works wonders. I often try 90% first time around, then adjust for appearance and float placement. This is one of the last things one does before a final printing (adjusting figure sizes can help eliminate widows and orphans), so you might want to work directly on the generated .tex file, rather than try to get it right at the org-mode stage. HTH, Tom On May 25, 2010, at 6:23 PM, Nick Dokos wrote: > John Hendy wrote: > >> >> I've inspected the generated .tex file and this shows up where >> expected in >> both picture instances: >> >> \begin{figure}[htb] >> \centering >> \includegraphics[width=12cm]{/home/jwhendy/Desktop/file[1/2].pdf} >> \caption{text here} >> \end{figure} >> > > Figures (and tables) are floating environments: latex will place them > at or after the place where they are mentioned in the latex file, at > the first place where it finds space, consistent with the spec ([htb] > above). > > You can try this: > > #+ATTR_LaTeX: width=12cm placement=[H] > > The spacing will probably be awful. > > Another way to force the order is to forego the CAPTION: that will > translate the images into \includegraphics without the figure > environment. The spacing might be awful but the order will be > preserved. > > There was a discussion about such matters some time ago on the mailing > list (in particular, how CAPTIONS affect output), but I don't remember > the resolution and I'm too tired to go look. Seek and ye shall find. > > You can also look in the TeX FAQ, > e.g. http://www.tex.ac.uk/cgi-bin/texfaq2html?label=figurehere, for > more. > > HTH, > Nick > > > > _______________________________________________ > Emacs-orgmode mailing list > Please use `Reply All' to send replies to the list. > Emacs-orgmode@gnu.org > http://lists.gnu.org/mailman/listinfo/emacs-orgmode