From: Nick Dokos <nicholas.dokos@hp.com>
To: John Hendy <jw.hendy@gmail.com>
Cc: nicholas.dokos@hp.com, emacs-orgmode <emacs-orgmode@gnu.org>
Subject: Re: Latex export bug? Odd behavior with figures...
Date: Wed, 26 May 2010 00:23:40 -0400 [thread overview]
Message-ID: <15804.1274847820@gamaville.dokosmarshall.org> (raw)
In-Reply-To: Message from John Hendy <jw.hendy@gmail.com> of "Tue, 25 May 2010 17:26:35 CDT." <AANLkTilTEJo9D5RFP0-iJunPe87PHWggztvVoHbS_7sI@mail.gmail.com>
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
next prev parent reply other threads:[~2010-05-26 4:23 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 [this message]
2010-05-26 7:11 ` Thomas S. Dye
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=15804.1274847820@gamaville.dokosmarshall.org \
--to=nicholas.dokos@hp.com \
--cc=emacs-orgmode@gnu.org \
--cc=jw.hendy@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).