emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Rasmus <rasmus@gmx.us>
To: emacs-orgmode@gnu.org
Subject: Re: Captions below figures in LaTeX export
Date: Tue, 21 Oct 2014 13:33:56 +0200	[thread overview]
Message-ID: <87bnp5d5cr.fsf@gmx.us> (raw)
In-Reply-To: 20141020194406.GA2381@chitra.no-ip.org

Hi,

Suvayu Ali <fatkasuvayu+linux@gmail.com> writes:

> I would like to put the caption command after includegraphics.  Is that
> possible?  I tried reordering the #+caption: line without success.

If you are using a very recent version of Org, you could check
`org-latex-caption-above'.  Example:

(let ((org-latex-caption-above nil))
  (with-temp-buffer
    (insert "#+name: fig:ads-glw-plot
     #+caption: \\BtoDh events measured using the GLW, and ADS methods.
     #+attr_latex: :width 0.9\\linewidth :placement [!ht]
     [[file:ali/ADS_GLW_Fig2_Fig4.pdf]]")
    (org-mode) (org-latex-export-as-latex nil nil nil t)))

Hope it helps,
Rasmus

-- 
Er du tosset for noge' lårt!

      parent reply	other threads:[~2014-10-21 11:34 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-10-20 19:44 Captions below figures in LaTeX export Suvayu Ali
     [not found] ` <CA+M2ft_aDFzMV8Hn+TSfHKtjK9+s6wM3eaFGkfcXmTQWcu01UA@mail.gmail.com>
2014-10-20 21:13   ` Suvayu Ali
2014-10-21 11:33 ` Rasmus [this message]

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=87bnp5d5cr.fsf@gmx.us \
    --to=rasmus@gmx.us \
    --cc=emacs-orgmode@gnu.org \
    /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).