I'm using the exam documentclass, and currently have

\runningfooter{foo}{Page \thepage\ }{\iflastpage{End of Paper}{bar}}

to instruct students when the exam has ended.

Our university now requires that we print instructions on the back cover of the exam. I want to add these without interfering with the existing footers. Thus, I think I'm looking for something like coverpages, but at the end of the document.

(It would be nice to ensure that the back cover is an even page number, but I'm happy to hardcode that.)

  • \clearleftpage will ensure that the following text is placed on an even page for two-sided documents or on the next page if one-sided (based on https://tex.stackexchange.com/a/11709/36296)

  • With \AtEndDocument the text is automatically placed at the end without interfering with your footline.




\runningfooter{foo}{Page \thepage\ }{\iflastpage{End of Paper}{bar}}

\AtEndDocument{\clearleftpage bla}




enter image description here

  • Thank you @samcarter. Do you know how I can replace the headers and footers in the \AtEndDocument? – Colin Rowat Feb 21 '18 at 8:49
  • @ColinRowat You can include setting another page style within the \clearleftpage command – samcarter_is_at_topanswers.xyz Feb 21 '18 at 9:24
  • @ColinRowat You're welcome! – samcarter_is_at_topanswers.xyz Feb 21 '18 at 11:06

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.