TeX - LaTeX Stack Exchange is a question and answer site for users of TeX, LaTeX, ConTeXt, and related typesetting systems. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

In preparation for press printing, I would like to produce a version of a document for printing a glossy varnish layer, where all the text is "missing", but the images and other elements are at the same position.

\color{white} sounds like a good solution, but since the text is still there, I'm concerned that the printer might still print some thin stray artefacts at the letter edges, or make similar mistakes due to antialiasing or some obscure stage in font rendering.

Or perhaps this is a non-issue?

share|improve this question
color space might be an issue, unless done right. Laywo/men sometimes are shocked when they realize that »black« and »black« can be different things in rgb vs. cmyk. Doing it right shouldn't be too difficult, though. You may want to talk to the people in charge of the printing about this. – Nils L Mar 26 '13 at 9:10
Possible duplicate of “If a tree falls in a forest …” ;) – Qrrbrbirlbel Mar 26 '13 at 10:23

You can \phantom{} out the text. The beamer package for slides makes text (and other stuff) dissappear routinely with its overlays, perhaps there are implementation tricks to be shamelessly pilfered...

I share your concern, in that it should end up printing white (think e.g. printing on pink paper, obnoxious perfume added for extra effect ;-)

share|improve this answer
Unfortunately \phantom only works for one line of text, as it doesn't follow linebreaks (as with \mbox) – Nyiti Mar 27 '13 at 12:22
up vote 0 down vote accepted

It seems that implementing "disappearing" text on a general-purpose level would be rather complicated. (It would be interesting to understand how the beamer package does it)

So eventually I solved it with a conditional and a placeholder, just substituting the text with a (white) rule:




% #1 -- color of rectangle (optional, default white)
% #2 -- text or \includegraphics command
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.