emacs-orgmode
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Orgmode] Latex export bug? Odd behavior with figures...


From: Thomas S. Dye
Subject: Re: [Orgmode] Latex export bug? Odd behavior with figures...
Date: Tue, 25 May 2010 21:11:43 -1000

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 <address@hidden> 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.
address@hidden
http://lists.gnu.org/mailman/listinfo/emacs-orgmode




reply via email to

[Prev in Thread] Current Thread [Next in Thread]