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: Nick Dokos
Subject: Re: [Orgmode] Latex export bug? Odd behavior with figures...
Date: Wed, 26 May 2010 00:23:40 -0400

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





reply via email to

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