On the last page of my document, I need to add Next Review Date: blah blah. If I add the text at the bottom of the document, there is a possibility that the text might appear on a new page on its own. Ideally, I need something like \fancyfoot[L]{Next Review Date: blah blah}, which only appears on the last page. I wonder how this can be done.

  • Do you want all the page style plus this footer? Or only this footer on the last page? – Sigur Jan 19 '13 at 16:02
  • I have already used \fancyfoot[R]{\thepage} on all pages. I have not used \fancyfoot[L] in my document. I would like \fancyfoot[L] to appear on the last page only. – Reza Jan 19 '13 at 16:08

Lets define a new page style to be loaded only on the last page.

\def\myrev{Next Review Date:}

here is the last page

Only the page with the command \thispagestyle{lastpage} will have the same footer, independently if it is even or odd.

  • This overwrites \fancyfoot[R]{\thepage} – Reza Jan 19 '13 at 16:14
  • @Reza, I've just edited. Please, check. – Sigur Jan 19 '13 at 16:15
  • 1
    @Reza, since you want on the last page only your remark and the page number, you should define the headers empty for this page style using \let\@oddhead\@empty\let\@evenhead\@empty, otherwise some other page style could duplicate the page number. I'll edit. – Sigur Jan 19 '13 at 16:24

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.