emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: tsd@tsdye.com (Thomas S. Dye)
To: Pete Ley <peteley11235@gmail.com>
Cc: emacs-orgmode@gnu.org
Subject: Re: Float placement in org-latex
Date: Sat, 15 Nov 2014 07:26:48 -1000	[thread overview]
Message-ID: <m2fvdkxtlz.fsf@tsdye.com> (raw)
In-Reply-To: <878ujcgzzq.fsf@enterprise.sectorq.net> (Pete Ley's message of "Sat, 15 Nov 2014 09:00:57 -0800")

Aloha Pete,

Pete Ley <peteley11235@gmail.com> 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	other threads:[~2014-11-15 17:28 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-11-15 17:00 Float placement in org-latex Pete Ley
2014-11-15 17:26 ` Thomas S. Dye [this message]
2014-11-18 14:28   ` Pete Ley
2014-11-15 17:33 ` Rasmus

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.orgmode.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=m2fvdkxtlz.fsf@tsdye.com \
    --to=tsd@tsdye.com \
    --cc=emacs-orgmode@gnu.org \
    --cc=peteley11235@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).