auctex-devel
[Top][All Lists]

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

 From: Arash Esbati Subject: Re: [AUCTeX-devel] Changing caption insertion within longtable Date: Wed, 23 Nov 2016 16:45:22 +0100 User-agent: Gnus/5.13 (Gnus v5.13) Emacs/25.1

Hi Mosè,

> 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 http://tex.stackexchange.com/q/32325/31416 and
> http://tex.stackexchange.com/q/20816/31416.

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

Even longtable manual says:

8 Verbatim highlights from Table 1
KILLED & LINE!!!! \kill
\caption[An optional table caption ...]{A long table\label{long}}\\

> I think it's fine putting both before the "\\", but I don't know which
> would be the visual effect.

Actually, I wanted to avoid this version as well and stick to what is
recommended in the manual.

Best, Arash