[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [AUCTeX-devel] Changing caption insertion within longtable

From: Mosè Giordano
Subject: Re: [AUCTeX-devel] Changing caption insertion within longtable
Date: Wed, 23 Nov 2016 22:11:15 +0100

2016-11-23 16:45 GMT+01:00 Arash Esbati <address@hidden>:
> Hi Mosè,
> Mosè Giordano <address@hidden> writes:
>> 2016-11-23 15:45 GMT+01:00 Arash Esbati <address@hidden>:
>>> Note the `\\ <newline> \label'.  The code works, of course, but it looks
>>> odd to me.  Is there any objection if I apply the patch attached?
>> Yes.  As far as I know, the label must appear after the caption macro,
> Thanks for your response.  Regarding this part, we are on the safe side.
>> not even inside it, see and
> Are you referring to the issue when `\usepackage{showlabels}' is given?
> For me, this is not a showstopper.  Have a look further below for this
> answer and the comments.
> Even longtable manual says:
>     8 Verbatim highlights from Table 1
>     address@hidden||address@hidden
>       KILLED & LINE!!!! \kill
>       \caption[An optional table caption ...]{A long table\label{long}}\\

I was referring also to this answer by Martin Scharrer, but
David Carlisle must have good reasons to suggest that in the manual.

I have only one comment about the patch: use

    (insert TeX-esc "caption")

instead of

    (insert "\\caption")


reply via email to

[Prev in Thread] Current Thread [Next in Thread]