emacs-orgmode
[Top][All Lists]
Advanced

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

Re: [O] Float placement in org-latex


From: Thomas S. Dye
Subject: Re: [O] Float placement in org-latex
Date: Sat, 15 Nov 2014 07:26:48 -1000

Aloha Pete,

Pete Ley <address@hidden> writes:

> Just a quick question for someone new to and quickly becoming enamored
> with org-latex-export. 
>
> I'm encountering a problem with my floats. Namely, I have a section with
> not much text and several floats, it's probably about a page worth of
> actual text and 7-10 gnuplot-generated graph images. I have the gnuplot
> code inline in the text and the images are included from the #+RESULTS. 
>
> My problem is that LaTeX keeps pushing them farther down the page until
> some of them are at the end, after the appendices. Is there a way I can
> maybe shrink the images to make them fit or force it to render them
> inline even if it leaves some blank space on the page? I wouldn't mind
> making them all quite small and having text flow around them but I'd
> rather not have to put in these settings for each and every graph. Can I
> do this as a default setting for all of them?
>
> Is there a set of best practices for this kind of thing? Sorry if this
> is a beginner question, but I haven't had much luck searching.

I think the variable you might want is
org-export-latex-image-default-option, which you can set in your .emacs,
or on a per-file basis, see
http://lists.gnu.org/archive/html/emacs-orgmode/2010-02/msg00355.html.

The problem you're describing with floats collecting at the end of a
document is a fact of life in LaTeX, and is often caused by one
too-large image.  One way is to set a smaller size for the image, and another
is to ensure that [p] is one of the letters in the placement
attribute--this lets a float appear on its own page.

hth,
Tom

-- 
Thomas S. Dye
http://www.tsdye.com



reply via email to

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