Sign up ×
TeX - LaTeX Stack Exchange is a question and answer site for users of TeX, LaTeX, ConTeXt, and related typesetting systems. It's 100% free, no registration required.

I would like to add text 'This page intentionally left blank' to blank page (with header) but I would like to this text appear in pdf but not in the printed document. Is it even possible? If so, how?

share|improve this question
You can add the text in a Optional Contents Group (OCG) layer with print state set to off. However, I don't think there is a package that can do this yet. You might be able to modify ocg.sty which is distributed with Asymptote. – Martin Heller May 28 '12 at 19:21

2 Answers 2

The pdfcomment package allows you to add PDF annotations to the document which are usually not printed, except if explicitly requested. Looking at the manual I come up with this example which adds a white page behind the title page to make sure the next content is starting at an odd page.


% Not sure if this is right, but by default comments should not be printed anyway
%    /printCommentPopups [/b false]

    {This page was left intensionally blank.}


share|improve this answer
One naive question - what shall be the fate of the text intermediate between \blindtext and \end{document}? Is that also not printed, or is the non-printing exclusively limited to whatever is put within the braces of the \pdffreetextcomment? – The Dark Side Sep 25 at 6:44
@TheDarkSide: The \blindtext just generates some example text and is not part of the solution but only there to have some text. In a real document there would be just your normal content. The empty page is generated by the \clearpage and \cleardoublepage commands not by \blindtext and only the text in the \pdffreetextcomment` is not printed. I guess the 'blind' in \blindtext caused the confusion on your part, right? – Martin Scharrer Sep 27 at 18:38

This sort of thing is normally accomplished by adding a switch at the top of the preamble (See How to make a switch for print vs. display versions of a document with respect to links/URLs).

Personally I don't like "this page intentionally left blank pages". For starters once the sentence is typeset the page is not blank anymore and it really underestimates the intelligence of readers.

So, I would rather have an epigraph or epigraphs, but modify the code to suit:

\def\blankpagetext@cx{\epigraph{We all agree that your theory is crazy. 
          But is it crazy enough?}{Niels Bohr}}


The switch is a simple \if@print.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

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