[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 16:00:35 +0100

Hi Arash,

2016-11-23 15:45 GMT+01:00 Arash Esbati <address@hidden>:
> Hi all,
> with the current code in longtable.el, the caption and label are
> inserted like this:
>     \documentclass{article}
>     \usepackage{longtable}
>     \begin{document}
>     With current code:
>     \begin{longtable}{ll}
>       \caption{A long table}\\
>       \label{tab:longtab}
>     \end{longtable}
>     \end{document}
> 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,
not even inside it, see and  I think it's fine putting
both before the "\\", but I don't know which would be the visual


reply via email to

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