A few of the appendices in my document contain code covering a lot of pages, but those pages have nothing else than code (and page numbers). How can I put a header showing what's the current appendix, starting from the second page of each appendix? The image below shows the undesired results.
