emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Aaron Ecay <aaronecay@gmail.com>
To: Nicolas Goaziou <mail@nicolasgoaziou.fr>,
	James Harkins <jamshark70@qq.com>
Cc: orgmode <emacs-orgmode@gnu.org>
Subject: Re: [ox-latex] How to force ALL captions below their referents?
Date: Sun, 12 Oct 2014 16:36:25 +0100	[thread overview]
Message-ID: <87lholi9l2.fsf@gmail.com> (raw)
In-Reply-To: <87k34esyhn.fsf@nicolasgoaziou.fr>

Hi Nicolas,

2014ko urriak 5an, Nicolas Goaziou-ek idatzi zuen:
> 
> Hello,
> 
> James Harkins <jamshark70@qq.com> writes:
> 
>> Something like that would do it, I think. I hesitate about breaking
>> backward compatibility, but at the same time, I'm hard-pressed to
>> imagine why one would want captions to be differently placed in the
>> same document.
> 
> This wouldn't break compatibility. We would just mark
> `org-latex-table-caption-above' as an obsolete alias for
> `org-latex-caption-above'.
> 
>> I suppose, if somebody needs to move a caption to the top or bottom
>> overriding the default, it could be an attribute, hypothetically:
>> 
>> #+name: blah
>> #+caption: blah blah
>> #+attr_latex: :captionpos t
>> #+begin_figure
>> ...
>> #+end_figure
>> 
>> "t" would put it at the top, ":captionpos b" at the bottom and
>> ":captionpos nil" (or not specified) would use the default from the
>> configuration variable.
>> 
>> Reasonable?
> 
> I don't think we need to go that far at the moment. Implementing
> `org-latex-caption-above' is a reasonable start.
> 
> I add it to my ToDo list.

There’s at least some notion in the Latex community that captions atop
tables but below figures is sensible style:
<https://tex.stackexchange.com/questions/3243/why-should-a-table-caption-be-placed-above-the-table>.

In that light, does it make sense to instead implement this setting as an alist
with separate settings for tables, images, src blocks, etc.?  (Of
course, there could be separate variables
org-latex-{table,figure,src-block}-caption-above, but a single alist
seems simpler)

Thanks,

-- 
Aaron Ecay

  reply	other threads:[~2014-10-12 15:36 UTC|newest]

Thread overview: 16+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-10-02  7:23 [ox-latex] How to force ALL captions below their referents? James Harkins
2014-10-02 16:54 ` Nicolas Goaziou
2014-10-04  3:41   ` James Harkins
2014-10-05  8:37     ` Nicolas Goaziou
2014-10-12 15:36       ` Aaron Ecay [this message]
2014-10-13 15:58         ` Nicolas Goaziou
2014-10-17 20:08           ` Nicolas Goaziou
2014-10-21 10:56             ` Eric S Fraga
2014-10-21 16:47               ` Nicolas Goaziou
2014-10-22 14:03                 ` Eric S Fraga
2014-10-23 21:08                   ` Nicolas Goaziou
2014-10-24  7:59                     ` Eric S Fraga
2014-10-24  9:28                       ` Nicolas Goaziou
2014-10-24 12:46                         ` Rasmus
2014-10-24 19:51                         ` Eric S Fraga
2014-10-24 22:12                           ` Nicolas Goaziou

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=87lholi9l2.fsf@gmail.com \
    --to=aaronecay@gmail.com \
    --cc=emacs-orgmode@gnu.org \
    --cc=jamshark70@qq.com \
    --cc=mail@nicolasgoaziou.fr \
    /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).