The above approach will use the normal foot instead of the firstfoot if the longtable will only take a single page and lastfoot wasn't used. The following is almost identical to the above code, but it will use the Ò€¦ Here is a reduced example of my code.