emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: tsd@tsdye.com (Thomas S. Dye)
To: Sunny Srivastava <research.baba@gmail.com>
Cc: emacs-orgmode mailing list <emacs-orgmode@gnu.org>
Subject: Re: [LaTeX Export] Question: How to import a really long caption in #+CAPTION:
Date: Wed, 01 Jun 2011 21:00:20 -1000	[thread overview]
Message-ID: <m1vcwoafaz.fsf@tsdye.com> (raw)
In-Reply-To: <BANLkTi=jZ2K-CnuvQMwD81Ndf98HVqDErw@mail.gmail.com> (Sunny Srivastava's message of "Wed, 1 Jun 2011 22:31:14 -0400")

Sunny Srivastava <research.baba@gmail.com> writes:

> Dear org-mode users:
>
> I want to export a really long caption in org to latex export.
>
> For example:
>
> #+CAPTION: A_really_long_caption_that_really_needs_a_line_break
> #+LABEL:      fig:sims
>
> Presently, I can do it by just having the really long line in front of
> #+caption; if I have a line break, it is not exported as a caption. From
> worg, I know I can use:
>
> #+LaTeX: \caption{ .... }
>
> But I was wondering if there is a org-mode way of doing this.
>
> Thanks in advance for your help.
>
> Best Regards,
> S.
> Dear org-mode users:I want to export a really long caption in org to latex export.For example:#+CAPTION: A_really_long_caption_that_really_needs_a_line_break#+LABEL:      fig:simsPresently, I can do it by just having the really long line in front of #+caption; if I have a line break, it is not exported as a caption. From worg, I know I can use:
> #+LaTeX: \caption{ .... }But I was wondering if there is a org-mode way of doing this.Thanks in advance for your help.Best Regards,S.

Aloha Sunny,

I can't tell from your post what problem you've run into.  I can export
long captions without problems, e.g.:

#+CAPTION: [Polynesian colonization of Hawai`i]{Posterior probability
 for Polynesian colonization of Hawai`i: \textit{left}, estimate based
 on inequality (\ref{eq:no-rat}), with a 95\% highest posterior density
 region of AD 810--1289; \textit{right}, estimate based on inequality (\ref{eq:rat}), with a 95\% highest posterior density region of AD 780--1119.}

This all resides in one line in the org-mode file.  Why does your
caption need a line break?

All the best,
Tom

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

  reply	other threads:[~2011-06-02  7:00 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-06-02  2:31 [LaTeX Export] Question: How to import a really long caption in #+CAPTION: Sunny Srivastava
2011-06-02  7:00 ` Thomas S. Dye [this message]
2011-06-03  6:41   ` Sunny Srivastava

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=m1vcwoafaz.fsf@tsdye.com \
    --to=tsd@tsdye.com \
    --cc=emacs-orgmode@gnu.org \
    --cc=research.baba@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).