Re: Wrong order of footnote numbers in tables with afterpage

2021-05-26 Thread _johnny7_ger




Hello,

I have several multi-page tables in my document. With the package
afterpage it is convenient to force them to always begin on a new page
which works well. I also want to use footnotes in those tables - I am
aware that this is fragile - but this also works as expected. There is
one little flaw, however, the footnote numbering does not correspond
anymore to their actual order.

In LyX I have:
Footnote 1
(afterpage:) Table with Footnote 2
Footnote 3

In the output I have:
Footnote 1
Table with Footnote 3
Footnote 2

That is probably because Footnote 3 is in a paragraph that begins before
the table. Is there any way to correct this numbering, even if manually
for each case?

You'd have to manually reset the footnote numbers. You can do this with:

\setcounter{footnote}{3}

or whatever. You'll need to restore it to whatever's right also after
the last one.

Riki



Thanks, this works like a charm! I have to use this command three times.
--
lyx-users mailing list
lyx-users@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-users


Re: Wrong order of footnote numbers in tables with afterpage

2021-05-25 Thread Richard Kimberly Heck
On 5/25/21 6:46 AM, _johnny7_...@web.de wrote:
> Hello,
>
> I have several multi-page tables in my document. With the package
> afterpage it is convenient to force them to always begin on a new page
> which works well. I also want to use footnotes in those tables - I am
> aware that this is fragile - but this also works as expected. There is
> one little flaw, however, the footnote numbering does not correspond
> anymore to their actual order.
>
> In LyX I have:
> Footnote 1
> (afterpage:) Table with Footnote 2
> Footnote 3
>
> In the output I have:
> Footnote 1
> Table with Footnote 3
> Footnote 2
>
> That is probably because Footnote 3 is in a paragraph that begins before
> the table. Is there any way to correct this numbering, even if manually
> for each case?

You'd have to manually reset the footnote numbers. You can do this with:

\setcounter{footnote}{3}

or whatever. You'll need to restore it to whatever's right also after
the last one.

Riki


-- 
lyx-users mailing list
lyx-users@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-users