From: "Thomas S. Dye" <tsd@tsdye.com>
To: nicholas.dokos@hp.com
Cc: emacs-orgmode <emacs-orgmode@gnu.org>
Subject: Re: Latex export bug? Odd behavior with figures...
Date: Tue, 25 May 2010 21:11:43 -1000 [thread overview]
Message-ID: <1443387B-A24A-4D48-8AD1-ACF11A3C014E@tsdye.com> (raw)
In-Reply-To: <15804.1274847820@gamaville.dokosmarshall.org>
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 <jw.hendy@gmail.com> 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
next prev parent reply other threads:[~2010-05-26 7:11 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-05-25 22:26 Latex export bug? Odd behavior with figures John Hendy
2010-05-26 3:37 ` Erik Iverson
2010-05-26 3:45 ` John Hendy
2010-05-26 4:23 ` Nick Dokos
2010-05-26 7:11 ` Thomas S. Dye [this message]
2010-05-26 14:00 ` Nick Dokos
2010-05-26 21:43 ` John Hendy
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=1443387B-A24A-4D48-8AD1-ACF11A3C014E@tsdye.com \
--to=tsd@tsdye.com \
--cc=emacs-orgmode@gnu.org \
--cc=nicholas.dokos@hp.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).