[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [AUCTeX] Re: A little suggestion about AucteX
From: |
David Kastrup |
Subject: |
Re: [AUCTeX] Re: A little suggestion about AucteX |
Date: |
Mon, 27 Jun 2005 22:10:44 +0200 |
User-agent: |
Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (gnu/linux) |
Christian Schlauer <address@hidden> writes:
> David Kastrup <address@hidden> writes:
>
>> Ralf Angeli <address@hidden> writes:
>>
>>> * David Kastrup (2005-06-26) writes:
>>>
>>>> "MATHIEU RIBATET" <address@hidden> 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