Bug in longtable: \endlastfoot has no effect inside mdframed environment
news3 at nililand.de
Thu Jun 4 17:13:05 CEST 2020
Am Wed, 3 Jun 2020 08:31:48 +0200 schrieb Adrian Vollmer:
> Hello everyone,
> I originally noticed this bug in the package `ltablex`. However, it
> appears that it traces back to `longtable`. Herbert Voß advised me to
> post this here . Hopefully, someone here can point me in the right
> direction on how to fix or find a workaround for this bug.
> Consider this MWE:
> one & two \\
> One would expect the word "foot" to appear at the bottom of the table,
> but it doesn't. It works as expected if you remove the `mdframed`
> Any ideas?
It doesn't make any sense to use longtable inside such a box. It
can't break there anyway, and the \endlastfoot doesn't make sense
either as you will never have a "not-endlastfoot" part.
So either don't use mdframed or don't use longtable but tabular
More information about the texhax