Christian Schlauer <[EMAIL PROTECTED]> writes:

> David Kastrup <[EMAIL PROTECTED]> writes:
>
>> Ralf Angeli <[EMAIL PROTECTED]> writes:
>>
>>> * David Kastrup (2005-06-26) writes:
>>>
>>>> "MATHIEU RIBATET" <[EMAIL PROTECTED]> writes:
>>>>
>>>>> By convention, caption should be above the table - and below
>>>>> for figures. Yet, this is not the case when using C-c C-e table !!!
>>>>> I know this is not really important as we just have to put the
>>>>> caption line at the right place ; but I'm sure this is not too
>>>>> difficult to do it right in AucteX.
>>>>
>>>> Sounds more or less like standard practice, yes.  Ideas, anybody?
>>>
>>> The standard classes produce incorrect spacing with top captions.
>>> These could only be activated if e.g. the caption package is loaded or
>>> the `tablecaptionabove' option of a KOMA-Script class is set.
>>>
>>>> How complicated would it be to implement captions at top/below?
>>>
>>> M-x customize-variable RET LaTeX-top-caption-list RET
>>
>> Uh, ok.  Can we modify this automatically (buffer-locally, I guess)
>> according to the above cases?  Would probably need to be done in
>> style/caption.el (currently I only see captcont.el), and in
>> scrbase.el?
>
> IMHO, modifying it buffer-locally is not the right way. Either the
> author wants table captions above tables, or not. So the author
> wants it in /one/ way, and not in different ways, depending on the
> document class or if caption.sty is loaded or not.

He can customize the default, but if the parsing clearly indicates one
usage in a particular document, setting variables appropriately in a
buffer-local way seems to be the right thing.

That's what we do with quote marks, for example.

-- 
David Kastrup, Kriemhildstr. 15, 44793 Bochum


_______________________________________________
auctex mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/auctex

Reply via email to